Searched refs:nr_sectors (Results 1 – 7 of 7) sorted by relevance
/fs/btrfs/ |
D | scrub.c | 122 u16 nr_sectors; member 257 stripe->nr_sectors = BTRFS_STRIPE_LEN >> fs_info->sectorsize_bits; in init_scrub_stripe() 269 stripe->sectors = kcalloc(stripe->nr_sectors, in init_scrub_stripe() 700 ASSERT(sector_nr >= 0 && sector_nr < stripe->nr_sectors); in scrub_verify_one_sector() 720 if (unlikely(sector_nr + sectors_per_tree > stripe->nr_sectors)) { in scrub_verify_one_sector() 758 for_each_set_bit(sector_nr, &bitmap, stripe->nr_sectors) { in scrub_verify_one_stripe() 769 for (i = 0; i < stripe->nr_sectors; i++) { in calc_sector_number() 774 ASSERT(i < stripe->nr_sectors); in calc_sector_number() 793 ASSERT(sector_nr < stripe->nr_sectors); in scrub_repair_read_endio() 829 for_each_set_bit(i, &old_error_bitmap, stripe->nr_sectors) { in scrub_stripe_submit_repair_read() [all …]
|
D | raid56.c | 176 for (i = 0; i < rbio->nr_sectors; i++) { in cache_rbio_pages() 247 for (i = 0, offset = 0; i < rbio->nr_sectors; i++, offset += sectorsize) { in index_stripe_sectors() 882 ASSERT(index >= 0 && index < rbio->nr_sectors); in sector_in_rbio() 949 rbio->nr_sectors = num_sectors; in alloc_rbio() 1244 bitmap_clear(rbio->error_bitmap, 0, rbio->nr_sectors); in rmw_assemble_write_bios() 1250 for (total_sector_nr = 0; total_sector_nr < rbio->nr_sectors; in rmw_assemble_write_bios() 1285 for (total_sector_nr = 0; total_sector_nr < rbio->nr_sectors; in rmw_assemble_write_bios() 1376 for (i = 0; i < rbio->nr_sectors; i++) { in find_stripe_sector() 1416 for (i = 0; i < rbio->nr_sectors; i++) { in get_bio_sector_nr() 1426 ASSERT(i < rbio->nr_sectors); in get_bio_sector_nr() [all …]
|
D | zoned.c | 367 sector_t nr_sectors; in btrfs_get_dev_zone_info() local 424 nr_sectors = bdev_nr_sectors(bdev); in btrfs_get_dev_zone_info() 426 zone_info->nr_zones = nr_sectors >> ilog2(zone_sectors); in btrfs_get_dev_zone_info() 427 if (!IS_ALIGNED(nr_sectors, zone_sectors)) in btrfs_get_dev_zone_info() 484 while (sector < nr_sectors) { in btrfs_get_dev_zone_info() 883 sector_t nr_sectors; in btrfs_sb_log_location_bdev() local 897 nr_sectors = bdev_nr_sectors(bdev); in btrfs_sb_log_location_bdev() 898 nr_zones = nr_sectors >> zone_sectors_shift; in btrfs_sb_log_location_bdev() 1014 sector_t nr_sectors; in btrfs_reset_sb_log_zones() local 1021 nr_sectors = bdev_nr_sectors(bdev); in btrfs_reset_sb_log_zones() [all …]
|
D | raid56.h | 62 u16 nr_sectors; member
|
/fs/zonefs/ |
D | trace.h | 31 __field(sector_t, nr_sectors) 39 __entry->nr_sectors = z->z_size >> SECTOR_SHIFT; 44 __entry->nr_sectors
|
/fs/fat/ |
D | inode.c | 68 unsigned nr_sectors; member 75 .nr_sectors = 160 * KB_IN_SECTORS, 82 .nr_sectors = 180 * KB_IN_SECTORS, 89 .nr_sectors = 320 * KB_IN_SECTORS, 96 .nr_sectors = 360 * KB_IN_SECTORS, 1562 if (floppy_defaults[i].nr_sectors == bd_sects) { in fat_read_static_bpb() 1586 bpb->fat_sectors = fdefaults->nr_sectors; in fat_read_static_bpb()
|
/fs/f2fs/ |
D | super.c | 3875 sector_t nr_sectors = bdev_nr_sectors(bdev); in init_blkz_info() local 3901 FDEV(devi).nr_blkz = div_u64(SECTOR_TO_BLOCK(nr_sectors), in init_blkz_info() 3903 if (!bdev_is_zone_start(bdev, nr_sectors)) in init_blkz_info()
|