Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/block/
H A Dnull_blk_zoned.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 *zone) in null_open_zone()
[all …]
H A Dnull_blk.h49 struct blk_zone *zones;
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dblkzoned.h94 struct blk_zone { struct
119 struct blk_zone zones[0]; argument
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dblkzoned.h94 struct blk_zone { struct
119 struct blk_zone zones[0]; argument
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dblkzoned.h106 struct blk_zone { struct
133 struct blk_zone zones[0]; argument
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/fs/zonefs/
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()
1361 static int zonefs_init_file_inode(struct inode *inode, struct blk_zone *zone, in zonefs_init_file_inode()
1419 const char *name, struct blk_zone *zone, in zonefs_create_inode()
1460 struct blk_zone *zones;
1471 struct blk_zone *zone, *next, *end; in zonefs_create_zgroup()
1560 static int zonefs_get_zone_info_cb(struct blk_zone *zone, unsigned int idx, in zonefs_get_zone_info_cb()
1586 memcpy(&zd->zones[idx], zone, sizeof(struct blk_zone)); in zonefs_get_zone_info_cb()
1597 sizeof(struct blk_zone), GFP_KERNEL); in zonefs_get_zone_info()
H A Dzonefs.h34 static inline enum zonefs_ztype zonefs_zone_type(struct blk_zone *zone) in zonefs_zone_type()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/nvme/host/
H A Dzns.c151 struct blk_zone zone = { }; in nvme_zone_parse_entry()
/OK3568_Linux_fs/kernel/include/linux/
H A Ddevice-mapper.h476 int dm_report_zones_cb(struct blk_zone *zone, unsigned int idx, void *data);
H A Dblkdev.h365 typedef int (*report_zones_cb)(struct blk_zone *zone, unsigned int idx,
/OK3568_Linux_fs/kernel/fs/f2fs/
H A Dsegment.c4804 struct blk_zone *zone) in check_zone_write_pointer()
4902 static int report_one_zone_cb(struct blk_zone *zone, unsigned int idx, in report_one_zone_cb()
4905 memcpy(data, zone, sizeof(struct blk_zone)); in report_one_zone_cb()
4913 struct blk_zone zone; in fix_curseg_write_pointer()
5020 static int check_zone_write_pointer_cb(struct blk_zone *zone, unsigned int idx, in check_zone_write_pointer_cb()
H A Dsuper.c3520 static int f2fs_report_zone_cb(struct blk_zone *zone, unsigned int idx, in f2fs_report_zone_cb()
/OK3568_Linux_fs/kernel/drivers/md/
H A Ddm-zoned-metadata.c1372 static int dmz_init_zone(struct blk_zone *blkz, unsigned int num, void *data) in dmz_init_zone()
1577 static int dmz_update_zone_cb(struct blk_zone *blkz, unsigned int idx, in dmz_update_zone_cb()
H A Ddm.c444 int dm_report_zones_cb(struct blk_zone *zone, unsigned int idx, void *data) in dm_report_zones_cb()