Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/smb/client/link.c smb3_create_mf_symlink() -> SMB2_open()

Type Parameter Key Value
PARAM_VALUE 1 oparms 8059178746150141952
PARAM_VALUE 2 path 16,4096-ptr_max
PARAM_VALUE 3 oplock 4811070659394822144
PARAM_VALUE 3 *oplock 0
PARAM_VALUE 4 buf 0
PARAM_VALUE 5 posix 0
PARAM_VALUE 6 err_iov 0
PARAM_VALUE 7 buftype 0
BUF_SIZE 2 path s32min-s32max
DATA_SOURCE 0 xid $0
DATA_SOURCE 2 path r cifs_convert_path_to_utf16
RX_PATH
TASK_NOT_RUNNING

fs/smb/client/link.c smb3_query_mf_symlink() -> SMB2_open()

Type Parameter Key Value
PARAM_VALUE 1 oparms 5697062890065620992
PARAM_VALUE 2 path 16,4096-ptr_max
PARAM_VALUE 3 oplock 8604127491489288192
PARAM_VALUE 3 *oplock 0
PARAM_VALUE 4 buf 3103569618864619520
PARAM_VALUE 4 buf->fi.AllocationSize 0
PARAM_VALUE 4 buf->fi.Attributes 0
PARAM_VALUE 4 buf->fi.ChangeTime 0
PARAM_VALUE 4 buf->fi.CreationTime 0
PARAM_VALUE 4 buf->fi.DeletePending 0
PARAM_VALUE 4 buf->fi.EndOfFile 0
PARAM_VALUE 4 buf->fi.LastAccessTime 0
PARAM_VALUE 4 buf->fi.LastWriteTime 0
PARAM_VALUE 4 buf->fi.Mode 0
PARAM_VALUE 4 buf->fi.NumberOfLinks 0
PARAM_VALUE 4 buf->fi.Pad1 0
PARAM_VALUE 4 buf->fi.Pad2 0
PARAM_VALUE 4 buf->fi.__pad 0
PARAM_VALUE 4 buf->unknown_nlink 0
PARAM_VALUE 5 posix 0
PARAM_VALUE 6 err_iov 0
PARAM_VALUE 7 buftype 0
BUF_SIZE 2 path s32min-s32max
DATA_SOURCE 0 xid $0
DATA_SOURCE 2 path r cifs_convert_path_to_utf16
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &cifs_mount_mutex

fs/smb/client/smb2file.c smb2_open_file() -> SMB2_open()

Type Parameter Key Value
PARAM_VALUE 1 oparms 4096-ptr_max
PARAM_VALUE 1 oparms->cifs_sb 4096-ptr_max
PARAM_VALUE 1 oparms->desired_access s32min-126,128-s32max
PARAM_VALUE 1 oparms->path 4096-ptr_max
PARAM_VALUE 2 path 16,4096-ptr_max
PARAM_VALUE 3 oplock 5080877505394376704
PARAM_VALUE 3 *oplock 9
PARAM_VALUE 4 buf 0,2429840456621297664,2557137034286051328,5474962667620720640,7783116886351835136,8485434604854788096
PARAM_VALUE 5 posix 0
PARAM_VALUE 6 err_iov 7426014235463213056
PARAM_VALUE 6 err_iov->iov_base 0
PARAM_VALUE 6 err_iov->iov_len 0
PARAM_VALUE 7 buftype 8051927820801761280
PARAM_VALUE 7 *buftype 0
BUF_SIZE 2 path s32min-s32max
BUF_SIZE 4 buf (-1),384
BUF_SIZE 4 buf (-1),384
DATA_SOURCE 0 xid $0
DATA_SOURCE 1 oparms $1
DATA_SOURCE 2 path r cifs_convert_path_to_utf16
DATA_SOURCE 4 buf $3
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &cfile->fh_mutex

fs/smb/client/smb2file.c smb2_open_file() -> SMB2_open()

