Home
last modified time | relevance | path

Searched refs:blk_zone (Results 1 – 20 of 20) sorted by relevance

/linux/fs/xfs/libxfs/
H A Dxfs_zones.c19 struct blk_zone *zone, in xfs_zone_validate_empty()
37 struct blk_zone *zone, in xfs_zone_validate_wp()
68 struct blk_zone *zone, in xfs_zone_validate_full()
86 struct blk_zone *zone, in xfs_zone_validate_seq()
116 struct blk_zone *zone, in xfs_zone_validate_conv()
134 struct blk_zone *zone, in xfs_zone_validate()
H A Dxfs_zones.h32 bool xfs_zone_validate(struct blk_zone *zone, struct xfs_rtgroup *rtg,
/linux/include/uapi/linux/
H A Dblkzoned.h106 struct blk_zone { struct
133 struct blk_zone zones[]; argument
/linux/block/
H A Dblk-zoned.c119 struct blk_zone *zone);
121 static int disk_report_zones_cb(struct blk_zone *zone, unsigned int idx, in disk_report_zones_cb()
255 struct blk_zone __user *zones;
258 static int blkdev_copy_zone_to_user(struct blk_zone *zone, unsigned int idx, in blkdev_copy_zone_to_user()
263 if (copy_to_user(&args->zones[idx], zone, sizeof(struct blk_zone))) in blkdev_copy_zone_to_user()
380 static bool disk_zone_is_last(struct gendisk *disk, struct blk_zone *zone) in disk_zone_is_last()
649 static unsigned int blk_zone_wp_offset(struct blk_zone *zone) in blk_zone_wp_offset()
673 struct blk_zone *zone) in disk_zone_wplug_sync_wp_offset()
1574 static int blk_revalidate_conv_zone(struct blk_zone *zone, unsigned int idx, in blk_revalidate_conv_zone()
1603 static int blk_revalidate_seq_zone(struct blk_zone *zone, unsigned int idx, in blk_revalidate_seq_zone()
[all …]
/linux/fs/zonefs/
H A Dsuper.c192 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 = kvcalloc(bdev_nr_zones(bdev), sizeof(struct blk_zone), in zonefs_get_zone_info()
942 struct blk_zone *zone, *next, *end; in zonefs_init_zgroup()
H A Dzonefs.h35 static inline enum zonefs_ztype zonefs_zone_type(struct blk_zone *zone) in zonefs_zone_type()
/linux/fs/btrfs/
H A Dzoned.c73 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()
199 struct blk_zone *zones, unsigned int nr_zones) in emulate_report_zones()
224 struct blk_zone *zones, unsigned int *nr_zones) in btrfs_get_dev_zones()
252 struct blk_zone *zone_info; in btrfs_get_dev_zones()
362 struct blk_zone *zones = NULL; in btrfs_get_dev_zone_info()
455 zones = kvcalloc(BTRFS_REPORT_NR_ZONES, sizeof(struct blk_zone), GFP_KERNEL); in btrfs_get_dev_zone_info()
468 sizeof(struct blk_zone)); in btrfs_get_dev_zone_info()
[all …]
H A Dzoned.h49 struct blk_zone *zone_cache;
50 struct blk_zone sb_zones[2 * BTRFS_SUPER_MIRROR_MAX];
/linux/drivers/md/
H A Ddm-zone.c89 static int dm_report_zones_cb(struct blk_zone *zone, unsigned int idx, in dm_report_zones_cb()
235 static int dm_device_count_zones_cb(struct blk_zone *zone, in dm_device_count_zones_cb()
472 static int dm_zone_need_reset_cb(struct blk_zone *zone, unsigned int idx, in dm_zone_need_reset_cb()
/linux/drivers/nvme/target/
H A Dzns.c27 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 Dzoned.c200 struct blk_zone blkz; in null_report_zones()
210 memset(&blkz, 0, sizeof(struct blk_zone)); in null_report_zones()
/linux/drivers/nvme/host/
H A Dzns.c155 struct blk_zone zone = { }; in nvme_zone_parse_entry()
/linux/fs/xfs/
H A Dxfs_zone_alloc.c985 struct blk_zone *zone) in xfs_init_zone()
1058 struct blk_zone *zone, in xfs_get_zone_info_cb()
/linux/drivers/scsi/
H A Dsd_zbc.c50 struct blk_zone zone = { 0 }; in sd_zbc_parse_report()
/linux/drivers/block/
H A Dublk_drv.c355 bufsize = nr_zones * sizeof(struct blk_zone); in ublk_alloc_report_buffer()
359 while (bufsize >= sizeof(struct blk_zone)) { in ublk_alloc_report_buffer()
381 struct blk_zone *buffer; in ublk_report_zones()
391 max_zones_per_request = buffer_length / sizeof(struct blk_zone); in ublk_report_zones()
430 struct blk_zone *zone = buffer + i; in ublk_report_zones()
H A Dzloop.c653 struct blk_zone blkz = {}; in zloop_report_zones()
H A Dvirtio_blk.c589 struct blk_zone zone = { }; in virtblk_parse_zone()
/linux/fs/f2fs/
H A Dsegment.c5263 struct blk_zone *zone) in check_zone_write_pointer()
5357 static int report_one_zone_cb(struct blk_zone *zone, unsigned int idx, in report_one_zone_cb()
5360 memcpy(data, zone, sizeof(struct blk_zone)); in report_one_zone_cb()
5368 struct blk_zone zone; in do_fix_curseg_write_pointer()
5487 static int check_zone_write_pointer_cb(struct blk_zone *zone, unsigned int idx, in check_zone_write_pointer_cb()
H A Dsuper.c4228 static int f2fs_report_zone_cb(struct blk_zone *zone, unsigned int idx, in f2fs_report_zone_cb()
/linux/include/linux/
H A Dblkdev.h432 typedef int (*report_zones_cb)(struct blk_zone *zone, unsigned int idx,