Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/smb/server/smb2pdu.c smb2_write() -> ksmbd_vfs_write()
| 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->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 | fp | 4096-ptr_max |
| PARAM_VALUE | 1 | fp->daccess | 2-u32max |
| PARAM_VALUE | 1 | fp->f_state | 1 |
| PARAM_VALUE | 1 | fp->refcount.counter | 0-s32max |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | count | 0-u32max |
| PARAM_VALUE | 4 | pos | 611149666840760320 |
| PARAM_VALUE | 4 | *pos | 0-s64max |
| PARAM_VALUE | 6 | written | 3588556536603856896 |
| CAPPED_DATA | 0 | work->tcon | 1 |
| CAPPED_DATA | 1 | fp->persistent_id | 1 |
| CAPPED_DATA | 1 | fp->tcon | 1 |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 0 | work | $0 |
| DATA_SOURCE | 1 | fp | r ksmbd_lookup_fd_slow |
| USER_DATA | 2 | *buf | 0-255 |
| USER_DATA | 3 | count | 0-s32max[c] |
| USER_DATA | 4 | *pos | 0-s64max |
| UNITS | 2 | buf | unit_byte |
| UNITS | 3 | count | unit_byte |
| USER_PTR | 0 | work->request_buf | |
| USER_PTR | 2 | buf | |
| USER_PTR | 4 | pos | |
| HALF_LOCKED2 | &pool->lock |
fs/smb/server/smb2pdu.c smb2_write_rdma_channel() -> ksmbd_vfs_write()
| 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->transport | 4096-ptr_max |
| PARAM_VALUE | 0 | work->conn->transport->ops | 4096-ptr_max |
| 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-416 |
| 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 | fp | 4096-ptr_max |
| PARAM_VALUE | 1 | fp->daccess | 2-u32max |
| PARAM_VALUE | 1 | fp->f_state | 1 |
| PARAM_VALUE | 1 | fp->refcount.counter | 0-s32max |
| PARAM_VALUE | 2 | buf | 1-18446744073709551614 |
| PARAM_VALUE | 3 | count | 0-u32max |
| PARAM_VALUE | 4 | *pos | 0-s64max |
| PARAM_VALUE | 6 | written | 2838184309263339520 |
| BUF_SIZE | 2 | buf | 0-u32max |
| BUF_SIZE | 2 | buf | 0-u32max |
| CAPPED_DATA | 0 | work->tcon | 1 |
| CAPPED_DATA | 1 | fp->persistent_id | 1 |
| CAPPED_DATA | 1 | fp->tcon | 1 |
| CAPPED_DATA | 3 | count | 1 |
| CAPPED_DATA | 3 | count | 1 |
| DATA_SOURCE | 0 | work | $0 |
| DATA_SOURCE | 1 | fp | $2 |
| DATA_SOURCE | 2 | buf | r __kvmalloc_node_noprof |
| DATA_SOURCE | 3 | count | $4 |
| DATA_SOURCE | 5 | sync | $5 |
| USER_DATA | 0 | work->remote_key | 0-u32max[u] |
| USER_DATA | 3 | count | 0-s32max[c] |
| USER_DATA | 4 | *pos | 0-s64max |
| UNITS | 3 | count | unit_byte |
| BYTE_COUNT | 2 | ==buf3 | 8050 |
| USER_PTR | 0 | work->request_buf | |
| USER_PTR | 4 | pos | |
| LOCK2 | &pool->lock |