Home
last modified time | relevance | path

Searched refs:bdev_zone_sectors (Results 1 – 12 of 12) sorted by relevance

/linux-6.6.21/drivers/md/
Ddm-zone.c331 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()
Ddm-zoned-target.c789 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()
Ddm-table.c257 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()
/linux-6.6.21/drivers/nvme/target/
Dzns.c52 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()
/linux-6.6.21/block/
Dblk-zoned.c110 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()
Dioctl.c522 return put_uint(argp, bdev_zone_sectors(bdev)); in blkdev_common_ioctl()
/linux-6.6.21/fs/btrfs/
Dzoned.h323 (bdev_zone_sectors(bdev) << SECTOR_SHIFT); in btrfs_check_device_zone_type()
Dzoned.c184 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()
/linux-6.6.21/fs/zonefs/
Dsuper.c1017 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()
/linux-6.6.21/include/linux/
Dblkdev.h1289 static inline sector_t bdev_zone_sectors(struct block_device *bdev) in bdev_zone_sectors() function
1301 return sector & (bdev_zone_sectors(bdev) - 1); in bdev_offset_from_zone_start()
/linux-6.6.21/fs/f2fs/
Dsegment.c1963 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()
Dsuper.c3916 zone_sectors = bdev_zone_sectors(bdev); in init_blkz_info()