Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/smb/client/file.c cifs_do_truncate() -> cifs_file_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | inode | 4096-ptr_max |
| PARAM_VALUE | 1 | inode->i_mapping->nrpages | 0-1 |
| PARAM_VALUE | 2 | cfile | 0,4096-ptr_max |
| PARAM_VALUE | 2 | cfile->fh_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | cfile->invalidHandle | 0 |
| DATA_SOURCE | 0 | xid | $0 |
| DATA_SOURCE | 2 | cfile | r find_writable_file |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/smb/client/file.c cifs_strict_fsync() -> cifs_file_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | inode->i_mapping->invalidate_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | inode->i_mapping->invalidate_lock.first_waiter->type | 0-1 |
| BUF_SIZE | 2 | cfile | (-1),26 |
| BUF_SIZE | 2 | cfile | (-1),26 |
| DATA_SOURCE | 0 | xid | r _get_xid |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | inode->i_blocks | 0-18014398509481984[c] |
fs/smb/client/inode.c cifs_setattr_nounix() -> cifs_file_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 2 | cfile | s32min-(-2),0-s32max |
| BUF_SIZE | 2 | cfile | s32min-(-2),0-s32max |
| DATA_SOURCE | 0 | xid | r _get_xid |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | inode->i_blocks | 0-36028797018963960[c] |
| USER_DATA | 1 | inode->i_mode | 0-u16max |
| USER_DATA | 1 | inode->i_size | (-9223372036854775807)-(-2),0-s64max |
| HALF_LOCKED2 | &direntry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &direntry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock |