Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/smb/client/file.c cifs_nt_open() -> cifs_convert_flags()

Type Parameter Key Value
PARAM_VALUE 1 rdwr_for_fscache 0-1
DATA_SOURCE 0 oflags $4
FUZZY_MAX 1 rdwr_for_fscache 1
HARD_MAX 1 rdwr_for_fscache 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 oflags 0-u32max

fs/smb/client/file.c cifs_nt_open() -> cifs_convert_flags()

Type Parameter Key Value
PARAM_VALUE 1 rdwr_for_fscache 0
DATA_SOURCE 0 oflags $4
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 oflags 0-u32max

fs/smb/client/file.c cifs_reopen_file() -> cifs_convert_flags()

Type Parameter Key Value
PARAM_VALUE 1 rdwr_for_fscache 0-1
FUZZY_MAX 1 rdwr_for_fscache 1
HARD_MAX 1 rdwr_for_fscache 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &cfile->fh_mutex
HALF_LOCKED2 &pserver->reconnect_mutex
TYPE_LOCK (struct cifsFileInfo)->fh_mutex

fs/smb/client/file.c cifs_reopen_file() -> cifs_convert_flags()

Type Parameter Key Value
PARAM_VALUE 1 rdwr_for_fscache 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &cfile->fh_mutex
HALF_LOCKED2 &pserver->reconnect_mutex
TYPE_LOCK (struct cifsFileInfo)->fh_mutex

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

Type Parameter Key Value
PARAM_VALUE 1 rdwr_for_fscache 0-1
DATA_SOURCE 0 oflags $1 [m]
FUZZY_MAX 1 rdwr_for_fscache 1
BIT_INFO 0 oflags 0x0,0xfffffd3f
HARD_MAX 1 rdwr_for_fscache 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 oflags 0-u32max[c]
LOCK2 &cinode->open_file_lock
TYPE_LOCK (struct cifsInodeInfo)->open_file_lock

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

Type Parameter Key Value
PARAM_VALUE 1 rdwr_for_fscache 0-1
DATA_SOURCE 0 oflags $2 [m]
FUZZY_MAX 1 rdwr_for_fscache 1
BIT_INFO 0 oflags 0x0,0xfffffd3f
HARD_MAX 1 rdwr_for_fscache 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &cinode->open_file_lock
TYPE_LOCK (struct cifsInodeInfo)->open_file_lock