Lines Matching refs:usepath
155 char *usepath;
187 usepath = kmem_alloc(SMB_MAXPATHLEN, KM_SLEEP);
189 len = strlcpy(usepath, path, SMB_MAXPATHLEN);
191 kmem_free(usepath, SMB_MAXPATHLEN);
195 (void) strsubst(usepath, '\\', '/');
216 err = smb_pathname_dfs_preprocess(sr, usepath,
219 kmem_free(usepath, SMB_MAXPATHLEN);
222 len = strlen(usepath);
235 usepath, &vss_cur_node, &vss_root_node);
237 kmem_free(usepath, SMB_MAXPATHLEN);
241 len = strlen(usepath);
247 if (usepath[len - 1] == '/')
250 (void) strcanon(usepath, "/");
254 if ((err = pn_set(&ppn, usepath)) != 0) {
256 kmem_free(usepath, SMB_MAXPATHLEN);
288 kmem_free(usepath, SMB_MAXPATHLEN);