Lines Matching refs:hdlsp
686 ds_svc_hdl_t *hdlsp; in vlds_ioctl() local
717 hdlsp = NULL; in vlds_ioctl()
719 hdlsp = DS_MALLOC(maxhdls * sizeof (*hdlsp)); in vlds_ioctl()
724 rv = ds_hdl_lookup(servicep, is_client, hdlsp, maxhdls, &nhdls); in vlds_ioctl()
728 if (hdlsp) { in vlds_ioctl()
729 DS_FREE(hdlsp, maxhdls * sizeof (*hdlsp)); in vlds_ioctl()
736 if (hdlsp != NULL && nhdls > 0 && in vlds_ioctl()
737 ddi_copyout(hdlsp, ARGTOPTR(vlds_arg.vlds_hdlsp), in vlds_ioctl()
739 if (hdlsp) { in vlds_ioctl()
740 DS_FREE(hdlsp, maxhdls * sizeof (*hdlsp)); in vlds_ioctl()
746 if (hdlsp) { in vlds_ioctl()
747 DS_FREE(hdlsp, maxhdls * sizeof (*hdlsp)); in vlds_ioctl()