Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/smb/client/connect.c cifs_find_tcon() -> match_tcon()

Type Parameter Key Value
PARAM_VALUE 0 tcon 4096-ptr_max
PARAM_VALUE 0 tcon->tc_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 ctx 4096-ptr_max
BUF_SIZE 1 ctx (-1),736
BUF_SIZE 1 ctx (-1),736
BUF_SIZE 1 ctx->UNC (-1),1285
DATA_SOURCE 1 ctx $1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &cifs_tcp_ses_lock
LOCK2 0 &tcon->tc_lock
HALF_LOCKED2 global &cifs_mount_mutex
TYPE_LOCK (struct cifs_tcon)->tc_lock

fs/smb/client/connect.c cifs_match_super() -> match_tcon()

Type Parameter Key Value
PARAM_VALUE 0 tcon 4096-ptr_max
PARAM_VALUE 0 tcon->ses 4096-ptr_max
PARAM_VALUE 0 tcon->ses->chan_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 tcon->ses->server->echo_interval 0-u32max
PARAM_VALUE 0 tcon->ses->server->srv_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 tcon->ses->server->vals 4096-ptr_max
PARAM_VALUE 0 tcon->ses->server->vals->protocol_id 0,514,528,768,770,785
PARAM_VALUE 0 tcon->ses->ses_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 tcon->tc_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 1 ctx->dstaddr.sa_family 0,2,10
PARAM_VALUE 1 ctx->nosharesock 0
PARAM_VALUE 1 ctx->sectype 0-4
PARAM_VALUE 1 ctx->srcaddr.sa_family 0,2,10
CAPPED_DATA 1 ctx->ignore_signature 1
CAPPED_DATA 1 ctx->max_channels 1
CAPPED_DATA 1 ctx->min_offload 1
CAPPED_DATA 1 ctx->rdma 1
CAPPED_DATA 1 ctx->retrans 1
CAPPED_DATA 1 ctx->vals 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ses->chan_lock
LOCK2 &ses->ses_lock
LOCK2 &tcp_srv->srv_lock
LOCK2 global &cifs_tcp_ses_lock
LOCK2 global &sb_lock
LOCK2 0 &tcon->tc_lock
HALF_LOCKED2 &fc->uapi_mutex
HALF_LOCKED2 global &cifs_mount_mutex
TYPE_LOCK (struct TCP_Server_Info)->srv_lock
TYPE_LOCK (struct cifs_ses)->chan_lock
TYPE_LOCK (struct cifs_ses)->ses_lock
TYPE_LOCK (struct cifs_tcon)->tc_lock