Searched refs:MAX_TREE_SIZE (Results 1 – 4 of 4) sorted by relevance
| /Linux-v6.1/fs/cifs/ |
| D | dir.c | 53 dfsplen = strnlen(tcon->tree_name, MAX_TREE_SIZE + 1); in cifs_build_path_to_root() 96 dfsplen = strnlen(tcon->tree_name, MAX_TREE_SIZE + 1); in build_path_from_dentry_optional_prefix()
|
| D | connect.c | 2298 if (strncmp(tcon->tree_name, ctx->UNC, MAX_TREE_SIZE)) in match_tcon() 3373 unsigned int unc_len = strnlen(ctx->UNC, MAX_TREE_SIZE + 1); in build_unc_path_to_root() 3375 if (unc_len > MAX_TREE_SIZE) in build_unc_path_to_root() 4564 scnprintf(tree, MAX_TREE_SIZE, "\\\\%s\\IPC$", server->hostname); in __tree_connect_dfs_target() 4570 scnprintf(tree, MAX_TREE_SIZE, "\\%s", share); in __tree_connect_dfs_target() 4658 tree = kzalloc(MAX_TREE_SIZE, GFP_KERNEL); in cifs_tree_connect() 4665 scnprintf(tree, MAX_TREE_SIZE, "\\\\%s\\IPC$", server->hostname); in cifs_tree_connect()
|
| D | cifsglob.h | 40 #define MAX_TREE_SIZE (2 + CIFS_NI_MAXHOST + 1 + CIFS_MAX_SHARE_LEN + 1) macro 1156 char tree_name[MAX_TREE_SIZE + 1]; /* UNC name of resource in ASCII */
|
| D | misc.c | 1343 treenamelen = strnlen(treename, MAX_TREE_SIZE + 1); in cifs_dfs_query_info_nonascii_quirk()
|