Lines Matching refs:sectors
1356 int bitmap_startwrite(struct bitmap *bitmap, sector_t offset, unsigned long sectors, int behind) in bitmap_startwrite() argument
1372 while (sectors) { in bitmap_startwrite()
1411 if (sectors > blocks) in bitmap_startwrite()
1412 sectors -= blocks; in bitmap_startwrite()
1414 sectors = 0; in bitmap_startwrite()
1420 void bitmap_endwrite(struct bitmap *bitmap, sector_t offset, unsigned long sectors, in bitmap_endwrite() argument
1433 while (sectors) { in bitmap_endwrite()
1465 if (sectors > blocks) in bitmap_endwrite()
1466 sectors -= blocks; in bitmap_endwrite()
1468 sectors = 0; in bitmap_endwrite()
2216 unsigned long sectors; in space_store() local
2219 rv = kstrtoul(buf, 10, §ors); in space_store()
2223 if (sectors == 0) in space_store()
2227 sectors < (mddev->bitmap->storage.bytes + 511) >> 9) in space_store()
2233 mddev->bitmap_info.space = sectors; in space_store()