Searched refs:bdev_zone_sectors (Results 1 – 13 of 13) sorted by relevance
52 if (get_capacity(bd_disk) & (bdev_zone_sectors(ns->bdev) - 1)) in nvmet_bdev_zns_enable()131 zsze = (bdev_zone_sectors(req->ns->bdev) << 9) >> in nvmet_execute_identify_cns_cs_ns()258 (sect >> ilog2(bdev_zone_sectors(req->ns->bdev))); in nvmet_req_nr_zones_from_slba()437 sector += bdev_zone_sectors(bdev); in nvmet_bdev_zone_mgmt_emulate_all()482 sector_t zone_sectors = bdev_zone_sectors(bdev); in nvmet_bdev_zmgmt_send_work()562 if (sect & (bdev_zone_sectors(req->ns->bdev) - 1)) { in nvmet_bdev_execute_zone_append()
332 sector_t sector = zno * bdev_zone_sectors(md->disk->part0); in dm_update_zone_wp_offset()371 sector_t zsectors = bdev_zone_sectors(md->disk->part0); in dm_zone_map_bio_begin()441 bdev_zone_sectors(md->disk->part0)); in dm_zone_map_bio_end()606 (sector_t)bdev_zone_sectors(disk->part0) - 1; in dm_zone_endio()
790 zone_nr_sectors != bdev_zone_sectors(bdev)) { in dmz_fixup_devices()794 zone_nr_sectors = bdev_zone_sectors(bdev); in dmz_fixup_devices()806 zoned_dev->zone_nr_sectors = bdev_zone_sectors(bdev); in dmz_fixup_devices()
251 unsigned int zone_sectors = bdev_zone_sectors(bdev); in device_area_is_invalid()1624 return bdev_zone_sectors(dev->bdev) != *zone_sectors; in device_not_matches_zone_sectors()
116 sector_t zone_sectors = bdev_zone_sectors(bdev); in bdev_nr_zones()191 sector_t zone_sectors = bdev_zone_sectors(bdev); in blkdev_zone_reset_all_emulated()260 sector_t zone_sectors = bdev_zone_sectors(bdev); in blkdev_zone_mgmt()
497 return put_uint(argp, bdev_zone_sectors(bdev)); in blkdev_common_ioctl()
561 if (bio->bi_iter.bi_sector & (bdev_zone_sectors(bio->bi_bdev) - 1) || in blk_check_zone_append()
508 if (zi->i_zone_size > bdev_zone_sectors(sb->s_bdev)) in __zonefs_io_error()1451 if (zi->i_zone_size > bdev_zone_sectors(sb->s_bdev) << SECTOR_SHIFT && in zonefs_init_file_inode()1456 bdev_zone_sectors(sb->s_bdev) << SECTOR_SHIFT); in zonefs_init_file_inode()1829 sbi->s_zone_sectors_shift = ilog2(bdev_zone_sectors(sb->s_bdev)); in zonefs_fill_super()
340 (bdev_zone_sectors(bdev) << SECTOR_SHIFT); in btrfs_check_device_zone_type()
178 return (sector_t)zone_number << ilog2(bdev_zone_sectors(bdev)); in zone_start_sector()392 zone_sectors = bdev_zone_sectors(bdev); in btrfs_get_dev_zone_info()883 zone_sectors = bdev_zone_sectors(bdev); in btrfs_sb_log_location_bdev()1009 zone_sectors = bdev_zone_sectors(bdev); in btrfs_reset_sb_log_zones()
1316 static inline sector_t bdev_zone_sectors(struct block_device *bdev) in bdev_zone_sectors() function
1750 if (sector & (bdev_zone_sectors(bdev) - 1) || in __f2fs_issue_discard_zone()1751 nr_sects != bdev_zone_sectors(bdev)) { in __f2fs_issue_discard_zone()
3715 zone_sectors = bdev_zone_sectors(bdev); in init_blkz_info()