Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/smb/client/smb2file.c smb2_push_mand_fdlocks() -> smb2_lockv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | *tcon->ses->server->fastest_cmd | 0-4294967295 |
| PARAM_VALUE | 1 | *tcon->ses->server->slowest_cmd | 0-4294967295 |
| PARAM_VALUE | 5 | num_lock | 1-170 |
| PARAM_VALUE | 6 | buf | 4096-ptr_max |
| BUF_SIZE | 6 | buf | 24-4080 |
| BUF_SIZE | 6 | buf | 24-4080 |
| DATA_SOURCE | 0 | xid | $1 |
| DATA_SOURCE | 6 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cinode->lock_sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cifsInodeInfo)->lock_sem |
fs/smb/client/smb2file.c smb2_push_mand_fdlocks() -> smb2_lockv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | *tcon->ses->server->fastest_cmd | 0-4294967295 |
| PARAM_VALUE | 1 | *tcon->ses->server->slowest_cmd | 0-4294967295 |
| PARAM_VALUE | 5 | num_lock | 1-u32max |
| PARAM_VALUE | 6 | buf | 4096-ptr_max |
| BUF_SIZE | 6 | buf | 24-4080 |
| BUF_SIZE | 6 | buf | 24-4080 |
| DATA_SOURCE | 0 | xid | $1 |
| DATA_SOURCE | 6 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cinode->lock_sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cifsInodeInfo)->lock_sem |
fs/smb/client/smb2file.c smb2_unlock_range() -> smb2_lockv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tcon | 4096-ptr_max |
| PARAM_VALUE | 1 | tcon->ses->server | 4096-ptr_max |
| PARAM_VALUE | 1 | tcon->ses->server->maxBuf | 24-u32max |
| PARAM_VALUE | 1 | *tcon->ses->server->fastest_cmd | 0-4294967295 |
| PARAM_VALUE | 1 | *tcon->ses->server->slowest_cmd | 0-4294967295 |
| PARAM_VALUE | 5 | num_lock | 1-170 |
| PARAM_VALUE | 6 | buf | 4096-ptr_max |
| BUF_SIZE | 6 | buf | 24-4080 |
| BUF_SIZE | 6 | buf | 24-4080 |
| DATA_SOURCE | 0 | xid | $2 |
| DATA_SOURCE | 6 | buf | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cinode->lock_sem | ||
| TYPE_LOCK | (struct cifsInodeInfo)->lock_sem |
fs/smb/client/smb2file.c smb2_unlock_range() -> smb2_lockv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tcon | 4096-ptr_max |
| PARAM_VALUE | 1 | tcon->ses->server | 4096-ptr_max |
| PARAM_VALUE | 1 | tcon->ses->server->maxBuf | 24-u32max |
| PARAM_VALUE | 1 | *tcon->ses->server->fastest_cmd | 0-4294967295 |
| PARAM_VALUE | 1 | *tcon->ses->server->slowest_cmd | 0-4294967295 |
| PARAM_VALUE | 5 | num_lock | 1-u32max |
| PARAM_VALUE | 6 | buf | 4096-ptr_max |
| BUF_SIZE | 6 | buf | 24-4080 |
| BUF_SIZE | 6 | buf | 24-4080 |
| DATA_SOURCE | 0 | xid | $2 |
| DATA_SOURCE | 6 | buf | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cinode->lock_sem | ||
| TYPE_LOCK | (struct cifsInodeInfo)->lock_sem |
fs/smb/client/smb2pdu.c SMB2_lock() -> smb2_lockv()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 5 | num_lock | 1 |
| PARAM_VALUE | 6 | buf | 2457023625166299136 |
| PARAM_VALUE | 6 | buf->Flags | 0-47 |
| DATA_SOURCE | 0 | xid | $0 |
| DATA_SOURCE | 1 | tcon | $1 |
| DATA_SOURCE | 2 | persist_fid | $2 |
| DATA_SOURCE | 3 | volatile_fid | $3 |
| DATA_SOURCE | 4 | pid | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 6 | buf->Offset | 0-9223372036854775806,9223372036854775808-u64max[c][u] |