Searched refs:MAX_TREE_SIZE (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.4/fs/cifs/ |
| D | dir.c | 63 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()
|
| D | cifsglob.h | 47 #define MAX_TREE_SIZE (2 + CIFS_NI_MAXHOST + 1 + CIFS_MAX_SHARE_LEN + 1) macro 1038 char treeName[MAX_TREE_SIZE + 1]; /* UNC name of resource in ASCII */
|
| D | connect.c | 3308 if (strncmp(tcon->treeName, volume_info->UNC, MAX_TREE_SIZE)) in match_tcon() 4332 unsigned int unc_len = strnlen(vol->UNC, MAX_TREE_SIZE + 1); in build_unc_path_to_root() 4334 if (unc_len > MAX_TREE_SIZE) in build_unc_path_to_root()
|
| D | smb2pdu.c | 171 tree = kzalloc(MAX_TREE_SIZE, GFP_KERNEL); in __smb2_reconnect() 176 scnprintf(tree, MAX_TREE_SIZE, "\\\\%s\\IPC$", in __smb2_reconnect() 209 scnprintf(tree, MAX_TREE_SIZE, "\\%s", tgt); in __smb2_reconnect()
|
| D | cifssmb.c | 137 tree = kzalloc(MAX_TREE_SIZE, GFP_KERNEL); in __cifs_reconnect_tcon() 142 scnprintf(tree, MAX_TREE_SIZE, "\\\\%s\\IPC$", in __cifs_reconnect_tcon() 175 scnprintf(tree, MAX_TREE_SIZE, "\\%s", tgt); in __cifs_reconnect_tcon()
|