Lines Matching defs:rv

190 	int rv;
197 rv = hsvc_register(&niu_hsvc[i], &minor);
198 if (rv == 0) {
328 int rv;
354 rv = ddi_taskq_dispatch(vdds->dds_taskqp,
356 if (rv != 0) {
387 rv = ddi_taskq_dispatch(vdds->dds_taskqp,
389 if (rv != 0) {
420 int rv;
447 rv = vnet_hio_mac_init(vnetp, vdds->hio_ifname);
448 if (rv != 0) {
451 rv = vdds_destroy_niu_node(dip, hio_cookie);
452 if (rv == 0) {
481 rv = vdds_destroy_niu_node(vnetp->vdds_info.hio_dip,
483 if (rv == 0) {
502 rv = vdds_destroy_niu_node(vnetp->vdds_info.hio_dip,
504 if (rv == 0) {
533 int rv;
545 rv = vnet_send_dds_msg(vnetp, &vmsg);
546 return (rv);
556 int rv;
566 rv = vnet_send_dds_msg(vnetp, dmsg);
567 return (rv);
646 int rv;
662 rv = e_ddi_branch_destroy(niu_dip, &fdip, 0);
663 if (rv != 0) {
669 rv = EBUSY;
680 DBG1(NULL, "returning rv=%d", rv);
681 return (rv);
696 int rv;
706 rv = ddi_prop_lookup_int_array(DDI_DEV_T_ANY, dip,
708 if (rv != DDI_PROP_SUCCESS) {
739 int rv;
746 rv = ddi_prop_lookup_int_array(DDI_DEV_T_ANY, dip,
748 if (rv != DDI_PROP_SUCCESS) {
886 int rv;
952 if ((rv = ddi_getlongprop(DDI_DEV_T_ANY, pdip, DDI_PROP_DONTPASS,
955 "Failed to get parent's ranges property(pdip=0x%p) rv=%d",
956 pdip, rv);
1016 rv = vdds_get_interrupts(cba->cookie, rnum, interrupts, &nintr);
1017 if (rv != 0) {
1083 int rv;
1096 if ((rv = e_ddi_branch_create(pdip, &br, NULL,
1098 DERR(NULL, "e_ddi_branch_create failed=%d", rv);
1116 int rv;
1120 rv = vdds_hv_niu_vr_get_txmap(hvcookie, &txmap);
1121 if (rv != H_EOK) {
1122 DWARN(NULL, "Failed to get txmap for hvcookie=0x%X rv=%d\n",
1123 hvcookie, rv);
1126 rv = vdds_hv_niu_vr_get_rxmap(hvcookie, &rxmap);
1127 if (rv != H_EOK) {
1128 DWARN(NULL, "Failed to get rxmap for hvcookie=0x%X, rv=%d\n",
1129 hvcookie, rv);
1135 rv = vdds_hv_niu_vrrx_set_ino(hvcookie, i, ino);
1136 if (rv != H_EOK) {
1138 "hvcookie=0x%X vch_idx=0x%lx rv=%d\n",
1139 hvcookie, i, rv);
1155 rv = vdds_hv_niu_vrtx_set_ino(hvcookie, i, ino);
1156 if (rv != H_EOK) {
1158 "hvcookie=0x%X vch_idx=0x%lx rv=%d\n",
1159 hvcookie, i, rv);
1188 int rv;
1190 if ((rv = ddi_getlongprop(DDI_DEV_T_ANY, nexus_dip, DDI_PROP_DONTPASS,
1193 "Failed to get nexus ranges property(dip=0x%p) rv=%d",
1194 nexus_dip, rv);