Home
last modified time | relevance | path

Searched refs:msg_ctx (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/media/platform/mediatek/vcodec/decoder/
H A Dvdec_msg_queue.c74 int vdec_msg_queue_qbuf(struct vdec_msg_queue_ctx *msg_ctx, struct vdec_lat_buf *buf) in vdec_msg_queue_qbuf() argument
78 head = vdec_get_buf_list(msg_ctx->hardware_index, buf); in vdec_msg_queue_qbuf()
80 mtk_v4l2_vdec_err(buf->ctx, "fail to qbuf: %d", msg_ctx->hardware_index); in vdec_msg_queue_qbuf()
84 spin_lock(&msg_ctx->ready_lock); in vdec_msg_queue_qbuf()
85 list_add_tail(head, &msg_ctx->ready_queue); in vdec_msg_queue_qbuf()
86 msg_ctx->ready_num++; in vdec_msg_queue_qbuf()
88 vdec_msg_queue_inc(&buf->ctx->msg_queue, msg_ctx->hardware_index); in vdec_msg_queue_qbuf()
89 if (msg_ctx->hardware_index != MTK_VDEC_CORE) { in vdec_msg_queue_qbuf()
90 wake_up_all(&msg_ctx->ready_to_use); in vdec_msg_queue_qbuf()
99 msg_ctx->hardware_index, buf, msg_ctx->ready_num); in vdec_msg_queue_qbuf()
[all …]
/linux/fs/ecryptfs/
H A Dkeystore.c1096 struct ecryptfs_msg_ctx *msg_ctx; in decrypt_pki_encrypted_session_key() local
1115 rc = ecryptfs_send_message(payload, payload_len, &msg_ctx); in decrypt_pki_encrypted_session_key()
1121 rc = ecryptfs_wait_for_response(msg_ctx, &msg); in decrypt_pki_encrypted_session_key()
1953 struct ecryptfs_msg_ctx *msg_ctx = NULL; in pki_encrypt_session_key() local
1970 rc = ecryptfs_send_message(payload, payload_len, &msg_ctx); in pki_encrypt_session_key()
1976 rc = ecryptfs_wait_for_response(msg_ctx, &msg); in pki_encrypt_session_key()