Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/block/
Dnull_blk.c30 struct nullb { struct
303 static struct nullb_queue *nullb_to_queue(struct nullb *nullb) in nullb_to_queue() argument
307 if (nullb->nr_queues != 1) in nullb_to_queue()
308 index = raw_smp_processor_id() / ((nr_cpu_ids + nullb->nr_queues - 1) / nullb->nr_queues); in nullb_to_queue()
310 return &nullb->queues[index]; in nullb_to_queue()
315 struct nullb *nullb = q->queuedata; in null_queue_bio() local
316 struct nullb_queue *nq = nullb_to_queue(nullb); in null_queue_bio()
327 struct nullb *nullb = q->queuedata; in null_rq_prep_fn() local
328 struct nullb_queue *nq = nullb_to_queue(nullb); in null_rq_prep_fn()
368 static void null_init_queue(struct nullb *nullb, struct nullb_queue *nq) in null_init_queue() argument
[all …]
/linux-4.1.27/Documentation/block/
Dnull_blk.txt6 The null block device (/dev/nullb*) is used for benchmarking the various