Home
last modified time | relevance | path

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

/titanic_41/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()
/titanic_41/usr/src/cmd/sgs/test/ld/assert-deflib/
H A Dtest-deflib.sh27 sh_path=
51 [[ -f $sh_path/$sh_lib/$sh_soname ]] || fatal "missing 32-bit $sh_soname"
52 [[ -f $sh_path/$sh_lib64/$sh_soname ]] ||
68 LD_LIBRARY_PATH_64="$sh_path/$sh_lib64" $sh_cc $sh_cflags $sh_file $1
76 sh_path=$1
/titanic_41/usr/src/uts/common/fs/sharefs/
H A Dsharetab.c137 iPath = shl ? shl->shl_path : strlen(sh->sh_path); in sharefs_remove()
138 iHash = pkp_tab_hash(sh->sh_path, strlen(sh->sh_path)); in sharefs_remove()
148 if (strcmp(sh->sh_path, s->sh_path) == 0 && in sharefs_remove()
149 strlen(s->sh_path) == iPath) { in sharefs_remove()
233 iHash = pkp_tab_hash(sh->sh_path, strlen(sh->sh_path)); in sharefs_add()
235 iPath = shl ? shl->shl_path : strlen(sh->sh_path); in sharefs_add()
241 sh->sh_size = strlen(sh->sh_path) + in sharefs_add()
264 if (strcmp(sh->sh_path, s->sh_path) == 0 && in sharefs_add()
265 strlen(s->sh_path) == iPath) { in sharefs_add()
H A Dsharefs_vnops.c115 sh->sh_path, in sharefs_snap_create()
/titanic_41/usr/src/cmd/rexd/
H A Dsharetab.c84 sh->sh_path = strtok(p, w); in getshare()
85 if (sh->sh_path == NULL) in getshare()
113 nsh->sh_path = strdup(sh->sh_path); in sharedup()
114 if (nsh->sh_path == NULL) in sharedup()
140 if (sh->sh_path != NULL) in sharefree()
141 free(sh->sh_path); in sharefree()
H A Dwhere.c225 if (len = preflen(qualpn, exp->sh_path))
228 strncpy(bestname, exp->sh_path,
/titanic_41/usr/src/uts/common/sharefs/
H A Dshare.h43 char *sh_path; member
54 caddr32_t sh_path; member
/titanic_41/usr/src/lib/libc/port/sys/
H A Dsharefs.c56 i = (sh->sh_path ? strlen(sh->sh_path) : 0); in _sharefs()
/titanic_41/usr/src/cmd/fs.d/nfs/mountd/
H A Dexportlist.c156 tail = newexport(sh->sh_path, groups, tail); in export()
H A Dmountd.c867 if (strcmp(sh->sh_path, rpath) != 0) in checkrootmount()
1570 for (p1 = sh->sh_path, p2 = path; *p1 == *p2; p1++, p2++) in findentry()
1593 if (same_file_system(path, sh->sh_path)) in findentry()
/titanic_41/usr/src/cmd/fs.d/nfs/nfslog/
H A Dfhtab.c2135 "=============\nSHARE: name '%s', fh ", args->sh_path); in nfslog_SHARE_fhargs()
2156 args->sh_path, &fhrec, &error) == NULL) { in nfslog_SHARE_fhargs()
2157 if (error = FH_ADD(fhpath, fh, fh, args->sh_path)) { in nfslog_SHARE_fhargs()
2160 args->sh_path, ((error >= 0) ? in nfslog_SHARE_fhargs()
2183 args->sh_path); in nfslog_UNSHARE_fhargs()
2207 if (error = fh_remove(fhpath, fh, args->sh_path, pathp1)) { in nfslog_UNSHARE_fhargs()
2209 args->sh_path, ((error >= 0) ? strerror(error) : in nfslog_UNSHARE_fhargs()
H A Dnfslog_elf.c805 if (args->sh_path != NULL) { in nfslog_sharefsargs_print()
807 " \"%s\"", args->sh_path); in nfslog_sharefsargs_print()
H A Dnfs_log_xdr.c287 if (!xdr_string(xdrs, &objp->sh_path, ~0)) in xdr_nfslog_sharefsargs()
/titanic_41/usr/src/lib/libshare/common/
H A Dlibsharecore.c1399 newp->path = strdup(sharetab_entry->sh_path); in get_share_list()
1999 sh->sh_path = strdup(value); in sa_fillshare()
2065 if (sh->sh_path != NULL) in sa_emptyshare()
2066 free(sh->sh_path); in sa_emptyshare()
2067 sh->sh_path = NULL; in sa_emptyshare()
2160 sh.sh_path = path; in sa_delete_sharetab()
H A Dlibshare_zfs.c1329 i = (sh->sh_path ? strlen(sh->sh_path) : 0); in sa_share_zfs()
/titanic_41/usr/src/lib/libfsmgt/common/
H A Dfs_shares.c298 newp->path = strdup(sharetab_entry->sh_path); in create_sharelist_entry()
/titanic_41/usr/src/uts/common/nfs/
H A Dnfs_log.h150 char *sh_path; member
/titanic_41/usr/src/lib/libshare/nfs/
H A Dlibshare_nfs.c2070 sh.sh_path = path; in nfs_disable_share()