Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/smb/server/transport_ipc.c ksmbd_rpc_close() -> ksmbd_session_rpc_method()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sess | 4096-ptr_max |
| PARAM_VALUE | 0 | sess->chann_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sess->chann_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sess->rpc_handle_list.xa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sess->rpc_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sess->rpc_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sess->rpc_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sess->rpc_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | sess->rpc_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | sess->rpc_lock.wait_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | sess->tree_conns_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sess->tree_conns_lock.first_waiter->type | 0-1 |
| BUF_SIZE | 0 | sess | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | sess | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | sess | $0 |
| DATA_SOURCE | 1 | id | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sess | unit_array_size |
| LOCK2 | 0 | &sess->rpc_lock | |
| HALF_LOCKED2 | 0 | &sess->chann_lock | |
| TYPE_LOCK | (struct ksmbd_session)->rpc_lock |
fs/smb/server/transport_ipc.c ksmbd_rpc_ioctl() -> ksmbd_session_rpc_method()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sess | 4096-ptr_max |
| PARAM_VALUE | 0 | sess->chann_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sess->chann_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sess->rpc_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sess->rpc_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sess->rpc_lock.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | sess->rpc_lock.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | sess->rpc_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sess->rpc_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sess->rpc_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | sess->rpc_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | sess->tree_conns_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sess->tree_conns_lock.first_waiter->type | 0-1 |
| CAPPED_DATA | 0 | &sess->rpc_lock | 1 |
| DATA_SOURCE | 0 | sess | $0 |
| DATA_SOURCE | 1 | id | $1 |
| LOCK2 | &pool->lock | ||
| LOCK2 | 0 | &sess->rpc_lock | |
| TYPE_LOCK | (struct ksmbd_session)->rpc_lock |
fs/smb/server/transport_ipc.c ksmbd_rpc_open() -> ksmbd_session_rpc_method()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sess | 4096-ptr_max |
| PARAM_VALUE | 0 | sess->rpc_handle_list.xa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sess->rpc_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sess->rpc_lock.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | sess->rpc_lock.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | sess->rpc_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sess->rpc_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | sess->rpc_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sess->rpc_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | sess->rpc_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | id | 0-s32max |
| DATA_SOURCE | 0 | sess | $0 |
| DATA_SOURCE | 1 | id | $1 |
| LOCK2 | 0 | &sess->rpc_lock | |
| TYPE_LOCK | (struct ksmbd_session)->rpc_lock |
fs/smb/server/transport_ipc.c ksmbd_rpc_read() -> ksmbd_session_rpc_method()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sess | 4096-ptr_max |
| PARAM_VALUE | 0 | sess->chann_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sess->chann_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sess->rpc_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sess->rpc_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sess->rpc_lock.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | sess->rpc_lock.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | sess->rpc_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sess->rpc_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sess->rpc_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | sess->rpc_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | sess->tree_conns_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sess->tree_conns_lock.first_waiter->type | 0-1 |
| CAPPED_DATA | 0 | &sess->rpc_lock | 1 |
| DATA_SOURCE | 0 | sess | $0 |
| DATA_SOURCE | 1 | id | $1 |
| USER_DATA | 1 | id | s32min-s32max |
| LOCK2 | &pool->lock | ||
| LOCK2 | 0 | &sess->rpc_lock | |
| TYPE_LOCK | (struct ksmbd_session)->rpc_lock |
fs/smb/server/transport_ipc.c ksmbd_rpc_write() -> ksmbd_session_rpc_method()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sess | 4096-ptr_max |
| PARAM_VALUE | 0 | sess->chann_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sess->chann_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sess->rpc_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sess->rpc_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sess->rpc_lock.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | sess->rpc_lock.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | sess->rpc_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sess->rpc_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sess->rpc_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | sess->rpc_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | sess->tree_conns_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sess->tree_conns_lock.first_waiter->type | 0-1 |
| CAPPED_DATA | 0 | &sess->rpc_lock | 1 |
| DATA_SOURCE | 0 | sess | $0 |
| DATA_SOURCE | 1 | id | $1 |
| USER_DATA | 1 | id | s32min-s32max |
| LOCK2 | &pool->lock | ||
| LOCK2 | 0 | &sess->rpc_lock | |
| TYPE_LOCK | (struct ksmbd_session)->rpc_lock |
fs/smb/server/smb2pdu.c smb2_get_info_file_pipe() -> ksmbd_session_rpc_method()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sess | 4096-ptr_max |
| PARAM_VALUE | 0 | sess->chann_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sess->chann_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sess->rpc_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sess->rpc_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sess->rpc_lock.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | sess->rpc_lock.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | sess->rpc_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sess->rpc_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sess->rpc_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | sess->rpc_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | sess->tree_conns_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sess->tree_conns_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sess->user | 4096-ptr_max |
| CAPPED_DATA | 0 | sess->user->ngroups | 1 |
| CAPPED_DATA | 0 | &sess->rpc_lock | 1 |
| DATA_SOURCE | 0 | sess | $0 |
| USER_DATA | 1 | id | s32min-s32max |
| LOCK2 | &pool->lock | ||
| LOCK2 | 0 | &sess->rpc_lock | |
| TYPE_LOCK | (struct ksmbd_session)->rpc_lock |