Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/smb/server/smb2pdu.c smb2_read() -> setup_async_work()
| 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 | 4096-ptr_max |
| PARAM_VALUE | 0 | work->conn->vals->req_capabilities | 0,4,6,8,12,14,16-416 |
| PARAM_VALUE | 0 | work->next_smb2_rcv_hdr_off | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | work->response_buf | 16,4096-ptr_max |
| PARAM_VALUE | 0 | work->sess | 0,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->file_table.lock.dep_map->name | 0-255 |
| 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 |
| PARAM_VALUE | 0 | work->tcon | 4096-ptr_max |
| PARAM_VALUE | 0 | work->tcon->share_conf | 4096-ptr_max |
| PARAM_VALUE | 1 | fn | 0 |
| PARAM_VALUE | 2 | arg | 0 |
| CAPPED_DATA | 0 | work->tcon | 1 |
| DATA_SOURCE | 0 | work | $0 |
| USER_PTR | 0 | work->request_buf | |
| HALF_LOCKED2 | &pool->lock |
fs/smb/server/smb2pdu.c smb2_write() -> setup_async_work()
| 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 | 4096-ptr_max |
| PARAM_VALUE | 0 | work->conn->vals->max_write_size | 0,65536-8388608 |
| PARAM_VALUE | 0 | work->conn->vals->req_capabilities | 0,4,6,8,12,14,16-416 |
| PARAM_VALUE | 0 | work->next_smb2_rcv_hdr_off | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | work->response_buf | 16,4096-ptr_max |
| PARAM_VALUE | 0 | work->sess | 0,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->file_table.lock.dep_map->name | 0-255 |
| 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 |
| PARAM_VALUE | 0 | work->tcon | 4096-ptr_max |
| PARAM_VALUE | 0 | work->tcon->share_conf | 4096-ptr_max |
| PARAM_VALUE | 1 | fn | 0 |
| PARAM_VALUE | 2 | arg | 0 |
| CAPPED_DATA | 0 | work->tcon | 1 |
| DATA_SOURCE | 0 | work | $0 |
| USER_DATA | 0 | work->remote_key | 0-u32max[u] |
| USER_PTR | 0 | work->request_buf | |
| HALF_LOCKED2 | &pool->lock |
fs/smb/server/oplock.c oplock_break() -> setup_async_work()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | work | 4096-ptr_max |
| PARAM_VALUE | 1 | fn | 0 |
| PARAM_VALUE | 2 | arg | 0 |
| DATA_SOURCE | 0 | work | $2 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | work->remote_key | 0-u32max[u] |
| NO_OVERFLOW_SIMPLE | 0 | work->response_sz | |
| USER_PTR | 0 | work->request_buf |
fs/smb/server/oplock.c oplock_break() -> setup_async_work()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | work | 4096-ptr_max |
| PARAM_VALUE | 1 | fn | 0 |
| PARAM_VALUE | 2 | arg | 0 |
| DATA_SOURCE | 0 | work | $2 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | work->remote_key | 0-u32max[u] |
| NO_OVERFLOW_SIMPLE | 0 | work->response_sz | |
| USER_PTR | 0 | work->request_buf |