Lines Matching refs:q_busy
55 /* q_busy is restricted to a max buffer count imposed by firmware */
56 if (q == &s->q_busy &&
138 * they are moved from q_busy to q_full or to the dvb ring buffer.
140 spin_lock(&s->q_busy.lock);
141 list_for_each_entry_safe(mdl, tmp, &s->q_busy.list, list) {
147 * q_busy, we have high confidence we've missed it.
151 if (mdl->skipped >= atomic_read(&s->q_busy.depth)-1) {
158 atomic_dec(&s->q_busy.depth);
167 atomic_dec(&s->q_busy.depth);
171 spin_unlock(&s->q_busy.lock);
180 /* 0'ed readpos, m_flags & curr_buf when mdl went on q_busy */
201 if (q_src == q_dst || q_dst == &s->q_full || q_dst == &s->q_busy)
223 cx18_queue_flush(s, &s->q_busy, &s->q_free);
238 cx18_queue_flush(s, &s->q_busy, q_idle);