Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/smb/client/file.c __cifs_get_writable_file() -> open_flags_match()

Type Parameter Key Value
PARAM_VALUE 0 cinode 4096-ptr_max
CAPPED_DATA 0 &cinode->openFileList 1
DATA_SOURCE 0 cinode $0
DATA_SOURCE 1 oflags $2
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 oflags 0-u32max
LOCK2 0 &cinode->open_file_lock
TYPE_LOCK (struct cifsInodeInfo)->open_file_lock

fs/smb/client/file.c __find_readable_file() -> open_flags_match()

Type Parameter Key Value
PARAM_VALUE 0 cinode 4096-ptr_max
CAPPED_DATA 0 &cinode->openFileList 1
DATA_SOURCE 0 cinode $0
DATA_SOURCE 1 oflags $2
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 oflags 0-u32max
LOCK2 0 &cinode->open_file_lock
TYPE_LOCK (struct cifsInodeInfo)->open_file_lock