Searched refs:write_comq (Results 1 – 10 of 10) sorted by relevance
45 if (ptr_q->read_comq == ptr_q->write_comq) in check_if_queue_empty()82 if (ptr_q->read_comq != ptr_q->write_comq) in queue_get_cmd()117 if ((ptr_q->write_comq + 1) % ptr_q->commandq_size == ptr_q->read_comq) in queue_post_cmdq()125 memcpy ( &ptr_q->ptr_cmdq [ptr_q->write_comq],pitem, \ in queue_post_cmdq()127 ptr_q->write_comq = (ptr_q->write_comq + 1) % ptr_q->commandq_size; in queue_post_cmdq()
45 if (ptr_q->read_comq == ptr_q->write_comq) { in check_if_queue_empty()76 if (ptr_q->read_comq != ptr_q->write_comq) { in queue_get_cmd()108 if ((ptr_q->write_comq + 1) % ptr_q->commandq_size == ptr_q->read_comq) { in queue_post_cmdq()115 memcpy ( &ptr_q->ptr_cmdq [ptr_q->write_comq],pitem, \ in queue_post_cmdq()117 ptr_q->write_comq = (ptr_q->write_comq + 1) % ptr_q->commandq_size; in queue_post_cmdq()
45 if (ptr_q->read_comq == ptr_q->write_comq) in check_if_queue_empty()82 if (ptr_q->read_comq != ptr_q->write_comq) in queue_get_cmd()117 if ((ptr_q->write_comq + 1) % ptr_q->commandq_size == ptr_q->read_comq) in queue_post_cmdq()127 memcpy ( &ptr_q->ptr_cmdq [ptr_q->write_comq],pitem, \ in queue_post_cmdq()129 ptr_q->write_comq = (ptr_q->write_comq + 1) % ptr_q->commandq_size; in queue_post_cmdq()
59 int write_comq ; member
61 int write_comq ; member