Home
last modified time | relevance | path

Searched refs:unc (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/common/smbsrv/
H A Dsmb_string.c470 unc->unc_server = unc->unc_buf + 1; in smb_unc_init()
472 smb_unc_free(unc); in smb_unc_init()
477 smb_unc_free(unc); in smb_unc_init()
482 unc->unc_share = p; in smb_unc_init()
485 smb_unc_free(unc); in smb_unc_init()
489 unc->unc_path = strchr(unc->unc_share, '/'); in smb_unc_init()
493 unc->unc_path++; in smb_unc_init()
506 smb_unc_free(smb_unc_t *unc) in smb_unc_free() argument
508 if (unc == NULL) in smb_unc_free()
514 free(unc->unc_buf); in smb_unc_free()
[all …]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_dfs.c357 smb_unc_t unc; in smb_dfs_get_reftype() local
363 if (smb_unc_init(path, &unc) != 0) in smb_dfs_get_reftype()
366 if (unc.unc_path != NULL) { in smb_dfs_get_reftype()
368 } else if (unc.unc_share != NULL) { in smb_dfs_get_reftype()
369 if ((smb_strcasecmp(unc.unc_share, "SYSVOL", 0) == 0) || in smb_dfs_get_reftype()
370 (smb_strcasecmp(unc.unc_share, "NETLOGON", 0) == 0)) { in smb_dfs_get_reftype()
375 } else if (unc.unc_server != NULL) { in smb_dfs_get_reftype()
379 smb_unc_free(&unc); in smb_dfs_get_reftype()
H A Dsmb_pathname.c1325 smb_unc_t unc; in smb_pathname_dfs_preprocess() local
1332 if ((rc = smb_unc_init(path, &unc)) != 0) in smb_pathname_dfs_preprocess()
1335 if (smb_strcasecmp(unc.unc_share, sr->tid_tree->t_sharename, 0)) { in smb_pathname_dfs_preprocess()
1336 smb_unc_free(&unc); in smb_pathname_dfs_preprocess()
1340 linkpath = unc.unc_path; in smb_pathname_dfs_preprocess()
1343 smb_unc_free(&unc); in smb_pathname_dfs_preprocess()
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Ddfs.c869 smb_unc_t *unc; in dfs_get_referrals() local
899 unc = &path.p_unc; in dfs_get_referrals()
900 if (!dfs_namespace_findlink(unc->unc_share, unc->unc_path, in dfs_get_referrals()
908 unc->unc_server, unc->unc_share, unc->unc_path); in dfs_get_referrals()
939 smb_unc_t *unc; in dfs_path_parse() local
944 unc = &path->p_unc; in dfs_path_parse()
946 rc = smb_unc_init(dfs_path, unc); in dfs_path_parse()
958 smb_unc_free(unc); in dfs_path_parse()
970 if ((unc->unc_path == NULL) || (*unc->unc_path == '\0')) in dfs_path_parse()
978 if (unc->unc_path == NULL) in dfs_path_parse()
[all …]
H A Dnetdfs.c1350 netdfs_path_remove(smb_unc_t *unc) in netdfs_path_remove() argument
1358 status = dfs_namespace_path(unc->unc_share, rootdir, DFS_PATH_MAX); in netdfs_path_remove()
1360 (void) strlcpy(relpath, unc->unc_path, DFS_PATH_MAX); in netdfs_path_remove()
/illumos-gate/usr/src/tools/scripts/
H A Dwebrev.sh1800 integer tot=$1 ins=$2 del=$3 mod=$4 unc=$5
1808 $tot $str $ins $del $mod $unc
1820 integer tot mod del ins unc err
1926 unc=$(wc -l < $1)
1927 if (( unc > 0 )); then
1928 (( unc -= del + mod ))
1929 (( TUNC += unc ))
1933 printCI $tot $ins $del $mod $unc
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dctx.c456 smb_ctx_parseunc(struct smb_ctx *ctx, const char *unc, in smb_ctx_parseunc() argument
477 strlcpy(tmp, unc, sizeof (tmp)); in smb_ctx_parseunc()
/illumos-gate/usr/src/data/terminfo/
H A Dtermcap.src16935 # Jon Leech <leech@cs.unc.edu> tells us:
H A Dterminfo.src19018 # Jon Leech <leech@cs.unc.edu> tells us: