Home
last modified time | relevance | path

Searched refs:src_q (Results 1 – 5 of 5) sorted by relevance

/linux-6.15/drivers/media/platform/qcom/iris/
H A Diris_state.c262 struct vb2_queue *src_q = v4l2_m2m_get_src_vq(inst->m2m_ctx); in iris_allow_cmd() local
266 if (vb2_is_streaming(src_q) || vb2_is_streaming(dst_q)) in iris_allow_cmd()
270 if (vb2_is_streaming(src_q)) in iris_allow_cmd()
H A Diris_vdec.c92 struct vb2_queue *src_q; in iris_vdec_try_fmt() local
112 src_q = v4l2_m2m_get_src_vq(m2m_ctx); in iris_vdec_try_fmt()
113 if (vb2_is_streaming(src_q)) { in iris_vdec_try_fmt()
231 struct vb2_queue *src_q; in iris_vdec_src_change() local
233 src_q = v4l2_m2m_get_src_vq(m2m_ctx); in iris_vdec_src_change()
234 if (!vb2_is_streaming(src_q)) in iris_vdec_src_change()
/linux-6.15/fs/bcachefs/
H A Dquota.c315 static void __bch2_quota_transfer(struct bch_memquota *src_q, in __bch2_quota_transfer() argument
319 BUG_ON(v > src_q->c[counter].v); in __bch2_quota_transfer()
322 src_q->c[counter].v -= v; in __bch2_quota_transfer()
332 struct bch_memquota *src_q[3], *dst_q[3]; in bch2_quota_transfer() local
342 src_q[i] = genradix_ptr_alloc(&q->table, src.q[i], GFP_KERNEL); in bch2_quota_transfer()
344 if (!src_q[i] || !dst_q[i]) in bch2_quota_transfer()
366 __bch2_quota_transfer(src_q[i], dst_q[i], Q_SPC, space); in bch2_quota_transfer()
367 __bch2_quota_transfer(src_q[i], dst_q[i], Q_INO, 1); in bch2_quota_transfer()
/linux-6.15/drivers/media/v4l2-core/
H A Dv4l2-mem2mem.c916 struct vb2_queue *src_q, *dst_q; in v4l2_m2m_poll_for_data() local
920 src_q = v4l2_m2m_get_src_vq(m2m_ctx); in v4l2_m2m_poll_for_data()
928 if ((!vb2_is_streaming(src_q) || src_q->error || in v4l2_m2m_poll_for_data()
929 list_empty(&src_q->queued_list)) && in v4l2_m2m_poll_for_data()
934 spin_lock_irqsave(&src_q->done_lock, flags); in v4l2_m2m_poll_for_data()
935 if (!list_empty(&src_q->done_list)) in v4l2_m2m_poll_for_data()
937 spin_unlock_irqrestore(&src_q->done_lock, flags); in v4l2_m2m_poll_for_data()
955 struct vb2_queue *src_q = v4l2_m2m_get_src_vq(m2m_ctx); in v4l2_m2m_poll() local
967 poll_wait(file, &src_q->done_wq, wait); in v4l2_m2m_poll()
/linux-6.15/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc.c1018 struct vb2_queue *src_q, *dst_q; in s5p_mfc_poll() local
1024 src_q = &ctx->vq_src; in s5p_mfc_poll()
1031 if ((!vb2_is_streaming(src_q) || list_empty(&src_q->queued_list)) && in s5p_mfc_poll()
1038 poll_wait(file, &src_q->done_wq, wait); in s5p_mfc_poll()
1043 spin_lock_irqsave(&src_q->done_lock, flags); in s5p_mfc_poll()
1044 if (!list_empty(&src_q->done_list)) in s5p_mfc_poll()
1045 src_vb = list_first_entry(&src_q->done_list, struct vb2_buffer, in s5p_mfc_poll()
1050 spin_unlock_irqrestore(&src_q->done_lock, flags); in s5p_mfc_poll()