Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/misc/genwqe/
Dcard_ddcb.c92 return queue->ddcb_max - (queue->ddcb_act - queue->ddcb_next); in queue_enqueued_ddcbs()
97 int free_ddcbs = queue->ddcb_max - queue_enqueued_ddcbs(queue) - 1; in queue_free_ddcbs()
177 for (i = 0; i < queue->ddcb_max; i++) { in print_ddcb_info()
282 prev_no = (ddcb_no == 0) ? queue->ddcb_max - 1 : ddcb_no - 1; in enqueue_ddcb()
346 queue->ddcb_max - 1 : ddcb_no - 1; in copy_ddcb_results()
372 while (!queue_empty(queue) && (ddcbs_finished < queue->ddcb_max)) { in genwqe_check_ddcb_queue()
448 queue->ddcb_act = (queue->ddcb_act + 1) % queue->ddcb_max; in genwqe_check_ddcb_queue()
489 if (ddcb_no >= queue->ddcb_max) in __genwqe_wait_ddcb()
581 queue->ddcb_next = (queue->ddcb_next + 1) % queue->ddcb_max; in get_next_ddcb()
694 queue->ddcb_max); in __genwqe_purge_ddcb()
[all …]
Dcard_debugfs.c229 queue->ddcb_max, (long long)queue->ddcb_daddr, in ddcb_info_show()
231 (queue->ddcb_max * DDCB_LENGTH), in ddcb_info_show()
270 for (i = 0; i < queue->ddcb_max; i++) { in ddcb_info_show()
Dcard_base.h207 int ddcb_max; /* amount of DDCBs */ member