Searched refs:unc (Results 1 – 9 of 9) sorted by relevance
/illumos-gate/usr/src/common/smbsrv/ |
H A D | smb_string.c | 451 smb_unc_init(const char *path, smb_unc_t *unc) in smb_unc_init() argument 455 if (path == NULL || unc == NULL || (*path != '\\' && *path != '/')) in smb_unc_init() 458 bzero(unc, sizeof (smb_unc_t)); in smb_unc_init() 461 unc->unc_buf = smb_mem_strdup(path); in smb_unc_init() 463 if ((unc->unc_buf = strdup(path)) == NULL) in smb_unc_init() 467 (void) strsubst(unc->unc_buf, '\\', '/'); in smb_unc_init() 468 (void) strcanon(unc->unc_buf, "/"); in smb_unc_init() 470 unc->unc_server = unc->unc_buf + 1; in smb_unc_init() 471 if (*unc->unc_server == '\0') { in smb_unc_init() 472 smb_unc_free(unc); in smb_unc_init() [all …]
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_dfs.c | 357 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 D | smb_pathname.c | 1325 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 D | dfs.c | 869 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() 956 if (dfs_namespace_path(unc->unc_share, rootdir, DFS_PATH_MAX) in dfs_path_parse() 958 smb_unc_free(unc); in dfs_path_parse() 963 path->p_type = (unc->unc_path != NULL) in dfs_path_parse() [all …]
|
H A D | netdfs.c | 1350 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 D | webrev.sh | 1800 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 D | ctx.c | 456 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 D | termcap.src | 16935 # Jon Leech <leech@cs.unc.edu> tells us:
|
H A D | terminfo.src | 19018 # Jon Leech <leech@cs.unc.edu> tells us:
|