Searched refs:MAX_TREE_SIZE (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | dfs.c | 419 scnprintf(tree, MAX_TREE_SIZE, "\\\\%s\\IPC$", server->hostname); in __tree_connect_ipc() 490 scnprintf(tree, MAX_TREE_SIZE, "\\%s", share); in __tree_connect_dfs_target() 587 tree = kzalloc(MAX_TREE_SIZE, GFP_KERNEL); in cifs_tree_connect() 595 scnprintf(tree, MAX_TREE_SIZE, "\\\\%s\\IPC$", server->hostname); in cifs_tree_connect()
|
H A D | dir.c | 53 dfsplen = strnlen(tcon->tree_name, MAX_TREE_SIZE + 1); in cifs_build_path_to_root() 144 MAX_TREE_SIZE, prefix); in build_path_from_dentry_optional_prefix()
|
H A D | cifsglob.h | 42 #define MAX_TREE_SIZE (2 + CIFS_NI_MAXHOST + 1 + CIFS_MAX_SHARE_LEN + 1) macro 1169 char tree_name[MAX_TREE_SIZE + 1]; /* UNC name of resource in ASCII */
|
H A D | misc.c | 1282 len = strnlen(tcon->tree_name, MAX_TREE_SIZE + 1) + strlen(full_path) + 1; in cifs_inval_name_dfs_link_error()
|
H A D | connect.c | 2400 strncmp(tcon->tree_name, ctx->UNC, MAX_TREE_SIZE)) { in match_tcon()
|
/kernel/linux/linux-5.10/fs/cifs/ |
H A 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()
|
H A D | cifsglob.h | 50 #define MAX_TREE_SIZE (2 + CIFS_NI_MAXHOST + 1 + CIFS_MAX_SHARE_LEN + 1) macro 1098 char treeName[MAX_TREE_SIZE + 1]; /* UNC name of resource in ASCII */
|
H A D | connect.c | 3161 if (strncmp(tcon->treeName, volume_info->UNC, MAX_TREE_SIZE)) in match_tcon() 4204 unsigned int unc_len = strnlen(vol->UNC, MAX_TREE_SIZE + 1); in build_unc_path_to_root() 4206 if (unc_len > MAX_TREE_SIZE) in build_unc_path_to_root() 5366 tree = kzalloc(MAX_TREE_SIZE, GFP_KERNEL); in cifs_tree_connect() 5373 scnprintf(tree, MAX_TREE_SIZE, "\\\\%s\\IPC$", server->hostname); in cifs_tree_connect() 5421 scnprintf(tree, MAX_TREE_SIZE, "\\\\%s\\IPC$", share); in cifs_tree_connect() 5424 scnprintf(tree, MAX_TREE_SIZE, "\\%s", share); in cifs_tree_connect()
|
Completed in 24 milliseconds