Home
last modified time | relevance | path

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

/drivers/block/rnbd/
Drnbd-clt.c202 struct rnbd_cpu_qlist *cpu_q; in rnbd_rerun_if_needed() local
212 for (cpu_q = rnbd_get_cpu_qlist(sess, nxt_cpu(*cpup)); cpu_q; in rnbd_rerun_if_needed()
213 cpu_q = rnbd_get_cpu_qlist(sess, nxt_cpu(cpu_q->cpu))) { in rnbd_rerun_if_needed()
214 if (!spin_trylock_irqsave(&cpu_q->requeue_lock, flags)) in rnbd_rerun_if_needed()
216 if (!test_bit(cpu_q->cpu, sess->cpu_queues_bm)) in rnbd_rerun_if_needed()
218 q = list_first_entry_or_null(&cpu_q->requeue_list, in rnbd_rerun_if_needed()
225 if (list_empty(&cpu_q->requeue_list)) { in rnbd_rerun_if_needed()
228 clear_bit(cpu_q->cpu, sess->cpu_queues_bm); in rnbd_rerun_if_needed()
231 spin_unlock_irqrestore(&cpu_q->requeue_lock, flags); in rnbd_rerun_if_needed()
244 if (cpu_q) in rnbd_rerun_if_needed()
[all …]