Home
last modified time | relevance | path

Searched refs:usepath (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_pathname.c159 char *usepath; in smb_pathname_reduce() local
193 usepath = kmem_alloc(SMB_MAXPATHLEN, KM_SLEEP); in smb_pathname_reduce()
195 len = strlcpy(usepath, path, SMB_MAXPATHLEN); in smb_pathname_reduce()
197 kmem_free(usepath, SMB_MAXPATHLEN); in smb_pathname_reduce()
201 (void) strsubst(usepath, '\\', '/'); in smb_pathname_reduce()
222 err = smb_pathname_dfs_preprocess(sr, usepath, in smb_pathname_reduce()
225 kmem_free(usepath, SMB_MAXPATHLEN); in smb_pathname_reduce()
228 len = strlen(usepath); in smb_pathname_reduce()
242 err = smb_vss_extract_gmttoken(usepath, in smb_pathname_reduce()
245 kmem_free(usepath, SMB_MAXPATHLEN); in smb_pathname_reduce()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dmodctl.c113 int usepath; member
2655 ltp->retval = kobj_load_module(ltp->mp, ltp->usepath); in modload_thread()
3137 mod_hold_installed_mod(char *name, int usepath, int forcecheck, int *r) in mod_hold_installed_mod() argument
3147 if (!kobj_path_exists(name, usepath)) { in mod_hold_installed_mod()
3158 retval = mod_load(modp, usepath); in mod_hold_installed_mod()
3436 mod_load(struct modctl *mp, int usepath) in mod_load() argument
3461 lt.usepath = usepath; in mod_load()
3475 retval = kobj_load_module(mp, usepath); in mod_load()