Home
last modified time | relevance | path

Searched refs:MAX_TREE_SIZE (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/kernel/fs/cifs/
H A Ddir.c63 dfsplen = strnlen(tcon->treeName, MAX_TREE_SIZE + 1); in cifs_build_path_to_root()
106 dfsplen = strnlen(tcon->treeName, MAX_TREE_SIZE + 1); in build_path_from_dentry_optional_prefix()
H A Dconnect.c3159 if (strncmp(tcon->treeName, volume_info->UNC, MAX_TREE_SIZE)) in match_tcon()
4202 unsigned int unc_len = strnlen(vol->UNC, MAX_TREE_SIZE + 1); in build_unc_path_to_root()
4204 if (unc_len > MAX_TREE_SIZE) in build_unc_path_to_root()
5364 tree = kzalloc(MAX_TREE_SIZE, GFP_KERNEL); in cifs_tree_connect()
5371 scnprintf(tree, MAX_TREE_SIZE, "\\\\%s\\IPC$", server->hostname); in cifs_tree_connect()
5419 scnprintf(tree, MAX_TREE_SIZE, "\\\\%s\\IPC$", share); in cifs_tree_connect()
5422 scnprintf(tree, MAX_TREE_SIZE, "\\%s", share); in cifs_tree_connect()
H A Dcifsglob.h47 #define MAX_TREE_SIZE (2 + CIFS_NI_MAXHOST + 1 + CIFS_MAX_SHARE_LEN + 1) macro
1095 char treeName[MAX_TREE_SIZE + 1]; /* UNC name of resource in ASCII */