Searched refs:read_dataq (Results 1 – 10 of 10) sorted by relevance
52 if (ptr_q->write_dataq == ptr_q->read_dataq) in check_if_queue_empty()88 else if (ptr_q->write_dataq != ptr_q->read_dataq) in queue_get_cmd()90 pitem = &ptr_q->ptr_dataq [ptr_q->read_dataq]; in queue_get_cmd()91 ptr_q->read_dataq = (ptr_q->read_dataq + 1) % \ in queue_get_cmd()154 if ((ptr_q->write_dataq + 1) % ptr_q->dataq_size == ptr_q->read_dataq) in queue_post_dataq()
49 if (ptr_q->write_dataq == ptr_q->read_dataq) { in check_if_queue_empty()80 } else if (ptr_q->write_dataq != ptr_q->read_dataq) { in queue_get_cmd()81 pitem = &ptr_q->ptr_dataq [ptr_q->read_dataq]; in queue_get_cmd()82 ptr_q->read_dataq = (ptr_q->read_dataq + 1) % \ in queue_get_cmd()144 if ((ptr_q->write_dataq + 1) % ptr_q->dataq_size == ptr_q->read_dataq) { in queue_post_dataq()
52 if (ptr_q->write_dataq == ptr_q->read_dataq) in check_if_queue_empty()88 else if (ptr_q->write_dataq != ptr_q->read_dataq) in queue_get_cmd()90 pitem = &ptr_q->ptr_dataq [ptr_q->read_dataq]; in queue_get_cmd()91 ptr_q->read_dataq = (ptr_q->read_dataq + 1) % \ in queue_get_cmd()156 if ((ptr_q->write_dataq + 1) % ptr_q->dataq_size == ptr_q->read_dataq) in queue_post_dataq()
58 int read_dataq; member
60 int read_dataq; member