Type Parameter Key Value
PARAM_VALUE 1 oparms 4096-ptr_max
PARAM_VALUE 1 oparms->cifs_sb 4096-ptr_max
PARAM_VALUE 1 oparms->desired_access s32min-(-129),0-s32max
PARAM_VALUE 1 oparms->path 4096-ptr_max
PARAM_VALUE 1 oparms->tcon 4096-ptr_max
PARAM_VALUE 1 oparms->tcon->need_reconnect 1
PARAM_VALUE 1 oparms->tcon->ses 4096-ptr_max
PARAM_VALUE 1 oparms->tcon->ses->chan_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 *oparms->fid->lease_key 0-255
PARAM_VALUE 2 path 16,4096-ptr_max
PARAM_VALUE 3 oplock 5080877505394376704
PARAM_VALUE 4 buf 0,2429840456621297664,2557137034286051328,5474962667620720640,7783116886351835136,8485434604854788096
PARAM_VALUE 4 buf->fi.DeletePending 0
PARAM_VALUE 4 buf->fi.NumberOfLinks 1
PARAM_VALUE 4 buf->unknown_nlink 1
PARAM_VALUE 5 posix 0
PARAM_VALUE 6 err_iov 7426014235463213056
PARAM_VALUE 6 err_iov->iov_base 0
PARAM_VALUE 6 err_iov->iov_len 0
PARAM_VALUE 7 buftype 8051927820801761280
PARAM_VALUE 7 *buftype 0
BUF_SIZE 2 path s32min-s32max
BUF_SIZE 4 buf (-1),384
BUF_SIZE 4 buf (-1),384
DATA_SOURCE 0 xid $0
DATA_SOURCE 1 oparms $1
DATA_SOURCE 2 path r cifs_convert_path_to_utf16
DATA_SOURCE 4 buf $3
BIT_INFO 1 oparms->desired_access 0x0,0xffffff7f
MEM_ZERO 6 err_iov
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &cfile->fh_mutex

fs/smb/client/smb2file.c smb2_open_file() -> SMB2_open()

Type Parameter Key Value
PARAM_VALUE 1 oparms 4096-ptr_max
PARAM_VALUE 1 oparms->cifs_sb 4096-ptr_max
PARAM_VALUE 1 oparms->create_options 0,2097152-s32max
PARAM_VALUE 1 oparms->path 4096-ptr_max
PARAM_VALUE 1 oparms->tcon 4096-ptr_max
PARAM_VALUE 1 oparms->tcon->ses 0,4096-ptr_max
PARAM_VALUE 1 oparms->tcon->ses->chan_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 path 16,4096-ptr_max
PARAM_VALUE 3 oplock 5080877505394376704
PARAM_VALUE 4 buf 2429840456621297664,2557137034286051328,5474962667620720640,7783116886351835136,8485434604854788096
PARAM_VALUE 4 buf->fi.DeletePending 0
PARAM_VALUE 4 buf->fi.NumberOfLinks 0
PARAM_VALUE 4 buf->symlink_target 16,4096-ptr_max
PARAM_VALUE 4 *buf->symlink_target 0-255
PARAM_VALUE 5 posix 0
PARAM_VALUE 6 err_iov 0
PARAM_VALUE 7 buftype 0
BUF_SIZE 2 path s32min-s32max
BUF_SIZE 4 buf (-1),384
BUF_SIZE 4 buf (-1),384
DATA_SOURCE 0 xid $0
DATA_SOURCE 1 oparms $1
DATA_SOURCE 2 path r cifs_convert_path_to_utf16
DATA_SOURCE 4 buf $3
BIT_INFO 1 oparms->create_options 0x200000,0x7fffffff
MEM_ZERO 4 &buf->fi
RX_PATH
TASK_NOT_RUNNING

fs/smb/client/smb2ops.c get_smb2_acl_by_path() -> SMB2_open()

Type Parameter Key Value
PARAM_VALUE 1 oparms 1449547651740217344
PARAM_VALUE 2 path 16,4096-ptr_max
PARAM_VALUE 3 oplock 3985702574519083008
PARAM_VALUE 3 *oplock 0
PARAM_VALUE 4 buf 0
PARAM_VALUE 5 posix 0
PARAM_VALUE 6 err_iov 0
PARAM_VALUE 7 buftype 0
BUF_SIZE 2 path s32min-s32max
DATA_SOURCE 0 xid r _get_xid
DATA_SOURCE 2 path r cifs_convert_path_to_utf16
RX_PATH
TASK_NOT_RUNNING

fs/smb/client/smb2ops.c set_smb2_acl() -> SMB2_open()

