Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- fs/smb/client/cifsfs.c, line 1319
- fs/smb/client/file.c
- fs/smb/client/inode.c
- fs/smb/client/smb1ops.c, line 966
- fs/smb/client/smb2ops.c, line 4065
Smatch caller information:
fs/smb/client/smb1ops.c smb_set_file_info() -> find_writable_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_inode | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 1 |
| DATA_SOURCE | 0 | cifs_inode | r CIFS_I |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/smb/client/file.c cifs_do_truncate() -> find_writable_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_inode | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 1 |
| DATA_SOURCE | 0 | cifs_inode | r CIFS_I |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/file.c cifs_fsync() -> find_writable_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_inode | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/smb2ops.c smb3_llseek() -> find_writable_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_inode | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 0 |
| DATA_SOURCE | 0 | cifs_inode | r CIFS_I |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/inode.c cifs_file_set_size() -> find_writable_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_inode | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 1 |
| DATA_SOURCE | 0 | cifs_inode | r CIFS_I |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/smb/client/inode.c cifs_setattr_unix() -> find_writable_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_inode | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 1 |
| DATA_SOURCE | 0 | cifs_inode | r CIFS_I |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &direntry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &direntry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock |
fs/smb/client/cifsfs.c cifs_precopy_set_eof() -> find_writable_file()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cifs_inode | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 1 |
| DATA_SOURCE | 0 | cifs_inode | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |