Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/ecryptfs/miscdev.c ecryptfs_miscdev_read() -> ecryptfs_msg_ctx_alloc_to_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | msg_ctx->msg | 0 |
| PARAM_VALUE | 0 | msg_ctx->msg_size | 0-u16max |
| PARAM_VALUE | 0 | msg_ctx->mux.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | msg_ctx->mux.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | msg_ctx->mux.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | msg_ctx->mux.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | msg_ctx->mux.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | msg_ctx->mux.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | msg_ctx->mux.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | msg_ctx->type | 0-101,103-255 |
| CAPPED_DATA | 0 | msg_ctx->msg_size | 1 |
| CAPPED_DATA | 0 | &msg_ctx->mux | 1 |
| FUZZY_MAX | 0 | msg_ctx->msg_size | 0 |
| NOCHECK_CALL | |||
| LOCK2 | &daemon->mux | ||
| LOCK2 | 0 | &msg_ctx->mux | |
| TYPE_LOCK | (struct ecryptfs_daemon)->mux | ||
| TYPE_LOCK | (struct ecryptfs_msg_ctx)->mux |
fs/ecryptfs/messaging.c ecryptfs_exorcise_daemon() -> ecryptfs_msg_ctx_alloc_to_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg_ctx | 4096-ptr_max |
| CAPPED_DATA | 0 | &msg_ctx->daemon_out_list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &daemon->mux | ||
| LOCK2 | global &ecryptfs_daemon_hash_mux | ||
| LOCK2 | global &ecryptfs_msg_ctx_lists_mux | ||
| TYPE_LOCK | (struct ecryptfs_daemon)->mux |
fs/ecryptfs/messaging.c ecryptfs_send_message_locked() -> ecryptfs_msg_ctx_alloc_to_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | msg_ctx->node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | msg_ctx->node.prev | 6981584130549288960,7253210987959779328 |
| PARAM_VALUE | 0 | msg_ctx->state | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &(*msg_ctx)->mux | ||
| LOCK2 | global &ecryptfs_daemon_hash_mux | ||
| LOCK2 | global &ecryptfs_msg_ctx_lists_mux | ||
| HALF_LOCKED2 | &crypt_stat->cs_mutex | ||
| HALF_LOCKED2 | &crypt_stat->keysig_list_mutex | ||
| HALF_LOCKED2 | &walker->global_auth_tok_key->sem |
fs/ecryptfs/messaging.c ecryptfs_wait_for_response() -> ecryptfs_msg_ctx_alloc_to_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg_ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | msg_ctx->msg | 0 |
| PARAM_VALUE | 0 | msg_ctx->msg->data_len | 0,19-65556 |
| PARAM_VALUE | 0 | msg_ctx->msg_size | 8,27-65564 |
| PARAM_VALUE | 0 | msg_ctx->mux.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | msg_ctx->mux.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | msg_ctx->mux.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | msg_ctx->mux.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | msg_ctx->mux.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | msg_ctx->mux.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | msg_ctx->mux.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | msg_ctx->mux.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | msg_ctx->mux.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | msg_ctx->mux.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | msg_ctx->mux.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | msg_ctx->mux.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | msg_ctx->mux.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | msg_ctx->state | 2 |
| PARAM_VALUE | 0 | msg_ctx->type | 102 |
| PARAM_VALUE | 0 | *msg_ctx->msg->data | 0-255 |
| CAPPED_DATA | 0 | &msg_ctx->mux | 1 |
| DATA_SOURCE | 0 | msg_ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | msg_ctx->msg->data_len | |
| LOCK2 | global &ecryptfs_msg_ctx_lists_mux | ||
| LOCK2 | 0 | &msg_ctx->mux | |
| HALF_LOCKED2 | &crypt_stat->keysig_list_mutex | ||
| HALF_LOCKED2 | &walker->global_auth_tok_key->sem | ||
| TYPE_LOCK | (struct ecryptfs_msg_ctx)->mux |