Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/block/
Dnull_blk_main.c193 static void null_del_dev(struct nullb *nullb);
326 null_del_dev(dev->nullb); in nullb_device_power_store()
453 null_del_dev(dev->nullb); in nullb_group_drop_item()
492 static inline int null_cache_active(struct nullb *nullb) in null_cache_active() argument
494 return test_bit(NULLB_DEV_FL_CACHE, &nullb->dev->flags); in null_cache_active()
657 struct nullb *nullb = rq->q->queuedata; in null_softirq_done_fn() local
659 if (nullb->dev->queue_mode == NULL_Q_MQ) in null_softirq_done_fn()
701 static void null_free_sector(struct nullb *nullb, sector_t sector, in null_free_sector() argument
709 root = is_cache ? &nullb->dev->cache : &nullb->dev->data; in null_free_sector()
722 nullb->dev->curr_cache -= PAGE_SIZE; in null_free_sector()
[all …]
Dnull_blk.h36 struct nullb *nullb; member
68 struct nullb { struct
90 blk_status_t null_zone_report(struct nullb *nullb, struct bio *bio); argument
100 static inline blk_status_t null_zone_report(struct nullb *nullb, in null_zone_report() argument
Dnull_blk_zoned.c87 blk_status_t null_zone_report(struct nullb *nullb, struct bio *bio) in null_zone_report() argument
89 struct nullb_device *dev = nullb->dev; in null_zone_report()
96 null_zone_fill_bio(nullb->dev, bio, zno, nr_zones); in null_zone_report()
/Linux-v4.19/Documentation/block/
Dnull_blk.txt6 The null block device (/dev/nullb*) is used for benchmarking the various
75 0: nullb* use default blk-mq io scheduler.
76 1: nullb* doesn't use io scheduler.