Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/smb/client/sess.c cifs_ses_add_channel() -> cifs_get_tcp_session()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->UNC 4096-ptr_max
PARAM_VALUE 0 ctx->nosharesock 1
PARAM_VALUE 0 ctx->prepath 4602998933304729600
PARAM_VALUE 0 ctx->use_client_guid 1
PARAM_VALUE 1 primary_server 4096-ptr_max
PARAM_VALUE 1 primary_server->capabilities 8-u32max
PARAM_VALUE 1 primary_server->dialect 768-u16max
BUF_SIZE 0 ctx 736
BUF_SIZE 0 ctx->UNC 89
BUF_SIZE 0 ctx->prepath 1
BUF_SIZE 0 ctx->server_hostname 1-s32max
CAPPED_DATA 1 primary_server->rdma 1
DATA_SOURCE 0 ctx r _kzalloc_noprof
FUZZY_MAX 1 primary_server->dialect 768
STR_LEN 0 ctx->prepath 0
TERMINATED 0 ctx->prepath 1
RX_PATH
TASK_NOT_RUNNING

fs/smb/client/connect.c cifs_mount_get_session() -> cifs_get_tcp_session()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->dfs_root_ses 0,4096-ptr_max
PARAM_VALUE 1 primary_server 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &cifs_mount_mutex
HALF_LOCKED2 &fc->uapi_mutex