Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/block/
Dnull_blk.c32 struct nullb { struct
301 static struct nullb_queue *nullb_to_queue(struct nullb *nullb) in nullb_to_queue() argument
305 if (nullb->nr_queues != 1) in nullb_to_queue()
306 index = raw_smp_processor_id() / ((nr_cpu_ids + nullb->nr_queues - 1) / nullb->nr_queues); in nullb_to_queue()
308 return &nullb->queues[index]; in nullb_to_queue()
313 struct nullb *nullb = q->queuedata; in null_queue_bio() local
314 struct nullb_queue *nq = nullb_to_queue(nullb); in null_queue_bio()
326 struct nullb *nullb = q->queuedata; in null_rq_prep_fn() local
327 struct nullb_queue *nq = nullb_to_queue(nullb); in null_rq_prep_fn()
372 static void null_init_queue(struct nullb *nullb, struct nullb_queue *nq) in null_init_queue() argument
[all …]
/linux-4.4.14/Documentation/block/
Dnull_blk.txt6 The null block device (/dev/nullb*) is used for benchmarking the various