Home
last modified time | relevance | path

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

/linux-6.3-rc2/fs/cifs/
A Ddfs.c66 unsigned int unc_len = strnlen(ctx->UNC, MAX_TREE_SIZE + 1); in build_unc_path_to_root()
68 if (unc_len > MAX_TREE_SIZE) in build_unc_path_to_root()
400 scnprintf(tree, MAX_TREE_SIZE, "\\\\%s\\IPC$", server->hostname); in __tree_connect_dfs_target()
405 scnprintf(tree, MAX_TREE_SIZE, "\\%s", share); in __tree_connect_dfs_target()
491 tree = kzalloc(MAX_TREE_SIZE, GFP_KERNEL); in cifs_tree_connect()
499 scnprintf(tree, MAX_TREE_SIZE, "\\\\%s\\IPC$", server->hostname); in cifs_tree_connect()
A Ddir.c53 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()
A Dcifsglob.h42 #define MAX_TREE_SIZE (2 + CIFS_NI_MAXHOST + 1 + CIFS_MAX_SHARE_LEN + 1) macro
1153 char tree_name[MAX_TREE_SIZE + 1]; /* UNC name of resource in ASCII */
A Dmisc.c1235 len = strnlen(tcon->tree_name, MAX_TREE_SIZE + 1) + strlen(full_path) + 1; in cifs_inval_name_dfs_link_error()
A Dconnect.c2253 if (!dfs_super_cmp && strncmp(tcon->tree_name, ctx->UNC, MAX_TREE_SIZE)) in match_tcon()

Completed in 22 milliseconds