Home
last modified time | relevance | path

Searched refs:UNC (Results 1 - 15 of 15) sorted by relevance

/kernel/linux/linux-6.6/fs/smb/client/
H A Dfs_context.c190 * UNC and prefixpath is now extracted from Opt_source
319 new_ctx->UNC = NULL; in smb3_fs_context_dup()
330 DUP_CTX_STR(UNC); in smb3_fs_context_dup()
488 * Return full path based on the values of @ctx->{UNC,prepath}.
497 ulen = strlen(ctx->UNC); in smb3_fs_context_fullpath()
503 memcpy(s, ctx->UNC, ulen); in smb3_fs_context_fullpath()
514 * Parse a devname into substrings and populate the ctx->UNC and ctx->prepath
531 /* make sure we have a valid UNC double delimiter prefix */ in smb3_parse_devname()
557 kfree(ctx->UNC); in smb3_parse_devname()
558 ctx->UNC in smb3_parse_devname()
[all...]
H A Dnamespace.c50 * cifs_build_devname - build a devicename from a UNC and optional prepath
51 * @nodename: pointer to UNC string
55 * big enough to hold the final thing. Copy the UNC from the nodename, and
74 /* get length of UNC and set pos to last char */ in cifs_build_devname()
86 * +1 for delimiter between UNC and prepath in cifs_build_devname()
101 /* copy in the UNC portion from referral */ in cifs_build_devname()
221 tmp.UNC = tmp.prepath = NULL; in cifs_do_automount()
244 cifs_dbg(FYI, "%s: ctx: source=%s UNC=%s prepath=%s dfs_automount=%d\n", in cifs_do_automount()
245 __func__, ctx->source, ctx->UNC, ctx->prepath, ctx->dfs_automount); in cifs_do_automount()
H A Ddfs.c15 * @full_path: full path in UNC format.
126 ref_path = dfs_get_path(cifs_sb, ctx->UNC); in set_ref_paths()
270 * and therefore failing to upcall to resolve UNC hostname under @ctx->source.
310 rc = dfs_get_referral(mnt_ctx, ctx->UNC + 1, NULL, NULL); in dfs_mount_share()
313 __func__, ctx->UNC + 1, rc); in dfs_mount_share()
H A Dfs_context.h174 char *UNC; member
H A Dsess.c578 /* UNC and paths */ in cifs_ses_add_channel()
581 ctx->UNC = kzalloc(len, GFP_KERNEL); in cifs_ses_add_channel()
582 if (!ctx->UNC) { in cifs_ses_add_channel()
586 scnprintf(ctx->UNC, len, unc_fmt, ses->ip_addr); in cifs_ses_add_channel()
670 kfree(ctx->UNC); in cifs_ses_add_channel()
H A Dconnect.c94 cifs_dbg(FYI, "%s: failed to create UNC path\n", __func__); in reconn_set_ipaddr_from_hostname()
1666 cifs_dbg(FYI, "UNC: %s\n", ctx->UNC); in cifs_get_tcp_session()
2400 strncmp(tcon->tree_name, ctx->UNC, MAX_TREE_SIZE)) { in match_tcon()
2529 cifs_dbg(FYI, "Found match on UNC path\n"); in cifs_get_tcon()
2617 rc = ses->server->ops->tree_connect(xid, ses, ctx->UNC, tcon, in cifs_get_tcon()
3991 ctx->UNC = master_tcon->tree_name; in cifs_construct_tcon()
/kernel/linux/linux-5.10/fs/cifs/
H A Ddfs_cache.c1159 if (vol->UNC) { in dup_vol()
1160 cifs_dbg(FYI, "%s: vol->UNC: %s\n", __func__, vol->UNC); in dup_vol()
1161 new->UNC = kstrndup(vol->UNC, strlen(vol->UNC), GFP_KERNEL); in dup_vol()
1162 if (!new->UNC) in dup_vol()
1192 kfree(new->UNC); in dup_vol()
H A Dconnect.c309 cifs_dbg(FYI, "%s: failed to create UNC path\n", __func__); in reconn_set_ipaddr()
358 cifs_dbg(FYI, "%s: UNC: %s\n", __func__, cifs_sb->origin_fullpath); in reconn_set_next_dfs_target()
1248 /* extract the host portion of the UNC string */
1332 * Parse a devname into substrings and populate the vol->UNC and vol->prepath
1347 /* make sure we have a valid UNC double delimiter prefix */ in cifs_parse_devname()
1365 vol->UNC = kstrndup(devname, pos - devname, GFP_KERNEL); in cifs_parse_devname()
1366 if (!vol->UNC) in cifs_parse_devname()
1369 convert_delimiter(vol->UNC, '\\'); in cifs_parse_devname()
1496 cifs_dbg(VFS, "Malformed UNC in devname\n"); in cifs_parse_mount_options()
2238 if (!vol->UNC) { in cifs_parse_mount_options()
[all...]
H A Dcifsglob.h540 char *UNC; member
680 char *hostname; /* hostname portion of UNC string */
1098 char treeName[MAX_TREE_SIZE + 1]; /* UNC name of resource in ASCII */
H A Dsess.c219 /* UNC and paths */ in cifs_ses_add_channel()
222 vol.UNC = unc; in cifs_ses_add_channel()
/kernel/linux/linux-5.10/tools/perf/util/
H A Dmem-events.c364 if (lvl & P(LVL, UNC)) stats->ld_uncache++; in c2c_decode_stats()
417 if (lvl & P(LVL, UNC)) stats->st_uncache++; in c2c_decode_stats()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dmem-events.c584 if (lvl & P(LVL, UNC)) stats->ld_uncache++; in c2c_decode_stats()
649 if (lvl & P(LVL, UNC)) stats->st_uncache++; in c2c_decode_stats()
/kernel/linux/linux-6.6/arch/x86/events/amd/
H A Dibs.c776 return L(UNC) | LN(UNC); in perf_ibs_get_mem_lvl()
/kernel/linux/linux-5.10/arch/x86/events/intel/
H A Dds.c78 OP_LH | P(LVL, UNC) | LEVEL(NA) | P(SNOOP, NONE), /* 0x0f: uncached */
/kernel/linux/linux-6.6/arch/x86/events/intel/
H A Dds.c95 OP_LH | P(LVL, UNC) | LEVEL(NA) | P(SNOOP, NONE), /* 0x0f: uncached */

Completed in 30 milliseconds