Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/smb/client/file.c cifs_begin_writeback() -> cifs_get_writable_file()

Type Parameter Key Value
PARAM_VALUE 0 cifs_inode 4096-ptr_max
PARAM_VALUE 1 find_flags 0
PARAM_VALUE 2 ret_file 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &vnode->validate_lock

fs/smb/client/file.c cifs_file_flush() -> cifs_get_writable_file()

Type Parameter Key Value
PARAM_VALUE 0 cifs_inode 4096-ptr_max
PARAM_VALUE 1 find_flags 0
PARAM_VALUE 2 *ret_file 0,4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

fs/smb/client/file.c cifs_get_writable_path() -> cifs_get_writable_file()

Type Parameter Key Value
PARAM_VALUE 0 cifs_inode 4096-ptr_max
PARAM_VALUE 1 find_flags 0,2
PARAM_VALUE 2 ret_file 880264400952459264,1605000280090750976,2632872473294405632,6072126982031478784,6499393942880555008,8239213886227197952
PARAM_VALUE 2 *ret_file 0
DATA_SOURCE 1 find_flags $3
DATA_SOURCE 2 ret_file $4
RX_PATH
TASK_NOT_RUNNING

fs/smb/client/file.c cifs_get_writable_path() -> cifs_get_writable_file()

Type Parameter Key Value
PARAM_VALUE 0 cifs_inode 4096-ptr_max
PARAM_VALUE 1 find_flags 0,2
PARAM_VALUE 2 ret_file 2632872473294405632,8239213886227197952,8811338434481762304
PARAM_VALUE 2 *ret_file 0
DATA_SOURCE 0 cifs_inode r CIFS_I
DATA_SOURCE 1 find_flags $3
DATA_SOURCE 2 ret_file $4
RX_PATH
TASK_NOT_RUNNING

fs/smb/client/file.c find_writable_file() -> cifs_get_writable_file()

Type Parameter Key Value
PARAM_VALUE 0 cifs_inode 4096-ptr_max
PARAM_VALUE 1 find_flags 0-1
PARAM_VALUE 2 ret_file 8927498404879314944
DATA_SOURCE 0 cifs_inode $0
DATA_SOURCE 1 find_flags $1
RX_PATH
TASK_NOT_RUNNING

fs/smb/client/ioctl.c cifs_ioctl_set_compression() -> cifs_get_writable_file()

Type Parameter Key Value
PARAM_VALUE 0 cifs_inode 4096-ptr_max
PARAM_VALUE 1 find_flags 1
PARAM_VALUE 2 ret_file 6367693603738066944