Searched defs:srhp (Results 1 - 3 of 3) sorted by relevance

/osnet-11/usr/src/lib/libshare/common/
H A Dlibshare_fs.c330 safs_share_read_init(libshare_handle_t *shdl, sa_read_hdl_t *srhp) argument
335 fstype = safs_path_to_fstype(shdl, srhp->srh_mntpnt);
342 return (ops->saf_share_read_init(shdl, srhp));
346 safs_share_read_next(libshare_handle_t *shdl, sa_read_hdl_t *srhp, argument
352 fstype = safs_path_to_fstype(shdl, srhp->srh_mntpnt);
359 return (ops->saf_share_read_next(shdl, srhp, share));
363 safs_share_read_fini(libshare_handle_t *shdl, sa_read_hdl_t *srhp) argument
368 fstype = safs_path_to_fstype(shdl, srhp->srh_mntpnt);
375 return (ops->saf_share_read_fini(shdl, srhp));
H A Dlibshare.c2526 sa_read_hdl_t *srhp; local
2528 if ((srhp = calloc(1, sizeof (sa_read_hdl_t))) != NULL) {
2529 srhp->srh_proto = SA_PROT_ALL; /* used by find routines */
2532 return (srhp);
2542 sa_free_read_hdl(sa_read_hdl_t *srhp) argument
2544 if (srhp->srh_mnttab_fp != NULL)
2545 (void) fclose(srhp->srh_mnttab_fp);
2547 if (srhp->srh_mntpnt != NULL)
2548 free(srhp->srh_mntpnt);
2550 free(srhp);
2569 sa_read_hdl_t *srhp; local
2674 sa_read_hdl_t *srhp = (sa_read_hdl_t *)hdl; local
2761 sa_read_hdl_t *srhp = (sa_read_hdl_t *)hdl; local
[all...]
/osnet-11/usr/src/lib/libshare_plugins/zfs/
H A Dlibshare_zfs.c246 sa_zfs_share_read_init(libshare_handle_t *shdl, sa_read_hdl_t *srhp) argument
256 rc = zfssa_share_storage_read_init(zfs_hdl, srhp->srh_mntpnt,
257 srhp->srh_include_invalid_shares, &srhp->srh_handle);
261 srhp->srh_mntpnt);
269 sa_zfs_share_read_next(libshare_handle_t *shdl, sa_read_hdl_t *srhp, argument
274 if (srhp == NULL || srhp->srh_mntpnt == NULL ||
275 srhp->srh_handle == NULL) {
281 rc = zfssa_share_storage_read_next(srhp
300 sa_zfs_share_read_fini(libshare_handle_t *shdl, sa_read_hdl_t *srhp) argument
[all...]

Completed in 30 milliseconds