Home
last modified time | relevance | path

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

/linux-5.10/drivers/block/
Dnull_blk_zoned.c44 dev->zones = kvmalloc_array(dev->nr_zones, sizeof(struct blk_zone), in null_init_zoned_dev()
88 struct blk_zone *zone = &dev->zones[i]; in null_init_zoned_dev()
101 struct blk_zone *zone = &dev->zones[i]; in null_init_zoned_dev()
168 struct blk_zone zone; in null_report_zones()
187 memcpy(&zone, &dev->zones[zno], sizeof(struct blk_zone)); in null_report_zones()
206 struct blk_zone *zone = &dev->zones[null_zone_no(dev, sector)]; in null_zone_valid_read_len()
220 static blk_status_t null_close_zone(struct nullb_device *dev, struct blk_zone *zone) in null_close_zone()
306 static blk_status_t null_check_zone_resources(struct nullb_device *dev, struct blk_zone *zone) in null_check_zone_resources()
330 struct blk_zone *zone = &dev->zones[zno]; in null_zone_write()
421 static blk_status_t null_open_zone(struct nullb_device *dev, struct blk_zone *zone) in null_open_zone()
[all …]
Dnull_blk.h48 struct blk_zone *zones;
/linux-5.10/include/uapi/linux/
Dblkzoned.h106 struct blk_zone { struct
133 struct blk_zone zones[0]; argument
/linux-5.10/block/
Dblk-zoned.c263 struct blk_zone __user *zones;
266 static int blkdev_copy_zone_to_user(struct blk_zone *zone, unsigned int idx, in blkdev_copy_zone_to_user()
271 if (copy_to_user(&args->zones[idx], zone, sizeof(struct blk_zone))) in blkdev_copy_zone_to_user()
400 static int blk_revalidate_zone_cb(struct blk_zone *zone, unsigned int idx, in blk_revalidate_zone_cb()
/linux-5.10/fs/zonefs/
Dsuper.c214 struct blk_zone *zone, bool warn, in zonefs_check_zone_condition()
265 static int zonefs_io_error_cb(struct blk_zone *zone, unsigned int idx, in zonefs_io_error_cb()
1233 static void zonefs_init_file_inode(struct inode *inode, struct blk_zone *zone, in zonefs_init_file_inode()
1266 const char *name, struct blk_zone *zone, in zonefs_create_inode()
1300 struct blk_zone *zones;
1311 struct blk_zone *zone, *next, *end; in zonefs_create_zgroup()
1399 static int zonefs_get_zone_info_cb(struct blk_zone *zone, unsigned int idx, in zonefs_get_zone_info_cb()
1425 memcpy(&zd->zones[idx], zone, sizeof(struct blk_zone)); in zonefs_get_zone_info_cb()
1436 sizeof(struct blk_zone), GFP_KERNEL); in zonefs_get_zone_info()
Dzonefs.h34 static inline enum zonefs_ztype zonefs_zone_type(struct blk_zone *zone) in zonefs_zone_type()
/linux-5.10/drivers/scsi/
Dsd_zbc.c23 static unsigned int sd_zbc_get_zone_wp_offset(struct blk_zone *zone) in sd_zbc_get_zone_wp_offset()
51 struct blk_zone zone = { 0 }; in sd_zbc_parse_report()
268 static int sd_zbc_update_wp_offset_cb(struct blk_zone *zone, unsigned int idx, in sd_zbc_update_wp_offset_cb()
/linux-5.10/drivers/nvme/host/
Dzns.c151 struct blk_zone zone = { }; in nvme_zone_parse_entry()
/linux-5.10/include/linux/
Ddevice-mapper.h445 int dm_report_zones_cb(struct blk_zone *zone, unsigned int idx, void *data);
Dblkdev.h354 typedef int (*report_zones_cb)(struct blk_zone *zone, unsigned int idx,
/linux-5.10/fs/f2fs/
Dsegment.c4645 struct blk_zone *zone) in check_zone_write_pointer()
4743 static int report_one_zone_cb(struct blk_zone *zone, unsigned int idx, in report_one_zone_cb()
4745 memcpy(data, zone, sizeof(struct blk_zone)); in report_one_zone_cb()
4753 struct blk_zone zone; in fix_curseg_write_pointer()
4859 static int check_zone_write_pointer_cb(struct blk_zone *zone, unsigned int idx, in check_zone_write_pointer_cb()
Dsuper.c3134 static int f2fs_report_zone_cb(struct blk_zone *zone, unsigned int idx, in f2fs_report_zone_cb()
/linux-5.10/drivers/md/
Ddm-zoned-metadata.c1372 static int dmz_init_zone(struct blk_zone *blkz, unsigned int num, void *data) in dmz_init_zone()
1570 static int dmz_update_zone_cb(struct blk_zone *blkz, unsigned int idx, in dmz_update_zone_cb()
Ddm.c433 int dm_report_zones_cb(struct blk_zone *zone, unsigned int idx, void *data) in dm_report_zones_cb()