Home
last modified time | relevance | path

Searched refs:nullb (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/drivers/block/null_blk/
Dmain.c230 static void null_del_dev(struct nullb *nullb);
232 static struct nullb *null_find_dev_by_name(const char *name);
337 if (!dev->nullb) in nullb_update_nr_hw_queues()
362 set = dev->nullb->tag_set; in nullb_update_nr_hw_queues()
444 null_del_dev(dev->nullb); in nullb_device_power_store()
581 null_del_dev(dev->nullb); in nullb_group_drop_item()
621 static inline int null_cache_active(struct nullb *nullb) in null_cache_active() argument
623 return test_bit(NULLB_DEV_FL_CACHE, &nullb->dev->flags); in null_cache_active()
815 static void null_free_sector(struct nullb *nullb, sector_t sector, in null_free_sector() argument
823 root = is_cache ? &nullb->dev->cache : &nullb->dev->data; in null_free_sector()
[all …]
Dnull_blk.h71 struct nullb *nullb; member
118 struct nullb { struct
145 int null_register_zoned_dev(struct nullb *nullb); argument
152 size_t null_zone_valid_read_len(struct nullb *nullb,
161 static inline int null_register_zoned_dev(struct nullb *nullb) in null_register_zoned_dev() argument
171 static inline size_t null_zone_valid_read_len(struct nullb *nullb, in null_zone_valid_read_len() argument
Dtrace.h9 #define TRACE_SYSTEM nullb
57 TP_PROTO(struct nullb *nullb, unsigned int nr_zones),
58 TP_ARGS(nullb, nr_zones),
65 __assign_disk_name(__entry->disk, nullb->disk);
Dzoned.c157 int null_register_zoned_dev(struct nullb *nullb) in null_register_zoned_dev() argument
159 struct nullb_device *dev = nullb->dev; in null_register_zoned_dev()
160 struct request_queue *q = nullb->q; in null_register_zoned_dev()
162 blk_queue_set_zoned(nullb->disk, BLK_ZONED_HM); in null_register_zoned_dev()
167 int ret = blk_revalidate_disk_zones(nullb->disk, NULL); in null_register_zoned_dev()
173 q->nr_zones = blkdev_nr_zones(nullb->disk); in null_register_zoned_dev()
192 struct nullb *nullb = disk->private_data; in null_report_zones() local
193 struct nullb_device *dev = nullb->dev; in null_report_zones()
204 trace_nullb_report_zones(nullb, nr_zones); in null_report_zones()
236 size_t null_zone_valid_read_len(struct nullb *nullb, in null_zone_valid_read_len() argument
[all …]
/linux-5.19.10/Documentation/block/
Dnull_blk.rst10 The null block device (``/dev/nullb*``) is used for benchmarking the various
92 0 nullb* use default blk-mq io scheduler
93 1 nullb* doesn't use io scheduler