Lines Matching refs:nsectors
138 int nsectors; member
2536 u32 nsectors; in __scrub_mark_bitmap() local
2540 bitmap_set(bitmap, 0, sparity->nsectors); in __scrub_mark_bitmap()
2547 nsectors = len >> sectorsize_bits; in __scrub_mark_bitmap()
2549 if (offset + nsectors <= sparity->nsectors) { in __scrub_mark_bitmap()
2550 bitmap_set(bitmap, offset, nsectors); in __scrub_mark_bitmap()
2554 bitmap_set(bitmap, offset, sparity->nsectors - offset); in __scrub_mark_bitmap()
2555 bitmap_set(bitmap, 0, nsectors - (sparity->nsectors - offset)); in __scrub_mark_bitmap()
2900 nbits = bitmap_weight(&sparity->ebitmap, sparity->nsectors); in scrub_free_parity()
2934 &sparity->dbitmap, sparity->nsectors); in scrub_parity_bio_endio()
2953 &sparity->ebitmap, sparity->nsectors)) in scrub_parity_check_and_repair()
2972 sparity->nsectors); in scrub_parity_check_and_repair()
2986 sparity->nsectors); in scrub_parity_check_and_repair()
3263 int nsectors; in scrub_raid56_parity() local
3276 nsectors = map->stripe_len >> fs_info->sectorsize_bits; in scrub_raid56_parity()
3277 ASSERT(nsectors <= BITS_PER_LONG); in scrub_raid56_parity()
3289 sparity->nsectors = nsectors; in scrub_raid56_parity()