Lines Matching refs:msg
87 kfree(msg_ctx->msg); in ecryptfs_msg_ctx_alloc_to_free()
88 msg_ctx->msg = NULL; in ecryptfs_msg_ctx_alloc_to_free()
207 struct ecryptfs_message *msg, u32 seq) in ecryptfs_process_response() argument
213 if (msg->index >= ecryptfs_message_buf_len) { in ecryptfs_process_response()
217 "allowable is [%d]\n", __func__, msg->index, in ecryptfs_process_response()
221 msg_ctx = &ecryptfs_msg_ctx_arr[msg->index]; in ecryptfs_process_response()
235 msg_size = (sizeof(*msg) + msg->data_len); in ecryptfs_process_response()
236 msg_ctx->msg = kmemdup(msg, msg_size, GFP_KERNEL); in ecryptfs_process_response()
237 if (!msg_ctx->msg) { in ecryptfs_process_response()
327 struct ecryptfs_message **msg) in ecryptfs_wait_for_response() argument
344 *msg = msg_ctx->msg; in ecryptfs_wait_for_response()
345 msg_ctx->msg = NULL; in ecryptfs_wait_for_response()
398 ecryptfs_msg_ctx_arr[i].msg = NULL; in ecryptfs_init_messaging()
419 kfree(ecryptfs_msg_ctx_arr[i].msg); in ecryptfs_release_messaging()