Lines Matching defs:srhp
246 sa_zfs_share_read_init(libshare_handle_t *shdl, sa_read_hdl_t *srhp)
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,
274 if (srhp == NULL || srhp->srh_mntpnt == NULL ||
275 srhp->srh_handle == NULL) {
281 rc = zfssa_share_storage_read_next(srhp->srh_handle, sharep);
288 (rc = sazfs_add_mntpnt(*sharep, srhp->srh_mntpnt)) != SA_OK) {
300 sa_zfs_share_read_fini(libshare_handle_t *shdl, sa_read_hdl_t *srhp)
302 if (srhp == NULL)
305 if (srhp->srh_handle != NULL) {
306 (void) zfssa_share_storage_read_fini(srhp->srh_handle);
307 srhp->srh_handle = NULL;