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