Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/smb/client/connect.c cifs_is_path_remote() -> cifs_build_path_to_root()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->dns_dom 0
PARAM_VALUE 0 ctx->leaf_fullpath 0
PARAM_VALUE 0 ctx->sectype 0-4
PARAM_VALUE 1 cifs_sb 4096-ptr_max
PARAM_VALUE 2 tcon 4096-ptr_max
PARAM_VALUE 2 tcon->ses 4096-ptr_max
PARAM_VALUE 2 tcon->status 0-1,3-u32max
PARAM_VALUE 3 add_treename 0,2
BIT_INFO 3 add_treename 0x0,0x2
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &cifs_mount_mutex
HALF_LOCKED2 &fc->uapi_mutex

fs/smb/client/cifsfs.c cifs_get_root() -> cifs_build_path_to_root()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 1 cifs_sb 4096-ptr_max
PARAM_VALUE 1 cifs_sb->master_tlink 4096-ptr_max
PARAM_VALUE 3 add_treename 0
BUF_SIZE 0 ctx 1-s32max
BUF_SIZE 0 ctx 1-s32max
DATA_SOURCE 0 ctx $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &cifs_mount_mutex
HALF_LOCKED2 &fc->uapi_mutex