Searched refs:nullb (Results 1 – 2 of 2) sorted by relevance
30 struct nullb { struct303 static struct nullb_queue *nullb_to_queue(struct nullb *nullb) in nullb_to_queue() argument307 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() local316 struct nullb_queue *nq = nullb_to_queue(nullb); in null_queue_bio()327 struct nullb *nullb = q->queuedata; in null_rq_prep_fn() local328 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 …]
6 The null block device (/dev/nullb*) is used for benchmarking the various