Lines Matching refs:vlds_arg
604 vlds_svc_reg_arg_t vlds_arg; in vlds_ioctl() local
609 if (ddi_copyin((void *)arg, &vlds_arg, sizeof (vlds_arg), in vlds_ioctl()
616 if ((rv = vlds_get_ucap(ARGTOPTR(vlds_arg.vlds_capp), &ucap, in vlds_ioctl()
623 flags = vlds_flags_to_svc(vlds_arg.vlds_reg_flags); in vlds_ioctl()
630 vlds_flags_to_svc(vlds_arg.vlds_reg_flags) | DSSF_ISUSER, in vlds_ioctl()
642 if (ddi_copyout(&hdl_arg, ARGTOPTR(vlds_arg.vlds_hdlp), in vlds_ioctl()
655 vlds_unreg_hdl_arg_t vlds_arg; in vlds_ioctl() local
657 if (ddi_copyin((void *)arg, &vlds_arg, sizeof (vlds_arg), in vlds_ioctl()
664 hdl = vlds_arg.vlds_hdl; in vlds_ioctl()
685 vlds_hdl_lookup_arg_t vlds_arg; in vlds_ioctl() local
690 if (ddi_copyin((void *)arg, &vlds_arg, sizeof (vlds_arg), in vlds_ioctl()
697 is_client = ARGTOUINT(vlds_arg.vlds_isclient); in vlds_ioctl()
698 maxhdls = ARGTOUINT(vlds_arg.vlds_maxhdls); in vlds_ioctl()
705 if ((rv = vlds_get_string(&vlds_arg.vlds_service, &servicep, in vlds_ioctl()
716 if (ARGTOPTR(vlds_arg.vlds_hdlsp) == 0) { in vlds_ioctl()
737 ddi_copyout(hdlsp, ARGTOPTR(vlds_arg.vlds_hdlsp), in vlds_ioctl()
751 if (ddi_copyout(&nhdls_arg, ARGTOPTR(vlds_arg.vlds_nhdlsp), in vlds_ioctl()
764 vlds_dmn_lookup_arg_t vlds_arg; in vlds_ioctl() local
767 if (ddi_copyin((void *)arg, &vlds_arg, sizeof (vlds_arg), in vlds_ioctl()
774 hdl = vlds_arg.vlds_hdl; in vlds_ioctl()
784 if (ddi_copyout(&dhdl_arg, ARGTOPTR(vlds_arg.vlds_dhdlp), in vlds_ioctl()
798 vlds_send_msg_arg_t vlds_arg; in vlds_ioctl() local
802 if (ddi_copyin((void *)arg, &vlds_arg, sizeof (vlds_arg), in vlds_ioctl()
809 hdl = vlds_arg.vlds_hdl; in vlds_ioctl()
817 buflen = ARGTOUINT(vlds_arg.vlds_buflen); in vlds_ioctl()
820 "buflen: %ld", __func__, hdl, ARGTOPTR(vlds_arg.vlds_bufp), in vlds_ioctl()
823 if (ddi_copyin(ARGTOPTR(vlds_arg.vlds_bufp), bufp, buflen, in vlds_ioctl()
827 ARGTOPTR(vlds_arg.vlds_bufp), buflen); in vlds_ioctl()
848 vlds_recv_msg_arg_t vlds_arg; in vlds_ioctl() local
852 if (ddi_copyin((void *)arg, &vlds_arg, sizeof (vlds_arg), in vlds_ioctl()
859 hdl = vlds_arg.vlds_hdl; in vlds_ioctl()
867 buflen = ARGTOUINT(vlds_arg.vlds_buflen); in vlds_ioctl()
869 if ((rv = vlds_recv_msg(hdl, ARGTOPTR(vlds_arg.vlds_bufp), in vlds_ioctl()
877 if (ddi_copyout(&msglen_arg, ARGTOPTR(vlds_arg.vlds_msglenp), in vlds_ioctl()
895 vlds_hdl_isready_arg_t vlds_arg; in vlds_ioctl() local
900 if (ddi_copyin((void *)arg, &vlds_arg, sizeof (vlds_arg), in vlds_ioctl()
907 hdl = vlds_arg.vlds_hdl; in vlds_ioctl()
915 if (ddi_copyout(&is_ready_arg, ARGTOPTR(vlds_arg.vlds_isreadyp), in vlds_ioctl()
928 vlds_dom_nam2hdl_arg_t vlds_arg; in vlds_ioctl() local
933 if (ddi_copyin((void *)arg, &vlds_arg, sizeof (vlds_arg), in vlds_ioctl()
940 if ((rv = vlds_get_string(&vlds_arg.vlds_domain_name, in vlds_ioctl()
962 if (ddi_copyout(&dhdl_arg, ARGTOPTR(vlds_arg.vlds_dhdlp), in vlds_ioctl()
978 vlds_dom_hdl2nam_arg_t vlds_arg; in vlds_ioctl() local
982 if (ddi_copyin((void *)arg, &vlds_arg, sizeof (vlds_arg), in vlds_ioctl()
989 dhdl = vlds_arg.vlds_dhdl; in vlds_ioctl()
997 &vlds_arg.vlds_domain_name, mode)) != 0) { in vlds_ioctl()