Lines Matching refs:pn_path

294 			(void) strlcpy(last_component, ppn.pn_path, MAXNAMELEN);  in smb_pathname_reduce()
295 ppn.pn_path[0] = '\0'; in smb_pathname_reduce()
328 char *p = mnt_pn.pn_path; in smb_pathname_reduce()
343 (void) strlcpy(last_component, mnt_pn.pn_path, in smb_pathname_reduce()
345 mnt_pn.pn_path[0] = '\0'; in smb_pathname_reduce()
583 if (upn.pn_path[0] == '/') { in smb_pathname()
593 if (strcmp(rpn.pn_path, "/") != 0) in smb_pathname()
595 namep = rpn.pn_path; in smb_pathname()
597 namep = pn.pn_path; in smb_pathname()
613 while (upn.pn_path[0] == '/') { in smb_pathname()
614 upn.pn_path++; in smb_pathname()
628 mnt_pn->pn_path = mnt_pn->pn_buf + in smb_pathname()
629 ((ptrdiff_t)upn.pn_path - in smb_pathname()
812 pn->pn_path = smb_pathname_strdup(sr, path); in smb_pathname_init()
817 pname = pn->pn_path; in smb_pathname_init()
940 if (strlen(pn->pn_path) == 0) { in smb_pathname_preprocess()
941 pn->pn_path = smb_pathname_strdup(sr, "\\"); in smb_pathname_preprocess()
946 smb_convert_wildcards(pn->pn_path); in smb_pathname_preprocess()
949 (void) strsubst(pn->pn_path, '/', '\\'); in smb_pathname_preprocess()
951 (void) strcanon(pn->pn_path, "\\"); in smb_pathname_preprocess()
954 p = pn->pn_path + strlen(pn->pn_path) - 1; in smb_pathname_preprocess()
955 if ((p != pn->pn_path) && (*p == '\\')) in smb_pathname_preprocess()
981 p = pn->pn_path; in smb_pathname_preprocess_quota()
992 slash = (pn->pn_path[0] == '\\') ? "\\" : ""; in smb_pathname_preprocess_quota()
993 len = strlen(pn->pn_path) + 2; in smb_pathname_preprocess_quota()
994 pn->pn_path = smb_srm_alloc(sr, len); in smb_pathname_preprocess_quota()
995 (void) snprintf(pn->pn_path, len, "%s%s%s", slash, new_name, p); in smb_pathname_preprocess_quota()
996 (void) smb_strupr(pn->pn_path); in smb_pathname_preprocess_quota()
1008 (void) smb_strlwr(pn->pn_path); in smb_pathname_preprocess_adminshare()
1075 char *path = pn->pn_path; in smb_pathname_validate()
1119 char *path = pn->pn_path; in smb_validate_dirname()