Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/smb/client/file.c cifs_getlk() -> (struct smb_version_operations)->mand_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cfile | 4096-ptr_max |
| PARAM_VALUE | 1 | cfile->dentry | 4096-ptr_max |
| PARAM_VALUE | 1 | cfile->tlink | 4096-ptr_max |
| PARAM_VALUE | 1 | cfile->tlink->tl_tcon->ses | 4096-ptr_max |
| PARAM_VALUE | 4 | type | 0-2,4,16-18,20 |
| PARAM_VALUE | 5 | lock | 1 |
| PARAM_VALUE | 6 | unlock | 0 |
| PARAM_VALUE | 7 | wait | 0 |
| BUF_SIZE | 1 | cfile | (-1),26 |
| BUF_SIZE | 1 | cfile | (-1),26 |
| CAPPED_DATA | 4 | type | 1 |
| DATA_SOURCE | 0 | xid | $5 |
| DATA_SOURCE | 3 | length | r cifs_flock_len |
| DATA_SOURCE | 4 | type | $2 |
| NOSPEC | 2 | offset | |
| NOSPEC | 2 | offset | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | offset | 0-9223372036854775806,9223372036854775808-u64max[c][u] |
fs/smb/client/file.c cifs_getlk() -> (struct smb_version_operations)->mand_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cfile | 4096-ptr_max |
| PARAM_VALUE | 1 | cfile->dentry | 4096-ptr_max |
| PARAM_VALUE | 1 | cfile->tlink | 4096-ptr_max |
| PARAM_VALUE | 1 | cfile->tlink->tl_tcon->ses | 4096-ptr_max |
| PARAM_VALUE | 4 | type | 0-2,4,16-18,20 |
| PARAM_VALUE | 5 | lock | 0 |
| PARAM_VALUE | 6 | unlock | 1 |
| PARAM_VALUE | 7 | wait | 0 |
| BUF_SIZE | 1 | cfile | (-1),26 |
| BUF_SIZE | 1 | cfile | (-1),26 |
| CAPPED_DATA | 4 | type | 1 |
| DATA_SOURCE | 0 | xid | $5 |
| DATA_SOURCE | 3 | length | r cifs_flock_len |
| DATA_SOURCE | 4 | type | $2 |
| NOSPEC | 2 | offset | |
| NOSPEC | 2 | offset | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | offset | 0-9223372036854775806,9223372036854775808-u64max[c][u] |
fs/smb/client/file.c cifs_getlk() -> (struct smb_version_operations)->mand_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cfile | 4096-ptr_max |
| PARAM_VALUE | 1 | cfile->dentry | 4096-ptr_max |
| PARAM_VALUE | 1 | cfile->tlink | 4096-ptr_max |
| PARAM_VALUE | 1 | cfile->tlink->tl_tcon->ses | 4096-ptr_max |
| PARAM_VALUE | 4 | type | 0-31 |
| PARAM_VALUE | 5 | lock | 1 |
| PARAM_VALUE | 6 | unlock | 0 |
| PARAM_VALUE | 7 | wait | 0 |
| BUF_SIZE | 1 | cfile | (-1),26 |
| BUF_SIZE | 1 | cfile | (-1),26 |
| DATA_SOURCE | 0 | xid | $5 |
| DATA_SOURCE | 3 | length | r cifs_flock_len |
| NOSPEC | 2 | offset | |
| NOSPEC | 2 | offset | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | offset | 0-9223372036854775806,9223372036854775808-u64max[c][u] |
fs/smb/client/file.c cifs_getlk() -> (struct smb_version_operations)->mand_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cfile | 4096-ptr_max |
| PARAM_VALUE | 1 | cfile->dentry | 4096-ptr_max |
| PARAM_VALUE | 1 | cfile->tlink | 4096-ptr_max |
| PARAM_VALUE | 1 | cfile->tlink->tl_tcon->ses | 4096-ptr_max |
| PARAM_VALUE | 4 | type | 0-31 |
| PARAM_VALUE | 5 | lock | 0 |
| PARAM_VALUE | 6 | unlock | 1 |
| PARAM_VALUE | 7 | wait | 0 |
| BUF_SIZE | 1 | cfile | (-1),26 |
| BUF_SIZE | 1 | cfile | (-1),26 |
| DATA_SOURCE | 0 | xid | $5 |
| DATA_SOURCE | 3 | length | r cifs_flock_len |
| NOSPEC | 2 | offset | |
| NOSPEC | 2 | offset | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | offset | 0-9223372036854775806,9223372036854775808-u64max[c][u] |
fs/smb/client/file.c cifs_setlk() -> (struct smb_version_operations)->mand_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cfile | 4096-ptr_max |
| PARAM_VALUE | 1 | cfile->dentry | 4096-ptr_max |
| PARAM_VALUE | 1 | cfile->dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | cfile->dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | cfile->dentry->d_inode->i_mapping->invalidate_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | cfile->dentry->d_inode->i_mapping->invalidate_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | cfile->tlink | 4096-ptr_max |
| PARAM_VALUE | 1 | cfile->tlink->tl_tcon->ses | 4096-ptr_max |
| PARAM_VALUE | 4 | type | 0-2,4,16-18,20 |
| PARAM_VALUE | 5 | lock | 1 |
| PARAM_VALUE | 6 | unlock | 0 |
| BUF_SIZE | 1 | cfile | (-1),26 |
| BUF_SIZE | 1 | cfile | (-1),26 |
| DATA_SOURCE | 0 | xid | $7 |
| DATA_SOURCE | 3 | length | r cifs_flock_len |
| DATA_SOURCE | 4 | type | $2 |
| DATA_SOURCE | 7 | wait | $3 |
| NOSPEC | 2 | offset | |
| NOSPEC | 2 | offset | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | offset | 0-9223372036854775806,9223372036854775808-u64max[c][u] |