Lines Matching refs:ddcb_act
84 return queue->ddcb_next == queue->ddcb_act; in queue_empty()
89 if (queue->ddcb_next >= queue->ddcb_act) in queue_enqueued_ddcbs()
90 return queue->ddcb_next - queue->ddcb_act; in queue_enqueued_ddcbs()
92 return queue->ddcb_max - (queue->ddcb_act - queue->ddcb_next); in queue_enqueued_ddcbs()
174 cd->card_idx, queue->ddcb_act, queue->ddcb_next); in print_ddcb_info()
180 i == queue->ddcb_act ? '>' : ' ', in print_ddcb_info()
381 pddcb = &queue->ddcb_vaddr[queue->ddcb_act]; in genwqe_check_ddcb_queue()
390 req = queue->ddcb_req[queue->ddcb_act]; in genwqe_check_ddcb_queue()
420 copy_ddcb_results(req, queue->ddcb_act); in genwqe_check_ddcb_queue()
421 queue->ddcb_req[queue->ddcb_act] = NULL; /* take from queue */ in genwqe_check_ddcb_queue()
447 wake_up_interruptible(&queue->ddcb_waitqs[queue->ddcb_act]); in genwqe_check_ddcb_queue()
451 queue->ddcb_act = (queue->ddcb_act + 1) % queue->ddcb_max; in genwqe_check_ddcb_queue()
697 (queue->ddcb_act == req->num)) { in __genwqe_purge_ddcb()
698 queue->ddcb_act = ((queue->ddcb_act + 1) % in __genwqe_purge_ddcb()
990 pddcb = &queue->ddcb_vaddr[queue->ddcb_act]; in genwqe_next_ddcb_ready()
1073 queue->ddcb_act = 0; in setup_ddcb_queue()
1325 wake_up_interruptible(&queue->ddcb_waitqs[queue->ddcb_act]); in queue_wake_up_all()