| /linux/fs/xfs/libxfs/ |
| H A D | xfs_zones.c | 20 struct blk_zone *zone, in xfs_validate_blk_zone_seq() 61 struct blk_zone *zone, in xfs_validate_blk_zone_conv() 78 struct blk_zone *zone, in xfs_validate_blk_zone()
|
| H A D | xfs_zones.h | 6 struct blk_zone; 40 bool xfs_validate_blk_zone(struct xfs_mount *mp, struct blk_zone *zone,
|
| /linux/include/uapi/linux/ |
| H A D | blkzoned.h | 129 struct blk_zone { struct 160 struct blk_zone zones[]; argument
|
| /linux/block/ |
| H A D | blk-zoned.c | 346 struct blk_zone __user *zones; 349 static int blkdev_copy_zone_to_user(struct blk_zone *zone, unsigned int idx, in blkdev_copy_zone_to_user() 354 if (copy_to_user(&args->zones[idx], zone, sizeof(struct blk_zone))) in blkdev_copy_zone_to_user() 490 static bool disk_zone_is_last(struct gendisk *disk, struct blk_zone *zone) in disk_zone_is_last() 801 static unsigned int blk_zone_wp_offset(struct blk_zone *zone) in blk_zone_wp_offset() 825 struct blk_zone *zone) in disk_zone_wplug_sync_wp_offset() 858 int disk_report_zone(struct gendisk *disk, struct blk_zone *zone, in disk_report_zone() 888 static int blkdev_report_zone_cb(struct blk_zone *zone, unsigned int idx, in blkdev_report_zone_cb() 891 memcpy(data, zone, sizeof(struct blk_zone)); in blkdev_report_zone_cb() 896 sector_t sector, struct blk_zone *zone) in blkdev_report_zone_fallback() [all …]
|
| /linux/fs/zonefs/ |
| H A D | super.c | 192 struct blk_zone *zone) in zonefs_check_zone_condition() 250 static int zonefs_io_error_cb(struct blk_zone *zone, unsigned int idx, in zonefs_io_error_cb() 253 struct blk_zone *z = data; in zonefs_io_error_cb() 259 static void zonefs_handle_io_error(struct inode *inode, struct blk_zone *zone, in zonefs_handle_io_error() 372 struct blk_zone zone; in __zonefs_io_error() 850 struct blk_zone *zones; 853 static int zonefs_get_zone_info_cb(struct blk_zone *zone, unsigned int idx, in zonefs_get_zone_info_cb() 896 memcpy(&zd->zones[idx], zone, sizeof(struct blk_zone)); in zonefs_get_zone_info_cb() 906 zd->zones = kvzalloc_objs(struct blk_zone, bdev_nr_zones(bdev)); in zonefs_get_zone_info() 941 struct blk_zone *zone, *next, *end; in zonefs_init_zgroup()
|
| H A D | zonefs.h | 35 static inline enum zonefs_ztype zonefs_zone_type(struct blk_zone *zone) in zonefs_zone_type()
|
| /linux/fs/btrfs/ |
| H A D | zoned.c | 73 static inline bool sb_zone_is_full(const struct blk_zone *zone) in sb_zone_is_full() 79 static int copy_zone_info_cb(struct blk_zone *zone, unsigned int idx, void *data) in copy_zone_info_cb() 81 struct blk_zone *zones = data; in copy_zone_info_cb() 88 static int sb_write_pointer(struct block_device *bdev, struct blk_zone *zones, in sb_write_pointer() 200 struct blk_zone *zones, unsigned int nr_zones) in emulate_report_zones() 225 struct blk_zone *zones, unsigned int *nr_zones) in btrfs_get_dev_zones() 254 struct blk_zone *zone_info; in btrfs_get_dev_zones() 366 struct blk_zone *zones = NULL; in btrfs_get_dev_zone_info() 459 zones = kvzalloc_objs(struct blk_zone, BTRFS_REPORT_NR_ZONES); in btrfs_get_dev_zone_info() 472 sizeof(struct blk_zone)); in btrfs_get_dev_zone_info() [all …]
|
| H A D | zoned.h | 49 struct blk_zone *zone_cache; 50 struct blk_zone sb_zones[2 * BTRFS_SUPER_MIRROR_MAX];
|
| /linux/drivers/md/ |
| H A D | dm-zone.c | 91 static int dm_report_zones_cb(struct blk_zone *zone, unsigned int idx, in dm_report_zones_cb() 246 static int dm_device_count_zones_cb(struct blk_zone *zone, in dm_device_count_zones_cb() 482 static int dm_zone_need_reset_cb(struct blk_zone *zone, unsigned int idx, in dm_zone_need_reset_cb()
|
| H A D | dm-zoned-metadata.c | 1349 static int dmz_init_zone(struct blk_zone *blkz, unsigned int num, void *data) in dmz_init_zone() 1554 static int dmz_update_zone_cb(struct blk_zone *blkz, unsigned int idx, in dmz_update_zone_cb()
|
| /linux/drivers/nvme/target/ |
| H A D | zns.c | 27 static int validate_conv_zones_cb(struct blk_zone *z, in validate_conv_zones_cb() 210 static int nvmet_bdev_report_zone_cb(struct blk_zone *z, unsigned i, void *d) in nvmet_bdev_report_zone_cb() 355 static int zmgmt_send_scan_cb(struct blk_zone *z, unsigned i, void *d) in zmgmt_send_scan_cb()
|
| /linux/drivers/block/null_blk/ |
| H A D | zoned.c | 200 struct blk_zone blkz; in null_report_zones() 210 memset(&blkz, 0, sizeof(struct blk_zone)); in null_report_zones()
|
| /linux/include/linux/ |
| H A D | blkdev.h | 433 typedef int (*report_zones_cb)(struct blk_zone *zone, unsigned int idx, 436 int disk_report_zone(struct gendisk *disk, struct blk_zone *zone, 440 struct blk_zone *zone);
|
| /linux/drivers/nvme/host/ |
| H A D | zns.c | 155 struct blk_zone zone = { }; in nvme_zone_parse_entry()
|
| /linux/drivers/scsi/ |
| H A D | sd_zbc.c | 49 struct blk_zone zone = { 0 }; in sd_zbc_parse_report()
|
| /linux/drivers/block/ |
| H A D | ublk_drv.c | 516 bufsize = nr_zones * sizeof(struct blk_zone); in ublk_alloc_report_buffer() 520 while (bufsize >= sizeof(struct blk_zone)) { in ublk_alloc_report_buffer() 542 struct blk_zone *buffer; in ublk_report_zones() 552 max_zones_per_request = buffer_length / sizeof(struct blk_zone); in ublk_report_zones() 591 struct blk_zone *zone = buffer + i; in ublk_report_zones()
|
| H A D | zloop.c | 756 struct blk_zone blkz = {}; in zloop_report_zones()
|
| H A D | virtio_blk.c | 590 struct blk_zone zone = { }; in virtblk_parse_zone()
|
| /linux/fs/xfs/ |
| H A D | xfs_zone_alloc.c | 993 struct blk_zone zone = {}; in xfs_query_write_pointer()
|
| /linux/fs/f2fs/ |
| H A D | segment.c | 5303 struct blk_zone *zone) in check_zone_write_pointer() 5397 static int report_one_zone_cb(struct blk_zone *zone, unsigned int idx, in report_one_zone_cb() 5400 memcpy(data, zone, sizeof(struct blk_zone)); in report_one_zone_cb() 5408 struct blk_zone zone; in do_fix_curseg_write_pointer() 5527 static int check_zone_write_pointer_cb(struct blk_zone *zone, unsigned int idx, in check_zone_write_pointer_cb()
|
| H A D | super.c | 4414 static int f2fs_report_zone_cb(struct blk_zone *zone, unsigned int idx, in f2fs_report_zone_cb()
|