Home
last modified time | relevance | path

Searched refs:sh_path (Results 1 – 16 of 16) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dsharetab.c84 sh->sh_path = (char *)strtok_r(p, w, &lasts); in getshare()
85 if (sh->sh_path == NULL) in getshare()
113 if (sh->sh_path) { in sharedup()
114 nsh->sh_path = strdup(sh->sh_path); in sharedup()
115 if (nsh->sh_path == NULL) in sharedup()
149 if (sh->sh_path != NULL) in sharefree()
150 free(sh->sh_path); in sharefree()
/illumos-gate/usr/src/test/elf-tests/tests/assert-deflib/
H A Dtest-deflib.sh29 sh_path=
53 [[ -f $sh_path/$sh_lib/$sh_soname ]] || fatal "missing 32-bit $sh_soname"
54 [[ -f $sh_path/$sh_lib64/$sh_soname ]] ||
70 LD_LIBRARY_PATH_64="$sh_path/$sh_lib64" $sh_cc $sh_cflags $sh_file $1
78 sh_path=${1:-/}
/illumos-gate/usr/src/uts/common/fs/sharefs/
H A Dsharetab.c128 iPath = shl != NULL ? shl->shl_path : strlen(sh->sh_path); in sharefs_remove()
129 iHash = pkp_tab_hash(sh->sh_path, strlen(sh->sh_path)); in sharefs_remove()
139 if (strcmp(sh->sh_path, s->sh_path) == 0 && in sharefs_remove()
140 strlen(s->sh_path) == iPath) { in sharefs_remove()
211 iPath = shl != NULL ? shl->shl_path : strlen(sh->sh_path); in sharefs_add()
212 iHash = pkp_tab_hash(sh->sh_path, strlen(sh->sh_path)); in sharefs_add()
218 sh->sh_size = strlen(sh->sh_path) + in sharefs_add()
236 if (strcmp(sh->sh_path, s->sh_path) == 0 && in sharefs_add()
237 strlen(s->sh_path) == iPath) { in sharefs_add()
H A Dsharefs_vnops.c119 sh->sh_path, in sharefs_snap_create()
/illumos-gate/usr/src/uts/common/sharefs/
H A Dshare.h41 char *sh_path; member
52 caddr32_t sh_path; member
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dsharefs.c54 i = (sh->sh_path ? strlen(sh->sh_path) : 0); in _sharefs()
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dexportlist.c154 tail = newexport(sh->sh_path, groups, tail); in export()
H A Dmountd.c998 if (strcmp(sh->sh_path, rpath) != 0) in checkrootmount()
1699 for (p1 = sh->sh_path, p2 = path; *p1 == *p2; p1++, p2++) in findentry()
1722 if (same_file_system(path, sh->sh_path)) in findentry()
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Dfhtab.c2133 "=============\nSHARE: name '%s', fh ", args->sh_path); in nfslog_SHARE_fhargs()
2154 args->sh_path, &fhrec, &error) == NULL) { in nfslog_SHARE_fhargs()
2155 if (error = FH_ADD(fhpath, fh, fh, args->sh_path)) { in nfslog_SHARE_fhargs()
2158 args->sh_path, ((error >= 0) ? in nfslog_SHARE_fhargs()
2181 args->sh_path); in nfslog_UNSHARE_fhargs()
2205 if (error = fh_remove(fhpath, fh, args->sh_path, pathp1)) { in nfslog_UNSHARE_fhargs()
2207 args->sh_path, ((error >= 0) ? strerror(error) : in nfslog_UNSHARE_fhargs()
H A Dnfslog_elf.c803 if (args->sh_path != NULL) { in nfslog_sharefsargs_print()
805 " \"%s\"", args->sh_path); in nfslog_sharefsargs_print()
H A Dnfs_log_xdr.c285 if (!xdr_string(xdrs, &objp->sh_path, ~0)) in xdr_nfslog_sharefsargs()
/illumos-gate/usr/src/lib/libshare/common/
H A Dlibsharecore.c1400 newp->path = strdup(sharetab_entry->sh_path); in get_share_list()
2074 sh->sh_path = strdup(value); in sa_fillshare()
2140 if (sh->sh_path != NULL) in sa_emptyshare()
2141 free(sh->sh_path); in sa_emptyshare()
2142 sh->sh_path = NULL; in sa_emptyshare()
2235 sh.sh_path = path; in sa_delete_sharetab()
H A Dlibshare_zfs.c1505 i = (sh->sh_path ? strlen(sh->sh_path) : 0); in sa_share_zfs()
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dfs_shares.c296 newp->path = strdup(sharetab_entry->sh_path); in create_sharelist_entry()
/illumos-gate/usr/src/uts/common/nfs/
H A Dnfs_log.h153 char *sh_path; member
/illumos-gate/usr/src/lib/libshare/nfs/
H A Dlibshare_nfs.c2038 sh.sh_path = path; in nfs_disable_share()