Searched refs:bdev_zone_sectors (Results 1 – 12 of 12) sorted by relevance
331 sector_t sector = zno * bdev_zone_sectors(md->disk->part0); in dm_update_zone_wp_offset()370 sector_t zsectors = bdev_zone_sectors(md->disk->part0); in dm_zone_map_bio_begin()440 bdev_zone_sectors(md->disk->part0)); in dm_zone_map_bio_end()605 (sector_t)bdev_zone_sectors(disk->part0) - 1; in dm_zone_endio()
789 zone_nr_sectors != bdev_zone_sectors(bdev)) { in dmz_fixup_devices()793 zone_nr_sectors = bdev_zone_sectors(bdev); in dmz_fixup_devices()805 zoned_dev->zone_nr_sectors = bdev_zone_sectors(bdev); in dmz_fixup_devices()
257 unsigned int zone_sectors = bdev_zone_sectors(bdev); in device_area_is_invalid()1629 return bdev_zone_sectors(dev->bdev) != *zone_sectors; in device_not_matches_zone_sectors()
52 if (get_capacity(bd_disk) & (bdev_zone_sectors(ns->bdev) - 1)) in nvmet_bdev_zns_enable()133 zsze = (bdev_zone_sectors(req->ns->bdev) << 9) >> in nvmet_execute_identify_ns_zns()438 sector += bdev_zone_sectors(bdev); in nvmet_bdev_zone_mgmt_emulate_all()483 sector_t zone_sectors = bdev_zone_sectors(bdev); in nvmet_bdev_zmgmt_send_work()563 if (sect & (bdev_zone_sectors(req->ns->bdev) - 1)) { in nvmet_bdev_execute_zone_append()
110 sector_t zone_sectors = bdev_zone_sectors(bdev); in bdev_nr_zones()185 sector_t zone_sectors = bdev_zone_sectors(bdev); in blkdev_zone_reset_all_emulated()254 sector_t zone_sectors = bdev_zone_sectors(bdev); in blkdev_zone_mgmt()
522 return put_uint(argp, bdev_zone_sectors(bdev)); in blkdev_common_ioctl()
323 (bdev_zone_sectors(bdev) << SECTOR_SHIFT); in btrfs_check_device_zone_type()
184 return (sector_t)zone_number << ilog2(bdev_zone_sectors(bdev)); in zone_start_sector()401 zone_sectors = bdev_zone_sectors(bdev); in btrfs_get_dev_zone_info()893 zone_sectors = bdev_zone_sectors(bdev); in btrfs_sb_log_location_bdev()1019 zone_sectors = bdev_zone_sectors(bdev); in btrfs_reset_sb_log_zones()
1017 if (z->z_size > bdev_zone_sectors(sb->s_bdev) << SECTOR_SHIFT && in zonefs_init_zgroup()1022 bdev_zone_sectors(sb->s_bdev) << SECTOR_SHIFT); in zonefs_init_zgroup()1290 sbi->s_zone_sectors_shift = ilog2(bdev_zone_sectors(sb->s_bdev)); in zonefs_fill_super()
1289 static inline sector_t bdev_zone_sectors(struct block_device *bdev) in bdev_zone_sectors() function1301 return sector & (bdev_zone_sectors(bdev) - 1); in bdev_offset_from_zone_start()
1963 div64_u64_rem(sector, bdev_zone_sectors(bdev), &remainder); in __f2fs_issue_discard_zone()1965 if (remainder || nr_sects != bdev_zone_sectors(bdev)) { in __f2fs_issue_discard_zone()
3916 zone_sectors = bdev_zone_sectors(bdev); in init_blkz_info()