Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/smb/server/transport_ipc.c ksmbd_ipc_heartbeat_request() -> ipc_msg_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->sz | 4 |
| PARAM_VALUE | 0 | msg->type | 1 |
| BUF_SIZE | 0 | msg | 12 |
| BUF_SIZE | 0 | msg | 12 |
| DATA_SOURCE | 0 | msg | r ipc_msg_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &startup_lock |
fs/smb/server/transport_ipc.c ksmbd_ipc_login_request() -> ipc_msg_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->payload | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->sz | 116 |
| PARAM_VALUE | 0 | msg->type | 4 |
| BUF_SIZE | 0 | msg | 124 |
| BUF_SIZE | 0 | msg | 124 |
| DATA_SOURCE | 0 | msg | r ipc_msg_alloc |
| NOCHECK_CALL | |||
| LOCK2 | &conn->srv_mutex | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ksmbd_conn)->srv_mutex |
fs/smb/server/transport_ipc.c ksmbd_ipc_login_request_ext() -> ipc_msg_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->payload | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->sz | 116 |
| PARAM_VALUE | 0 | msg->type | 16 |
| BUF_SIZE | 0 | msg | 124 |
| BUF_SIZE | 0 | msg | 124 |
| DATA_SOURCE | 0 | msg | r ipc_msg_alloc |
| NOCHECK_CALL | |||
| LOCK2 | &conn->srv_mutex | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ksmbd_conn)->srv_mutex |
fs/smb/server/transport_ipc.c ksmbd_ipc_logout_request() -> ipc_msg_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->payload | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->sz | 116 |
| PARAM_VALUE | 0 | msg->type | 11 |
| BUF_SIZE | 0 | msg | 124 |
| BUF_SIZE | 0 | msg | 124 |
| DATA_SOURCE | 0 | msg | r ipc_msg_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &conn->srv_mutex | ||
| HALF_LOCKED2 | &pool->lock |
fs/smb/server/transport_ipc.c ksmbd_ipc_share_config_request() -> ipc_msg_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->payload | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->sz | 132 |
| PARAM_VALUE | 0 | msg->type | 6 |
| BUF_SIZE | 0 | msg | 140 |
| BUF_SIZE | 0 | msg | 140 |
| DATA_SOURCE | 0 | msg | r ipc_msg_alloc |
| NOCHECK_CALL | |||
| LOCK2 | &pool->lock |
fs/smb/server/transport_ipc.c ksmbd_ipc_spnego_authen_request() -> ipc_msg_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->payload | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->payload->spnego_blob_len | 0-4096 |
| PARAM_VALUE | 0 | msg->sz | 9-4105 |
| PARAM_VALUE | 0 | msg->type | 14 |
| BUF_SIZE | 0 | msg | 17-4113 |
| BUF_SIZE | 0 | msg | 17-4113 |
| DATA_SOURCE | 0 | msg | r ipc_msg_alloc |
| FUZZY_MAX | 0 | msg->sz | 4105 |
| HARD_MAX | 0 | msg->sz | 4105 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | msg->sz | 9-4105[c] |
| LOCK2 | &conn->srv_mutex | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ksmbd_conn)->srv_mutex |
fs/smb/server/transport_ipc.c ksmbd_ipc_tree_connect_request() -> ipc_msg_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->payload | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->payload->connect_id | 0-s32max |
| PARAM_VALUE | 0 | msg->sz | 264 |
| PARAM_VALUE | 0 | msg->type | 8 |
| BUF_SIZE | 0 | msg | 272 |
| BUF_SIZE | 0 | msg | 272 |
| DATA_SOURCE | 0 | msg | r ipc_msg_alloc |
| NOCHECK_CALL | |||
| LOCK2 | &pool->lock |
fs/smb/server/transport_ipc.c ksmbd_ipc_tree_disconnect_request() -> ipc_msg_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->payload | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->payload->connect_id | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 0 | msg->sz | 80 |
| PARAM_VALUE | 0 | msg->type | 10 |
| BUF_SIZE | 0 | msg | 88 |
| BUF_SIZE | 0 | msg | 88 |
| DATA_SOURCE | 0 | msg | r ipc_msg_alloc |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &sess->tree_conns_lock |
fs/smb/server/transport_ipc.c ksmbd_rpc_close() -> ipc_msg_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->payload | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->payload->payload_sz | 0 |
| PARAM_VALUE | 0 | msg->sz | 12 |
| PARAM_VALUE | 0 | msg->type | 12 |
| BUF_SIZE | 0 | msg | 20 |
| BUF_SIZE | 0 | msg | 20 |
| DATA_SOURCE | 0 | msg | r ipc_msg_alloc |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &sess->rpc_lock | ||
| HALF_LOCKED2 | &sess->chann_lock | ||
| TYPE_LOCK | (struct ksmbd_session)->rpc_lock |
fs/smb/server/transport_ipc.c ksmbd_rpc_ioctl() -> ipc_msg_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->payload | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->payload->payload_sz | 0-4096 |
| PARAM_VALUE | 0 | msg->sz | 13-4109 |
| PARAM_VALUE | 0 | msg->type | 12 |
| BUF_SIZE | 0 | msg | 21-4117 |
| BUF_SIZE | 0 | msg | 21-4117 |
| DATA_SOURCE | 0 | msg | r ipc_msg_alloc |
| FUZZY_MAX | 0 | msg->sz | 4109 |
| HARD_MAX | 0 | msg->sz | 4109 |
| NOCHECK_CALL | |||
| LOCK2 | &pool->lock |
fs/smb/server/transport_ipc.c ksmbd_rpc_open() -> ipc_msg_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->payload | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->payload->handle | 0-s32max |
| PARAM_VALUE | 0 | msg->payload->payload_sz | 0 |
| PARAM_VALUE | 0 | msg->sz | 12 |
| PARAM_VALUE | 0 | msg->type | 12 |
| BUF_SIZE | 0 | msg | 20 |
| BUF_SIZE | 0 | msg | 20 |
| DATA_SOURCE | 0 | msg | r ipc_msg_alloc |
| NOCHECK_CALL | |||
| LOCK2 | &sess->rpc_lock | ||
| TYPE_LOCK | (struct ksmbd_session)->rpc_lock |
fs/smb/server/transport_ipc.c ksmbd_rpc_read() -> ipc_msg_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->payload | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->payload->payload_sz | 0 |
| PARAM_VALUE | 0 | msg->sz | 12 |
| PARAM_VALUE | 0 | msg->type | 12 |
| BUF_SIZE | 0 | msg | 20 |
| BUF_SIZE | 0 | msg | 20 |
| DATA_SOURCE | 0 | msg | r ipc_msg_alloc |
| NOCHECK_CALL | |||
| LOCK2 | &pool->lock |
fs/smb/server/transport_ipc.c ksmbd_rpc_write() -> ipc_msg_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->payload | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->payload->payload_sz | 0-4096 |
| PARAM_VALUE | 0 | msg->sz | 13-4109 |
| PARAM_VALUE | 0 | msg->type | 12 |
| BUF_SIZE | 0 | msg | 21-4117 |
| BUF_SIZE | 0 | msg | 21-4117 |
| DATA_SOURCE | 0 | msg | r ipc_msg_alloc |
| FUZZY_MAX | 0 | msg->sz | 4109 |
| HARD_MAX | 0 | msg->sz | 4109 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | msg->sz | 13-4109[c] |
| LOCK2 | &pool->lock |