Searched refs:write_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()154 if ((ptr_q->write_dataq + 1) % ptr_q->dataq_size == ptr_q->read_dataq) in queue_post_dataq()162 memcpy ( &ptr_q->ptr_dataq [ptr_q->write_dataq],pitem, \ in queue_post_dataq()164 ptr_q->write_dataq = (ptr_q->write_dataq + 1) % ptr_q->dataq_size; 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()144 if ((ptr_q->write_dataq + 1) % ptr_q->dataq_size == ptr_q->read_dataq) { in queue_post_dataq()151 memcpy ( &ptr_q->ptr_dataq [ptr_q->write_dataq],pitem, \ in queue_post_dataq()153 ptr_q->write_dataq = (ptr_q->write_dataq + 1) % ptr_q->dataq_size; 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()156 if ((ptr_q->write_dataq + 1) % ptr_q->dataq_size == ptr_q->read_dataq) in queue_post_dataq()166 memcpy ( &ptr_q->ptr_dataq [ptr_q->write_dataq],pitem, \ in queue_post_dataq()168 ptr_q->write_dataq = (ptr_q->write_dataq + 1) % ptr_q->dataq_size; in queue_post_dataq()
57 int write_dataq ; member
59 int write_dataq ; member