Type Parameter Key Value
PARAM_VALUE 1 oparms 6769524340237991936
PARAM_VALUE 2 path 16,4096-ptr_max
PARAM_VALUE 3 oplock 3220848141191622656
PARAM_VALUE 3 *oplock 0
PARAM_VALUE 4 buf 0
PARAM_VALUE 5 posix 0
PARAM_VALUE 6 err_iov 0
PARAM_VALUE 7 buftype 0
BUF_SIZE 2 path s32min-s32max
DATA_SOURCE 0 xid r _get_xid
DATA_SOURCE 2 path r cifs_convert_path_to_utf16
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem

fs/smb/client/smb2ops.c smb2_is_path_accessible() -> SMB2_open()

Type Parameter Key Value
PARAM_VALUE 1 oparms 9021009722102001664
PARAM_VALUE 2 path 16,4096-ptr_max
PARAM_VALUE 3 oplock 8025087407024996352
PARAM_VALUE 3 *oplock 0
PARAM_VALUE 4 buf 0
PARAM_VALUE 5 posix 0
PARAM_VALUE 6 err_iov 4678157701575770112
PARAM_VALUE 6 err_iov->iov_base 0
PARAM_VALUE 6 err_iov->iov_len 0
PARAM_VALUE 7 buftype 99727708710146048
PARAM_VALUE 7 *buftype 0
BUF_SIZE 2 path s32min-s32max
DATA_SOURCE 0 xid $0
DATA_SOURCE 2 path r cifs_convert_path_to_utf16
STR_LEN 0 xid (-1)-0
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &cifs_mount_mutex
HALF_LOCKED2 &fc->uapi_mutex

fs/smb/client/smb2ops.c smb2_qfs_tcon() -> SMB2_open()

Type Parameter Key Value
PARAM_VALUE 1 oparms 5276427086358155264
PARAM_VALUE 2 path 5080258443058495488
PARAM_VALUE 2 *path 0
PARAM_VALUE 3 oplock 697176594740346880
PARAM_VALUE 3 *oplock 0
PARAM_VALUE 4 buf 0
PARAM_VALUE 5 posix 0
PARAM_VALUE 6 err_iov 0
PARAM_VALUE 7 buftype 0
DATA_SOURCE 0 xid $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &cifs_mount_mutex
HALF_LOCKED2 &fc->uapi_mutex

fs/smb/client/smb2ops.c smb311_queryfs() -> SMB2_open()

Type Parameter Key Value
PARAM_VALUE 1 oparms 1892526332965195776
PARAM_VALUE 2 path 16,4096-ptr_max
PARAM_VALUE 3 oplock 6437889897104695296
PARAM_VALUE 3 *oplock 0
PARAM_VALUE 4 buf 0
PARAM_VALUE 5 posix 0
PARAM_VALUE 6 err_iov 0
PARAM_VALUE 7 buftype 0
BUF_SIZE 2 path s32min-s32max
DATA_SOURCE 0 xid $0
DATA_SOURCE 2 path r cifs_convert_path_to_utf16
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &s->s_umount

fs/smb/client/smb2ops.c smb3_notify() -> SMB2_open()

Type Parameter Key Value
PARAM_VALUE 1 oparms 5511434229072900096
PARAM_VALUE 2 path 16,4096-ptr_max
PARAM_VALUE 3 oplock 7495651428342824960
PARAM_VALUE 3 *oplock 0
PARAM_VALUE 4 buf 0
PARAM_VALUE 5 posix 0
PARAM_VALUE 6 err_iov 0
PARAM_VALUE 7 buftype 0
BUF_SIZE 2 path s32min-s32max
DATA_SOURCE 0 xid $0
DATA_SOURCE 2 path r cifs_convert_path_to_utf16

fs/smb/client/smb2ops.c smb3_qfs_tcon() -> SMB2_open()

Type Parameter Key Value
PARAM_VALUE 1 oparms 4688177463584751616
PARAM_VALUE 2 path 5382969665940656128
PARAM_VALUE 2 *path 0
PARAM_VALUE 3 oplock 7308819927681757184
PARAM_VALUE 3 *oplock 0
PARAM_VALUE 4 buf 0
PARAM_VALUE 5 posix 0
PARAM_VALUE 6 err_iov 0
PARAM_VALUE 7 buftype 0
DATA_SOURCE 0 xid $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &cifs_mount_mutex
HALF_LOCKED2 &fc->uapi_mutex