Searched refs:nullb (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/drivers/block/null_blk/ |
D | main.c | 246 static void null_del_dev(struct nullb *nullb); 248 static struct nullb *null_find_dev_by_name(const char *name); 353 if (!dev->nullb) in nullb_update_nr_hw_queues() 378 set = dev->nullb->tag_set; in nullb_update_nr_hw_queues() 462 null_del_dev(dev->nullb); in nullb_device_power_store() 643 null_del_dev(dev->nullb); in nullb_group_drop_item() 689 static inline int null_cache_active(struct nullb *nullb) in null_cache_active() argument 691 return test_bit(NULLB_DEV_FL_CACHE, &nullb->dev->flags); in null_cache_active() 896 static void null_free_sector(struct nullb *nullb, sector_t sector, in null_free_sector() argument 904 root = is_cache ? &nullb->dev->cache : &nullb->dev->data; in null_free_sector() [all …]
|
D | null_blk.h | 71 struct nullb *nullb; member 125 struct nullb { struct 151 int null_register_zoned_dev(struct nullb *nullb); argument 157 size_t null_zone_valid_read_len(struct nullb *nullb, 168 static inline int null_register_zoned_dev(struct nullb *nullb) in null_register_zoned_dev() argument 178 static inline size_t null_zone_valid_read_len(struct nullb *nullb, in null_zone_valid_read_len() argument
|
D | trace.h | 9 #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);
|
D | zoned.c | 157 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 disk_set_zoned(nullb->disk, BLK_ZONED_HM); in null_register_zoned_dev() 166 nullb->disk->nr_zones = bdev_nr_zones(nullb->disk->part0); in null_register_zoned_dev() 168 disk_set_max_open_zones(nullb->disk, dev->zone_max_open); in null_register_zoned_dev() 169 disk_set_max_active_zones(nullb->disk, dev->zone_max_active); in null_register_zoned_dev() 172 return blk_revalidate_disk_zones(nullb->disk, NULL); in null_register_zoned_dev() 186 struct nullb *nullb = disk->private_data; in null_report_zones() local 187 struct nullb_device *dev = nullb->dev; in null_report_zones() [all …]
|
/Linux-v6.6/Documentation/block/ |
D | null_blk.rst | 10 The null block device (``/dev/nullb*``) is used for benchmarking the various 114 0 nullb* use default blk-mq io scheduler 115 1 nullb* doesn't use io scheduler
|
/Linux-v6.6/Documentation/fault-injection/ |
D | fault-injection.rst | 58 /sys/kernel/config/nullb/<disk>/timeout_inject, 60 /sys/kernel/config/nullb/<disk>/requeue_inject, and 62 /sys/kernel/config/nullb/<disk>/init_hctx_fault_inject.
|