Home
last modified time | relevance | path

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

/titanic_44/usr/src/common/smbsrv/
H A Dsmb_string.c437 smb_unc_init(const char *path, smb_unc_t *unc) in smb_unc_init() argument
441 if (path == NULL || unc == NULL || (*path != '\\' && *path != '/')) in smb_unc_init()
444 bzero(unc, sizeof (smb_unc_t)); in smb_unc_init()
447 unc->unc_buf = smb_mem_strdup(path); in smb_unc_init()
449 if ((unc->unc_buf = strdup(path)) == NULL) in smb_unc_init()
453 (void) strsubst(unc->unc_buf, '\\', '/'); in smb_unc_init()
454 (void) strcanon(unc->unc_buf, "/"); in smb_unc_init()
456 unc->unc_server = unc->unc_buf + 1; in smb_unc_init()
457 if (*unc->unc_server == '\0') { in smb_unc_init()
458 smb_unc_free(unc); in smb_unc_init()
[all …]
/titanic_44/usr/src/uts/common/fs/smbsrv/
H A Dsmb_trans2_dfs.c214 smb_unc_t unc; in smb_dfs_get_reftype() local
220 if (smb_unc_init(path, &unc) != 0) in smb_dfs_get_reftype()
223 if (unc.unc_path != NULL) { in smb_dfs_get_reftype()
225 } else if (unc.unc_share != NULL) { in smb_dfs_get_reftype()
226 if ((smb_strcasecmp(unc.unc_share, "SYSVOL", 0) == 0) || in smb_dfs_get_reftype()
227 (smb_strcasecmp(unc.unc_share, "NETLOGON", 0) == 0)) { in smb_dfs_get_reftype()
232 } else if (unc.unc_server != NULL) { in smb_dfs_get_reftype()
236 smb_unc_free(&unc); in smb_dfs_get_reftype()
H A Dsmb_pathname.c1089 smb_unc_t unc; in smb_pathname_dfs_preprocess() local
1096 if ((rc = smb_unc_init(path, &unc)) != 0) in smb_pathname_dfs_preprocess()
1099 if (smb_strcasecmp(unc.unc_share, sr->tid_tree->t_sharename, 0)) { in smb_pathname_dfs_preprocess()
1100 smb_unc_free(&unc); in smb_pathname_dfs_preprocess()
1104 linkpath = unc.unc_path; in smb_pathname_dfs_preprocess()
1107 smb_unc_free(&unc); in smb_pathname_dfs_preprocess()
/titanic_44/usr/src/lib/smbsrv/libmlsvc/common/
H A Ddfs.c870 smb_unc_t *unc; in dfs_get_referrals() local
900 unc = &path.p_unc; in dfs_get_referrals()
901 if (!dfs_namespace_findlink(unc->unc_share, unc->unc_path, in dfs_get_referrals()
909 unc->unc_server, unc->unc_share, unc->unc_path); in dfs_get_referrals()
940 smb_unc_t *unc; in dfs_path_parse() local
945 unc = &path->p_unc; in dfs_path_parse()
947 rc = smb_unc_init(dfs_path, unc); in dfs_path_parse()
957 if (dfs_namespace_path(unc->unc_share, rootdir, DFS_PATH_MAX) in dfs_path_parse()
959 smb_unc_free(unc); in dfs_path_parse()
964 path->p_type = (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()
/titanic_44/usr/src/tools/scripts/
H A Dwebrev.sh1557 integer tot=$1 ins=$2 del=$3 mod=$4 unc=$5
1565 $tot $str $ins $del $mod $unc
1577 integer tot mod del ins unc err
1683 unc=`wc -l < $1`
1684 if (( unc > 0 )); then
1685 (( unc -= del + mod ))
1686 (( TUNC += unc ))
1690 printCI $tot $ins $del $mod $unc
/titanic_44/usr/src/lib/libsmbfs/smb/
H A Dctx.c465 smb_ctx_parseunc(struct smb_ctx *ctx, const char *unc, in smb_ctx_parseunc() argument
486 strlcpy(tmp, unc, sizeof (tmp)); in smb_ctx_parseunc()
/titanic_44/usr/src/cmd/terminfo/
H A Dtermcap.src16935 # Jon Leech <leech@cs.unc.edu> tells us:
H A Dterminfo.src19016 # Jon Leech <leech@cs.unc.edu> tells us: