Home
last modified time | relevance | path

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

/linux/include/uapi/linux/
H A Dblkzoned.h129 struct blk_zone { struct
160 struct blk_zone zones[]; argument
/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()
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 …]
/linux/drivers/nvme/target/
H A Dzns.c27 static int validate_conv_zones_cb(struct blk_zone *z, in validate_conv_zones_cb()
206 static int nvmet_bdev_report_zone_cb(struct blk_zone *z, unsigned i, void *d) in nvmet_bdev_report_zone_cb()
351 static int zmgmt_send_scan_cb(struct blk_zone *z, unsigned i, void *d) in zmgmt_send_scan_cb()
/linux/fs/zonefs/
H A Dzonefs.h35 static inline enum zonefs_ztype zonefs_zone_type(struct blk_zone *zone) in zonefs_zone_type()
/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/drivers/block/
H A Dublk_drv.c554 bufsize = nr_zones * sizeof(struct blk_zone); in ublk_alloc_report_buffer()
558 while (bufsize >= sizeof(struct blk_zone)) { in ublk_alloc_report_buffer()
580 struct blk_zone *buffer; in ublk_report_zones()
590 max_zones_per_request = buffer_length / sizeof(struct blk_zone); in ublk_report_zones()
629 struct blk_zone *zone = buffer + i; in ublk_report_zones()
H A Dvirtio_blk.c590 struct blk_zone zone = { }; in virtblk_parse_zone()
H A Dzloop.c939 struct blk_zone blkz = {}; in zloop_report_zones()
/linux/fs/xfs/
H A Dxfs_zone_alloc.c996 struct blk_zone zone = {}; in xfs_query_write_pointer()
/linux/drivers/md/
H A Ddm-zoned-metadata.c1349 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()