Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/smb/client/connect.c cifs_find_tcp_session() -> match_server()

Type Parameter Key Value
PARAM_VALUE 0 server 4096-ptr_max
PARAM_VALUE 0 server->primary_server 0
PARAM_VALUE 0 server->srv_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 server->vals->protocol_id 0-768,770,785
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 1 ctx->vals->protocol_id 0,514,528,768,770,785
PARAM_VALUE 2 match_super 0
BUF_SIZE 1 ctx (-1),736
BUF_SIZE 1 ctx (-1),736
BUF_SIZE 1 ctx->UNC (-1),89
BUF_SIZE 1 ctx->prepath (-1),1
BUF_SIZE 1 ctx->server_hostname (-1),1-s32max
DATA_SOURCE 1 ctx $0
STR_LEN 1 ctx->prepath (-1)-0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &cifs_tcp_ses_lock
LOCK2 0 &server->srv_lock
HALF_LOCKED2 global &cifs_mount_mutex
TYPE_LOCK (struct TCP_Server_Info)->srv_lock

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

Type Parameter Key Value
PARAM_VALUE 0 server 4096-ptr_max
PARAM_VALUE 0 server->srv_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 match_super 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ses->chan_lock
LOCK2 &ses->ses_lock
LOCK2 &tcon->tc_lock
LOCK2 global &cifs_tcp_ses_lock
LOCK2 global &sb_lock
LOCK2 0 &server->srv_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