Home
last modified time | relevance | path

Searched refs:wrp (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusbai_req.c362 wrp->wr_attrs = attrs; in _usba_check_req()
365 wrp->wr_done = B_FALSE; in _usba_check_req()
656 wrp->wr_dip = dip; in usba_req_wrapper_alloc()
657 wrp->wr_req = (usb_opaque_t)USBA_SETREQ_ADDR(wrp); in usba_req_wrapper_alloc()
661 usba_init_list(&wrp->wr_queue, (usb_opaque_t)wrp, in usba_req_wrapper_alloc()
663 usba_init_list(&wrp->wr_allocated_list, (usb_opaque_t)wrp, in usba_req_wrapper_alloc()
673 return (wrp); in usba_req_wrapper_alloc()
693 if (wrp) { in usba_req_wrapper_free()
698 &wrp->wr_queue); in usba_req_wrapper_free()
709 kmem_free(wrp, wrp->wr_length); in usba_req_wrapper_free()
[all …]
H A Dhcdi.c954 usba_req_wrapper_t *wrp = USBA_REQ2WRP(req); in usba_hcdi_get_req_private() local
956 return (wrp->wr_hcd_private); in usba_hcdi_get_req_private()
972 usba_req_wrapper_t *wrp = USBA_REQ2WRP(req); in usba_hcdi_set_req_private() local
974 wrp->wr_hcd_private = hcd_private; in usba_hcdi_set_req_private()
H A Dusba.c3139 usba_req_wrapper_t *wrp; in usba_check_for_leaks() local
3142 wrp = (usba_req_wrapper_t *)entry->private; in usba_check_for_leaks()
3149 ddi_driver_name(wrp->wr_dip), in usba_check_for_leaks()
3150 ddi_get_instance(wrp->wr_dip), in usba_check_for_leaks()
3151 (void *)wrp->wr_req); in usba_check_for_leaks()
3158 &wrp->wr_allocated_list); in usba_check_for_leaks()
3160 usba_req_wrapper_free(wrp); in usba_check_for_leaks()
/illumos-gate/usr/src/uts/common/sys/usb/usba/
H A Dusba_impl.h184 #define USBA_WRP2REQ(wrp) ((wrp)->wr_req) argument
191 #define USBA_SETREQ_ADDR(wrp) ((uintptr_t)(wrp) + sizeof (*(wrp))) argument
194 #define USBA_WRP2CTRL_REQ(wrp) ((usb_ctrl_req_t *)USBA_WRP2REQ((wrp))) argument
195 #define USBA_WRP2INTR_REQ(wrp) ((usb_intr_req_t *)USBA_WRP2REQ((wrp))) argument
196 #define USBA_WRP2BULK_REQ(wrp) ((usb_bulk_req_t *)USBA_WRP2REQ((wrp))) argument
197 #define USBA_WRP2ISOC_REQ(wrp) ((usb_isoc_req_t *)USBA_WRP2REQ((wrp))) argument
200 #define USBA_WRP2PH_DATA(wrp) \ argument
201 (usba_pipe_handle_data_t *)((wrp)->wr_ph_data)
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/
H A Drdsib_ep.c1567 ibt_send_wr_t *wrp, wr; in rds_build_n_post_msg() local
1646 wrp[ix].wr_id = (uintptr_t)bp1; in rds_build_n_post_msg()
1648 wrp[ix].wr_trans = IBT_RC_SRV; in rds_build_n_post_msg()
1649 wrp[ix].wr_opcode = IBT_WRC_SEND; in rds_build_n_post_msg()
1650 wrp[ix].wr_nds = 1; in rds_build_n_post_msg()
1651 wrp[ix].wr_sgl = &bp1->buf_ds; in rds_build_n_post_msg()
1751 ibt_send_wr_t *wrp; in rds_resend_messages() local
1829 wrp[ix].wr_id = (uintptr_t)bp; in rds_resend_messages()
1831 wrp[ix].wr_trans = IBT_RC_SRV; in rds_resend_messages()
1833 wrp[ix].wr_nds = 1; in rds_resend_messages()
[all …]
H A Drdsib_ib.c714 ibt_recv_wr_t *wrp, wr[RDS_POST_FEW_ATATIME]; in rds_post_recv_buf() local
803 wrp = kmem_zalloc(RDS_POST_FEW_ATATIME * sizeof (ibt_recv_wr_t), in rds_post_recv_buf()
806 wrp = &wr[0]; in rds_post_recv_buf()
814 wrp[ix].wr_id = (uintptr_t)bp; in rds_post_recv_buf()
815 wrp[ix].wr_nds = 1; in rds_post_recv_buf()
816 wrp[ix].wr_sgl = &bp->buf_ds; in rds_post_recv_buf()
820 ret = ibt_post_recv(chanhdl, wrp, jx, &kx); in rds_post_recv_buf()
862 kmem_free(wrp, RDS_POST_FEW_ATATIME * sizeof (ibt_recv_wr_t)); in rds_post_recv_buf()
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlinkprop.c3274 wl_rates_t *wrp; in get_rate_common() local
3278 wrp = malloc(WLDP_BUFSIZE); in get_rate_common()
3279 if (wrp == NULL) in get_rate_common()
3300 wrp->wl_rates_rates[i] % 2, in get_rate_common()
3303 *val_cnt = wrp->wl_rates_num; in get_rate_common()
3307 free(wrp); in get_rate_common()
3353 wl_rates_t *wrp; in set_wlan_rate() local
3356 wrp = malloc(WLDP_BUFSIZE); in set_wlan_rate()
3357 if (wrp == NULL) in set_wlan_rate()
3360 bzero(wrp, WLDP_BUFSIZE); in set_wlan_rate()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dib_cm.c490 ibt_send_wr_t *wrp; in rdsv3_ib_setup_qp() local
609 wrp = &ic->i_send_wrs[i]; in rdsv3_ib_setup_qp()
610 wrp->wr_sgl = &sgl[i * RDSV3_IB_MAX_SGE]; in rdsv3_ib_setup_qp()