Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/smb/client/smb1ops.c cifs_query_dir_first() -> CIFSFindFirst()

Type Parameter Key Value
PARAM_VALUE 1 tcon 4096-ptr_max
PARAM_VALUE 1 tcon->ses->server->ops 4096-ptr_max
PARAM_VALUE 1 tcon->ses->server->ops->query_dir_first 782831042314047488,7675899919728111616
PARAM_VALUE 1 tcon->ses->server->vals->protocol_id 0,514,528,768,770,785
PARAM_VALUE 1 tcon->ses->server->vals->req_capabilities 0,4,6,8,12,14,16-532
PARAM_VALUE 1 *tcon->ses->server->fastest_cmd 0-4294967295
PARAM_VALUE 1 *tcon->ses->server->slowest_cmd 0-4294967295
PARAM_VALUE 2 searchName 2811-ptr_max
PARAM_VALUE 3 cifs_sb 4096-ptr_max
PARAM_VALUE 4 pnetfid 4096-ptr_max
PARAM_VALUE 5 search_flags 6,22
PARAM_VALUE 6 psrch_inf 4096-ptr_max
PARAM_VALUE 6 psrch_inf->info_level 1,100,258,261,514
PARAM_VALUE 7 msearch 1
CAPPED_DATA 1 tcon 1
DATA_SOURCE 0 xid $0
DATA_SOURCE 1 tcon $1
DATA_SOURCE 2 searchName $2
DATA_SOURCE 3 cifs_sb $3
DATA_SOURCE 5 search_flags $5
DATA_SOURCE 6 psrch_inf $6
FUZZY_MAX 5 search_flags 6
BIT_INFO 5 search_flags 0x6,0x16
RX_PATH
TASK_NOT_RUNNING
LOCK2 &inode->i_rwsem
HALF_LOCKED2 &dir_fp->readdir_lock
TYPE_LOCK (struct inode)->i_rwsem

fs/smb/client/smb1ops.c cifs_query_path_info() -> CIFSFindFirst()

Type Parameter Key Value
PARAM_VALUE 1 tcon 4096-ptr_max
PARAM_VALUE 1 tcon->ses 4096-ptr_max
PARAM_VALUE 1 tcon->ses->server 4096-ptr_max
PARAM_VALUE 1 tcon->ses->server->vals 4096-ptr_max
PARAM_VALUE 1 *tcon->ses->server->fastest_cmd 0-4294967295
PARAM_VALUE 1 *tcon->ses->server->slowest_cmd 0-4294967295
PARAM_VALUE 2 searchName 16,2811-ptr_max
PARAM_VALUE 4 pnetfid 0
PARAM_VALUE 5 search_flags 3
PARAM_VALUE 6 psrch_inf 955719074529751040
PARAM_VALUE 6 psrch_inf->emptyDir 0
PARAM_VALUE 6 psrch_inf->endOfSearch 0
PARAM_VALUE 6 psrch_inf->entries_in_buffer 0
PARAM_VALUE 6 psrch_inf->index_of_last_entry 0
PARAM_VALUE 6 psrch_inf->info_level 1,258
PARAM_VALUE 6 psrch_inf->last_entry 0
PARAM_VALUE 6 psrch_inf->ntwrk_buf_start 0
PARAM_VALUE 6 psrch_inf->smallBuf 0
PARAM_VALUE 6 psrch_inf->srch_entries_start 0
PARAM_VALUE 6 psrch_inf->unicode 0
PARAM_VALUE 7 msearch 0
BUF_SIZE 2 searchName (-1),2
BUF_SIZE 2 searchName (-1),2
DATA_SOURCE 0 xid $0
DATA_SOURCE 1 tcon $1
DATA_SOURCE 2 searchName $3
DATA_SOURCE 3 cifs_sb $2
RX_PATH
TASK_NOT_RUNNING

fs/smb/client/inode.c cifs_backup_query_path_info() -> CIFSFindFirst()

Type Parameter Key Value
PARAM_VALUE 1 tcon 4096-ptr_max
PARAM_VALUE 1 tcon->ses 4096-ptr_max
PARAM_VALUE 1 tcon->ses->server 4096-ptr_max
PARAM_VALUE 1 tcon->ses->server->ops 4096-ptr_max
PARAM_VALUE 1 tcon->ses->server->vals 4096-ptr_max
PARAM_VALUE 1 *tcon->ses->server->fastest_cmd 0-4294967295
PARAM_VALUE 1 *tcon->ses->server->slowest_cmd 0-4294967295
PARAM_VALUE 2 searchName 16,2811-ptr_max
PARAM_VALUE 4 pnetfid 0
PARAM_VALUE 5 search_flags 19
PARAM_VALUE 6 psrch_inf 7312798398083297280
PARAM_VALUE 6 psrch_inf->emptyDir 0
PARAM_VALUE 6 psrch_inf->endOfSearch 0
PARAM_VALUE 6 psrch_inf->entries_in_buffer 0
PARAM_VALUE 6 psrch_inf->index_of_last_entry 0
PARAM_VALUE 6 psrch_inf->info_level 1,257,261,514
PARAM_VALUE 6 psrch_inf->last_entry 0
PARAM_VALUE 6 psrch_inf->ntwrk_buf_start 0
PARAM_VALUE 6 psrch_inf->smallBuf 0
PARAM_VALUE 6 psrch_inf->srch_entries_start 0
PARAM_VALUE 6 psrch_inf->unicode 0
PARAM_VALUE 7 msearch 0
BUF_SIZE 2 searchName (-1),2
BUF_SIZE 2 searchName (-1),2
DATA_SOURCE 0 xid $0
DATA_SOURCE 1 tcon $1
DATA_SOURCE 2 searchName $3
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &sb->s_umount
HALF_LOCKED2 global &cifs_mount_mutex