Searched refs:blk_zone (Results 1 - 17 of 17) sorted by relevance
/linux-master/include/uapi/linux/ |
H A D | blkzoned.h | 86 * struct blk_zone - Zone descriptor for BLKREPORTZONE ioctl. 106 struct blk_zone { struct 133 struct blk_zone zones[];
|
/linux-master/fs/btrfs/ |
H A D | zoned.h | 49 struct blk_zone *zone_cache; 50 struct blk_zone sb_zones[2 * BTRFS_SUPER_MIRROR_MAX]; 57 struct blk_zone *zone); 102 struct blk_zone *zone)
|
H A D | zoned.c | 69 static inline bool sb_zone_is_full(const struct blk_zone *zone) 75 static int copy_zone_info_cb(struct blk_zone *zone, unsigned int idx, void *data) 77 struct blk_zone *zones = data; 84 static int sb_write_pointer(struct block_device *bdev, struct blk_zone *zones, 197 struct blk_zone *zones, unsigned int nr_zones) 222 struct blk_zone *zones, unsigned int *nr_zones) 250 struct blk_zone *zone_info; 367 struct blk_zone *zones = NULL; 457 zones = kvcalloc(BTRFS_REPORT_NR_ZONES, sizeof(struct blk_zone), GFP_KERNEL); 470 sizeof(struct blk_zone)); [all...] |
/linux-master/block/ |
H A D | blk-zoned.c | 160 static int blk_zone_need_reset_cb(struct blk_zone *zone, unsigned int idx, 306 struct blk_zone __user *zones; 309 static int blkdev_copy_zone_to_user(struct blk_zone *zone, unsigned int idx, 314 if (copy_to_user(&args->zones[idx], zone, sizeof(struct blk_zone))) 447 static int blk_revalidate_zone_cb(struct blk_zone *zone, unsigned int idx,
|
/linux-master/drivers/md/ |
H A D | dm-zone.c | 77 static int dm_report_zones_cb(struct blk_zone *zone, unsigned int idx, 155 static unsigned int dm_get_zone_wp_offset(struct blk_zone *zone) 177 static int dm_zone_revalidate_cb(struct blk_zone *zone, unsigned int idx, 318 static int dm_update_zone_wp_offset_cb(struct blk_zone *zone, unsigned int idx,
|
H A D | dm-zoned-metadata.c | 1354 static int dmz_init_zone(struct blk_zone *blkz, unsigned int num, void *data) 1559 static int dmz_update_zone_cb(struct blk_zone *blkz, unsigned int idx,
|
/linux-master/fs/zonefs/ |
H A D | super.c | 192 struct blk_zone *zone) 250 static int zonefs_io_error_cb(struct blk_zone *zone, unsigned int idx, 253 struct blk_zone *z = data; 259 static void zonefs_handle_io_error(struct inode *inode, struct blk_zone *zone, 372 struct blk_zone zone; 849 struct blk_zone *zones; 852 static int zonefs_get_zone_info_cb(struct blk_zone *zone, unsigned int idx, 895 memcpy(&zd->zones[idx], zone, sizeof(struct blk_zone)); 905 zd->zones = kvcalloc(bdev_nr_zones(bdev), sizeof(struct blk_zone), 941 struct blk_zone *zon [all...] |
H A D | zonefs.h | 35 static inline enum zonefs_ztype zonefs_zone_type(struct blk_zone *zone)
|
/linux-master/drivers/scsi/ |
H A D | sd_zbc.c | 32 static unsigned int sd_zbc_get_zone_wp_offset(struct blk_zone *zone) 73 * Convert a SCSI zone descriptor into struct blk_zone format. Additionally, 74 * call @cb(blk_zone, @data). 80 struct blk_zone zone = { 0 }; 353 static int sd_zbc_update_wp_offset_cb(struct blk_zone *zone, unsigned int idx,
|
/linux-master/drivers/nvme/target/ |
H A D | zns.c | 27 static int validate_conv_zones_cb(struct blk_zone *z, 214 static int nvmet_bdev_report_zone_cb(struct blk_zone *z, unsigned i, void *d) 359 static int zmgmt_send_scan_cb(struct blk_zone *z, unsigned i, void *d)
|
/linux-master/drivers/block/null_blk/ |
H A D | zoned.c | 186 struct blk_zone blkz; 196 memset(&blkz, 0, sizeof(struct blk_zone));
|
/linux-master/drivers/nvme/host/ |
H A D | zns.c | 156 struct blk_zone zone = { };
|
/linux-master/drivers/block/ |
H A D | ublk_drv.c | 268 bufsize = nr_zones * sizeof(struct blk_zone); 272 while (bufsize >= sizeof(struct blk_zone)) { 294 struct blk_zone *buffer; 304 max_zones_per_request = buffer_length / sizeof(struct blk_zone); 341 struct blk_zone *zone = buffer + i;
|
H A D | virtio_blk.c | 595 struct blk_zone zone = { };
|
/linux-master/fs/f2fs/ |
H A D | segment.c | 4975 struct blk_zone *zone) 5069 static int report_one_zone_cb(struct blk_zone *zone, unsigned int idx, 5072 memcpy(data, zone, sizeof(struct blk_zone)); 5080 struct blk_zone zone; 5198 static int check_zone_write_pointer_cb(struct blk_zone *zone, unsigned int idx,
|
H A D | super.c | 3837 static int f2fs_report_zone_cb(struct blk_zone *zone, unsigned int idx,
|
/linux-master/include/linux/ |
H A D | blkdev.h | 324 typedef int (*report_zones_cb)(struct blk_zone *zone, unsigned int idx,
|
Completed in 339 milliseconds