Searched refs:nullb (Results 1 – 4 of 4) sorted by relevance
193 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() argument494 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() local659 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() argument709 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 …]
36 struct nullb *nullb; member68 struct nullb { struct90 blk_status_t null_zone_report(struct nullb *nullb, struct bio *bio); argument100 static inline blk_status_t null_zone_report(struct nullb *nullb, in null_zone_report() argument
87 blk_status_t null_zone_report(struct nullb *nullb, struct bio *bio) in null_zone_report() argument89 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()
6 The null block device (/dev/nullb*) is used for benchmarking the various75 0: nullb* use default blk-mq io scheduler.76 1: nullb* doesn't use io scheduler.