Home
last modified time | relevance | path

Searched refs:blk_zone (Results 1 - 25 of 34) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/block/null_blk/
H A Dzoned.c47 dev->zones = kvmalloc_array(dev->nr_zones, sizeof(struct blk_zone), in null_init_zoned_dev()
91 struct blk_zone *zone = &dev->zones[i]; in null_init_zoned_dev()
104 struct blk_zone *zone = &dev->zones[i]; in null_init_zoned_dev()
176 struct blk_zone zone; in null_report_zones()
195 memcpy(&zone, &dev->zones[zno], sizeof(struct blk_zone)); in null_report_zones()
214 struct blk_zone *zone = &dev->zones[null_zone_no(dev, sector)]; in null_zone_valid_read_len()
228 static blk_status_t null_close_zone(struct nullb_device *dev, struct blk_zone *zone) in null_close_zone()
314 static blk_status_t null_check_zone_resources(struct nullb_device *dev, struct blk_zone *zone) in null_check_zone_resources()
338 struct blk_zone *zone = &dev->zones[zno]; in null_zone_write()
432 static blk_status_t null_open_zone(struct nullb_device *dev, struct blk_zone *zon
[all...]
H A Dnull_blk.h49 struct blk_zone *zones;
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dblkzoned.h25 struct blk_zone { struct
39 struct blk_zone zones[0];
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dblkzoned.h86 * struct blk_zone - Zone descriptor for BLKREPORTZONE ioctl.
106 struct blk_zone { struct
133 struct blk_zone zones[0];
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dblkzoned.h86 * struct blk_zone - Zone descriptor for BLKREPORTZONE ioctl.
106 struct blk_zone { struct
133 struct blk_zone zones[];
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dblkzoned.h41 struct blk_zone { struct
57 struct blk_zone zones[0];
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dblkzoned.h41 struct blk_zone { struct
57 struct blk_zone zones[0];
/kernel/linux/linux-6.6/fs/btrfs/
H A Dzoned.h34 struct blk_zone *zone_cache;
35 struct blk_zone sb_zones[2 * BTRFS_SUPER_MIRROR_MAX];
42 struct blk_zone *zone);
89 struct blk_zone *zone) in btrfs_get_dev_zone()
H A Dzoned.c71 static inline bool sb_zone_is_full(const struct blk_zone *zone) in sb_zone_is_full()
77 static int copy_zone_info_cb(struct blk_zone *zone, unsigned int idx, void *data) in copy_zone_info_cb()
79 struct blk_zone *zones = data; in copy_zone_info_cb()
86 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()
369 struct blk_zone *zones = NULL; in btrfs_get_dev_zone_info()
459 zones = kvcalloc(BTRFS_REPORT_NR_ZONES, sizeof(struct blk_zone), GFP_KERNEL); in btrfs_get_dev_zone_info()
472 sizeof(struct blk_zone)); in btrfs_get_dev_zone_info()
[all...]
/kernel/linux/linux-6.6/block/
H A Dblk-zoned.c161 static int blk_zone_need_reset_cb(struct blk_zone *zone, unsigned int idx, in blk_zone_need_reset_cb()
309 struct blk_zone __user *zones;
312 static int blkdev_copy_zone_to_user(struct blk_zone *zone, unsigned int idx, in blkdev_copy_zone_to_user()
317 if (copy_to_user(&args->zones[idx], zone, sizeof(struct blk_zone))) in blkdev_copy_zone_to_user()
451 static int blk_revalidate_zone_cb(struct blk_zone *zone, unsigned int idx, in blk_revalidate_zone_cb()
/kernel/linux/linux-6.6/fs/zonefs/
H A Dsuper.c191 struct blk_zone *zone) in zonefs_check_zone_condition()
249 static int zonefs_io_error_cb(struct blk_zone *zone, unsigned int idx, in zonefs_io_error_cb()
252 struct blk_zone *z = data; in zonefs_io_error_cb()
258 static void zonefs_handle_io_error(struct inode *inode, struct blk_zone *zone, in zonefs_handle_io_error()
371 struct blk_zone zone; in __zonefs_io_error()
868 struct blk_zone *zones;
871 static int zonefs_get_zone_info_cb(struct blk_zone *zone, unsigned int idx, in zonefs_get_zone_info_cb()
914 memcpy(&zd->zones[idx], zone, sizeof(struct blk_zone)); in zonefs_get_zone_info_cb()
924 zd->zones = kvcalloc(bdev_nr_zones(bdev), sizeof(struct blk_zone), in zonefs_get_zone_info()
960 struct blk_zone *zon in zonefs_init_zgroup()
[all...]
H A Dzonefs.h35 static inline enum zonefs_ztype zonefs_zone_type(struct blk_zone *zone) in zonefs_zone_type()
/kernel/linux/linux-5.10/block/
H A 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()
428 static int blk_revalidate_zone_cb(struct blk_zone *zone, unsigned int idx, in blk_revalidate_zone_cb()
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-zone.c77 static int dm_report_zones_cb(struct blk_zone *zone, unsigned int idx, in dm_report_zones_cb()
155 static unsigned int dm_get_zone_wp_offset(struct blk_zone *zone) in dm_get_zone_wp_offset()
177 static int dm_zone_revalidate_cb(struct blk_zone *zone, unsigned int idx, in dm_zone_revalidate_cb()
318 static int dm_update_zone_wp_offset_cb(struct blk_zone *zone, unsigned int idx, in dm_update_zone_wp_offset_cb()
/kernel/linux/linux-5.10/fs/zonefs/
H A Dzonefs.h34 static inline enum zonefs_ztype zonefs_zone_type(struct blk_zone *zone) in zonefs_zone_type()
H A Dsuper.c273 struct blk_zone *zone, bool warn, in zonefs_check_zone_condition()
327 static int zonefs_io_error_cb(struct blk_zone *zone, unsigned int idx, in zonefs_io_error_cb()
1383 static int zonefs_init_file_inode(struct inode *inode, struct blk_zone *zone, in zonefs_init_file_inode()
1441 const char *name, struct blk_zone *zone, in zonefs_create_inode()
1482 struct blk_zone *zones;
1493 struct blk_zone *zone, *next, *end; in zonefs_create_zgroup()
1582 static int zonefs_get_zone_info_cb(struct blk_zone *zone, unsigned int idx, in zonefs_get_zone_info_cb()
1608 memcpy(&zd->zones[idx], zone, sizeof(struct blk_zone)); in zonefs_get_zone_info_cb()
1619 sizeof(struct blk_zone), GFP_KERNEL); in zonefs_get_zone_info()
/kernel/linux/linux-5.10/drivers/scsi/
H A 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()
/kernel/linux/linux-6.6/drivers/scsi/
H A Dsd_zbc.c32 static unsigned int sd_zbc_get_zone_wp_offset(struct blk_zone *zone) in sd_zbc_get_zone_wp_offset()
73 * Convert a SCSI zone descriptor into struct blk_zone format. Additionally,
74 * call @cb(blk_zone, @data).
80 struct blk_zone zone = { 0 }; in sd_zbc_parse_report()
353 static int sd_zbc_update_wp_offset_cb(struct blk_zone *zone, unsigned int idx, in sd_zbc_update_wp_offset_cb()
/kernel/linux/linux-6.6/drivers/nvme/target/
H A Dzns.c27 static int validate_conv_zones_cb(struct blk_zone *z, in validate_conv_zones_cb()
214 static int nvmet_bdev_report_zone_cb(struct blk_zone *z, unsigned i, void *d) in nvmet_bdev_report_zone_cb()
359 static int zmgmt_send_scan_cb(struct blk_zone *z, unsigned i, void *d) in zmgmt_send_scan_cb()
/kernel/linux/linux-6.6/drivers/block/null_blk/
H A Dzoned.c190 struct blk_zone blkz; in null_report_zones()
200 memset(&blkz, 0, sizeof(struct blk_zone)); in null_report_zones()
/kernel/linux/linux-5.10/drivers/nvme/host/
H A Dzns.c151 struct blk_zone zone = { }; in nvme_zone_parse_entry()
/kernel/linux/linux-6.6/drivers/nvme/host/
H A Dzns.c155 struct blk_zone zone = { }; in nvme_zone_parse_entry()
/kernel/linux/linux-6.6/drivers/block/
H A Dublk_drv.c281 bufsize = nr_zones * sizeof(struct blk_zone); in ublk_alloc_report_buffer()
285 while (bufsize >= sizeof(struct blk_zone)) { in ublk_alloc_report_buffer()
307 struct blk_zone *buffer; in ublk_report_zones()
317 max_zones_per_request = buffer_length / sizeof(struct blk_zone); in ublk_report_zones()
354 struct blk_zone *zone = buffer + i; in ublk_report_zones()
/kernel/linux/linux-5.10/include/linux/
H A Ddevice-mapper.h463 int dm_report_zones_cb(struct blk_zone *zone, unsigned int idx, void *data);
/kernel/linux/linux-5.10/fs/f2fs/
H A Dsegment.c4889 struct blk_zone *zone) in check_zone_write_pointer()
4987 static int report_one_zone_cb(struct blk_zone *zone, unsigned int idx, in report_one_zone_cb()
4989 memcpy(data, zone, sizeof(struct blk_zone)); in report_one_zone_cb()
4997 struct blk_zone zone; in fix_curseg_write_pointer()
5103 static int check_zone_write_pointer_cb(struct blk_zone *zone, unsigned int idx, in check_zone_write_pointer_cb()

Completed in 28 milliseconds

12