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()
206 struct ecryptfs_message *msg, u32 seq) in ecryptfs_process_response() argument
212 if (msg->index >= ecryptfs_message_buf_len) { in ecryptfs_process_response()
216 "allowable is [%d]\n", __func__, msg->index, in ecryptfs_process_response()
220 msg_ctx = &ecryptfs_msg_ctx_arr[msg->index]; in ecryptfs_process_response()
234 msg_size = (sizeof(*msg) + msg->data_len); in ecryptfs_process_response()
235 msg_ctx->msg = kmemdup(msg, msg_size, GFP_KERNEL); in ecryptfs_process_response()
236 if (!msg_ctx->msg) { in ecryptfs_process_response()
325 struct ecryptfs_message **msg) in ecryptfs_wait_for_response() argument
342 *msg = msg_ctx->msg; in ecryptfs_wait_for_response()
343 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()