ecryptfs_msg_ctx_arr 26 fs/ecryptfs/messaging.c static struct ecryptfs_msg_ctx *ecryptfs_msg_ctx_arr; ecryptfs_msg_ctx_arr 220 fs/ecryptfs/messaging.c msg_ctx = &ecryptfs_msg_ctx_arr[msg->index]; ecryptfs_msg_ctx_arr 378 fs/ecryptfs/messaging.c ecryptfs_msg_ctx_arr = kmalloc((sizeof(struct ecryptfs_msg_ctx) ecryptfs_msg_ctx_arr 381 fs/ecryptfs/messaging.c if (!ecryptfs_msg_ctx_arr) { ecryptfs_msg_ctx_arr 390 fs/ecryptfs/messaging.c INIT_LIST_HEAD(&ecryptfs_msg_ctx_arr[i].node); ecryptfs_msg_ctx_arr 391 fs/ecryptfs/messaging.c INIT_LIST_HEAD(&ecryptfs_msg_ctx_arr[i].daemon_out_list); ecryptfs_msg_ctx_arr 392 fs/ecryptfs/messaging.c mutex_init(&ecryptfs_msg_ctx_arr[i].mux); ecryptfs_msg_ctx_arr 393 fs/ecryptfs/messaging.c mutex_lock(&ecryptfs_msg_ctx_arr[i].mux); ecryptfs_msg_ctx_arr 394 fs/ecryptfs/messaging.c ecryptfs_msg_ctx_arr[i].index = i; ecryptfs_msg_ctx_arr 395 fs/ecryptfs/messaging.c ecryptfs_msg_ctx_arr[i].state = ECRYPTFS_MSG_CTX_STATE_FREE; ecryptfs_msg_ctx_arr 396 fs/ecryptfs/messaging.c ecryptfs_msg_ctx_arr[i].counter = 0; ecryptfs_msg_ctx_arr 397 fs/ecryptfs/messaging.c ecryptfs_msg_ctx_arr[i].task = NULL; ecryptfs_msg_ctx_arr 398 fs/ecryptfs/messaging.c ecryptfs_msg_ctx_arr[i].msg = NULL; ecryptfs_msg_ctx_arr 399 fs/ecryptfs/messaging.c list_add_tail(&ecryptfs_msg_ctx_arr[i].node, ecryptfs_msg_ctx_arr 401 fs/ecryptfs/messaging.c mutex_unlock(&ecryptfs_msg_ctx_arr[i].mux); ecryptfs_msg_ctx_arr 413 fs/ecryptfs/messaging.c if (ecryptfs_msg_ctx_arr) { ecryptfs_msg_ctx_arr 418 fs/ecryptfs/messaging.c mutex_lock(&ecryptfs_msg_ctx_arr[i].mux); ecryptfs_msg_ctx_arr 419 fs/ecryptfs/messaging.c kfree(ecryptfs_msg_ctx_arr[i].msg); ecryptfs_msg_ctx_arr 420 fs/ecryptfs/messaging.c mutex_unlock(&ecryptfs_msg_ctx_arr[i].mux); ecryptfs_msg_ctx_arr 422 fs/ecryptfs/messaging.c kfree(ecryptfs_msg_ctx_arr);