Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/smb/server/smb_common.c smb1_check_user_session() -> (struct smb_version_ops)->get_cmd_val()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | work | 4096-ptr_max |
| PARAM_VALUE | 0 | work->conn | 4096-ptr_max |
| PARAM_VALUE | 0 | work->conn->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | work->conn->ops->get_cmd_val | 4096-ptr_max |
| PARAM_VALUE | 0 | work->conn->session_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | work->conn->session_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | work->conn->vals->req_capabilities | 0,4,6,8-532 |
| PARAM_VALUE | 0 | work->response_buf | 16,4096-ptr_max |
| PARAM_VALUE | 0 | work->sess->chann_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | work->sess->chann_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | work->sess->rpc_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | work->sess->rpc_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | work->sess->tree_conns_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | work->sess->tree_conns_lock.first_waiter->type | 0-1 |
| DATA_SOURCE | 0 | work | $0 |
| CONTAINER | 0 | -0-8-0+0 | $(-1) |
| NO_OVERFLOW_SIMPLE | 0 | work->iov_alloc_cnt | |
| USER_PTR | 0 | work->request_buf | |
| HALF_LOCKED2 | &pool->lock |
fs/smb/server/connection.c ksmbd_conn_enqueue_request() -> (struct smb_version_ops)->get_cmd_val()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | work | 4096-ptr_max |
| PARAM_VALUE | 0 | work->async_request_entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | work->async_request_entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | work->async_request_entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | work->async_request_entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | work->async_request_entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | work->aux_read_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | work->aux_read_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | work->aux_read_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | work->aux_read_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | work->aux_read_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | work->compound_fid | s32max |
| PARAM_VALUE | 0 | work->compound_pfid | s32max |
| PARAM_VALUE | 0 | work->conn | 4096-ptr_max |
| PARAM_VALUE | 0 | work->conn->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | work->conn->request_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | work->conn->srv_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | work->conn->srv_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | work->conn->srv_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | work->conn->srv_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | work->conn->status | s32min-1,3-s32max |
| PARAM_VALUE | 0 | work->fp_entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | work->fp_entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | work->fp_entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | work->fp_entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | work->fp_entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | work->iov_alloc_cnt | 4 |
| PARAM_VALUE | 0 | work->request_buf | 4096-ptr_max |
| PARAM_VALUE | 0 | work->request_entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | work->request_entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | work->request_entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | work->request_entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | work->request_entry.prev->prev | 4096-ptr_max |
| BUF_SIZE | 0 | work->conn | 128 |
| BUF_SIZE | 0 | work->request_buf | (-1),40-8404997 |
| DATA_SOURCE | 0 | work | $0 |
| USER_PTR | 0 | work->conn->request_buf | |
| USER_PTR | 0 | work->request_buf |
fs/smb/server/smb2pdu.c smb3_set_sign_rsp() -> (struct smb_version_ops)->get_cmd_val()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | work | 4096-ptr_max |
| PARAM_VALUE | 0 | work->conn | 4096-ptr_max |
| PARAM_VALUE | 0 | work->conn->ops | 4096-ptr_max |
| DATA_SOURCE | 0 | work | $0 |
fs/smb/server/server.c __handle_ksmbd_work() -> (struct smb_version_ops)->get_cmd_val()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | work | 4096-ptr_max |
| PARAM_VALUE | 0 | work->conn->ops->get_cmd_val | 4096-ptr_max |
| PARAM_VALUE | 0 | work->conn->session_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | work->conn->session_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | work->response_buf | 16,4096-ptr_max |
| PARAM_VALUE | 0 | work->send_no_response | 1 |
| PARAM_VALUE | 0 | work->sess->chann_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | work->sess->chann_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | work->sess->rpc_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | work->sess->rpc_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | work->sess->tree_conns_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | work->sess->tree_conns_lock.first_waiter->type | 0-1 |
| DATA_SOURCE | 0 | work | $0 |
| NO_OVERFLOW_SIMPLE | 0 | work->iov_alloc_cnt | |
| USER_PTR | 0 | work->request_buf | |
| HALF_LOCKED2 | &pool->lock |
fs/smb/server/server.c __process_request() -> (struct smb_version_ops)->get_cmd_val()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | work | 4096-ptr_max |
| PARAM_VALUE | 0 | work->conn | 4096-ptr_max |
| PARAM_VALUE | 0 | work->conn->ops->get_cmd_val | 4096-ptr_max |
| PARAM_VALUE | 0 | work->conn->session_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | work->conn->session_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | work->conn->status | s32min-1,4-s32max |
| PARAM_VALUE | 0 | work->conn->vals->req_capabilities | 0,4,6,8-532 |
| PARAM_VALUE | 0 | work->response_buf | 16,4096-ptr_max |
| PARAM_VALUE | 0 | work->sess->chann_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | work->sess->chann_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | work->sess->rpc_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | work->sess->rpc_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | work->sess->tree_conns_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | work->sess->tree_conns_lock.first_waiter->type | 0-1 |
| DATA_SOURCE | 0 | work | $0 |
| NO_OVERFLOW_SIMPLE | 0 | work->iov_alloc_cnt | |
| USER_PTR | 0 | work->request_buf | |
| HALF_LOCKED2 | &pool->lock |