Lines Matching refs:sectors
1357 int bitmap_startwrite(struct bitmap *bitmap, sector_t offset, unsigned long sectors, int behind) in bitmap_startwrite() argument
1373 while (sectors) { in bitmap_startwrite()
1412 if (sectors > blocks) in bitmap_startwrite()
1413 sectors -= blocks; in bitmap_startwrite()
1415 sectors = 0; in bitmap_startwrite()
1421 void bitmap_endwrite(struct bitmap *bitmap, sector_t offset, unsigned long sectors, in bitmap_endwrite() argument
1434 while (sectors) { in bitmap_endwrite()
1466 if (sectors > blocks) in bitmap_endwrite()
1467 sectors -= blocks; in bitmap_endwrite()
1469 sectors = 0; in bitmap_endwrite()
2221 unsigned long sectors; in space_store() local
2224 rv = kstrtoul(buf, 10, §ors); in space_store()
2228 if (sectors == 0) in space_store()
2232 sectors < (mddev->bitmap->storage.bytes + 511) >> 9) in space_store()
2238 mddev->bitmap_info.space = sectors; in space_store()