Home
last modified time | relevance | path

Searched refs:wr (Results 1 – 25 of 151) sorted by relevance

1234567

/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_wr.c44 static uint32_t hermon_wr_get_immediate(ibt_send_wr_t *wr);
45 static int hermon_wr_bind_check(hermon_state_t *state, ibt_send_wr_t *wr);
47 ibt_send_wr_t *wr, uint64_t *desc, uint_t *size);
49 ibt_send_wr_t *wr, uint64_t *desc, uint_t *size);
52 ibt_recv_wr_t *wr, uint64_t *desc);
54 ibt_recv_wr_t *wr, uint64_t *desc);
74 ibt_send_wr_t *wr, uint_t num_wr, uint_t *num_posted) in hermon_post_send_ud() argument
136 nds = wr->wr_nds; in hermon_post_send_ud()
137 sgl = wr->wr_sgl; in hermon_post_send_ud()
146 switch (wr->wr_opcode) { in hermon_post_send_ud()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/iser/
H A Diser_xfer.c47 ibt_send_wr_t wr; in iser_xfer_hello_msg() local
90 wr.wr_id = (ibt_wrid_t)(uintptr_t)iser_wr; in iser_xfer_hello_msg()
93 wr.wr_trans = IBT_RC_SRV; in iser_xfer_hello_msg()
94 wr.wr_opcode = IBT_WRC_SEND; in iser_xfer_hello_msg()
95 wr.wr_nds = 1; in iser_xfer_hello_msg()
96 wr.wr_sgl = &msg->msg_ds; in iser_xfer_hello_msg()
108 status = ibt_post_send(chan->ic_chanhdl, &wr, 1, NULL); in iser_xfer_hello_msg()
132 ibt_send_wr_t wr; in iser_xfer_helloreply_msg() local
178 wr.wr_id = (ibt_wrid_t)(uintptr_t)iser_wr; in iser_xfer_helloreply_msg()
181 wr.wr_trans = IBT_RC_SRV; in iser_xfer_helloreply_msg()
[all …]
H A Diser_cq.c91 iser_wr_t *wr = NULL; in iser_ib_poll_send_completions() local
131 wr = (iser_wr_t *)(uintptr_t)wrid; in iser_ib_poll_send_completions()
132 ASSERT(wr != NULL); in iser_ib_poll_send_completions()
151 if (wr->iw_msg != NULL) { in iser_ib_poll_send_completions()
153 iser_msg_free(wr->iw_msg); in iser_ib_poll_send_completions()
156 if (wr->iw_pdu != NULL) { in iser_ib_poll_send_completions()
158 idm_pdu_complete(wr->iw_pdu, idm_status); in iser_ib_poll_send_completions()
161 if (wr->iw_buf != NULL) { in iser_ib_poll_send_completions()
163 idb = wr->iw_buf; in iser_ib_poll_send_completions()
173 if (wr->iw_type == ISER_WR_RDMAW) { in iser_ib_poll_send_completions()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_wr.c51 static uint32_t tavor_wr_get_immediate(ibt_send_wr_t *wr);
52 static int tavor_wr_bind_check(tavor_state_t *state, ibt_send_wr_t *wr);
54 ibt_send_wr_t *wr, uint64_t *desc, uint_t *size);
59 ibt_send_wr_t *wr, uint64_t *desc, uint_t *size);
64 ibt_recv_wr_t *wr, uint64_t *desc, uint_t *size);
68 ibt_recv_wr_t *wr, uint64_t *desc);
97 ibt_send_wr_t *wr, uint_t num_wr, uint_t *num_posted) in tavor_post_send() argument
219 &wr[wrindx], desc, &desc_sz); in tavor_post_send()
233 (wr[wrindx].wr_flags & IBT_WR_SEND_SIGNAL)) { in tavor_post_send()
239 wr[wrindx].wr_id, wqeaddrsz, signaled_dbd); in tavor_post_send()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dib_send.c479 ibt_send_wr_t *wr, unsigned int pos, in rdsv3_ib_xmit_populate_wr() argument
487 ic, wr, scat, pos, off, length, send_flags); in rdsv3_ib_xmit_populate_wr()
489 wr->wr_id = pos | RDSV3_IB_SEND_OP; in rdsv3_ib_xmit_populate_wr()
490 wr->wr_trans = IBT_RC_SRV; in rdsv3_ib_xmit_populate_wr()
491 wr->wr_flags = send_flags; in rdsv3_ib_xmit_populate_wr()
492 wr->wr_opcode = IBT_WRC_SEND; in rdsv3_ib_xmit_populate_wr()
513 sge = &wr->wr_sgl[ix++]; in rdsv3_ib_xmit_populate_wr()
525 wr->wr_nds = ix; in rdsv3_ib_xmit_populate_wr()
531 wr->wr_nds = 1; in rdsv3_ib_xmit_populate_wr()
534 sge = &wr->wr_sgl[0]; in rdsv3_ib_xmit_populate_wr()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_wr_impl.h45 #define WR_ISACK(wr) ((((kmdb_wr_t *)(wr))->wn_task) & WNTASK_ACK) argument
46 #define WR_ACK(wr) (((kmdb_wr_t *)(wr))->wn_task) |= WNTASK_ACK argument
47 #define WR_TASK(wr) ((((kmdb_wr_t *)(wr))->wn_task) & ~WNTASK_ACK) argument
H A Dkmdb_module.c50 kmdb_wr_path_t *wr; in kmdb_module_path_set() local
52 wr = mdb_zalloc(sizeof (kmdb_wr_path_t), UM_SLEEP); in kmdb_module_path_set()
53 wr->dpth_node.wn_task = WNTASK_DMOD_PATH_CHANGE; in kmdb_module_path_set()
54 wr->dpth_path = mdb_path_dup(path, pathlen, &wr->dpth_pathlen); in kmdb_module_path_set()
56 kmdb_wr_driver_notify(wr); in kmdb_module_path_set()
/illumos-gate/usr/src/contrib/ast/src/lib/libdll/
H A Ddllnext.c73 Write_f wr = 0; in _dll_next() local
86 wr = xr; in _dll_next()
138 if (wr) in _dll_next()
139 (*wr)(2, buf, sfsprintf(buf, sizeof(buf), "dll: next %s\n", vp)); in _dll_next()
144 else if (wr) in _dll_next()
145 (*wr)(2, buf, sfsprintf(buf, sizeof(buf), "dll: skip %s\n", vp)); in _dll_next()
151 if (wr) in _dll_next()
152 (*wr)(2, buf, sfsprintf(buf, sizeof(buf), "dll: this %s\n", vp)); in _dll_next()
/illumos-gate/usr/src/lib/udapl/udapl_tavor/tavor/
H A Ddapl_arbel_hw.c188 dapli_arbel_wqe_send_build(ib_qp_handle_t qp, ibt_send_wr_t *wr, in dapli_arbel_wqe_send_build() argument
203 nds = wr->wr_nds; in dapli_arbel_wqe_send_build()
204 sgl = wr->wr_sgl; in dapli_arbel_wqe_send_build()
206 ctrl = ((wr->wr_flags & IBT_WR_SEND_SIGNAL) ? in dapli_arbel_wqe_send_build()
208 ((wr->wr_flags & IBT_WR_SEND_SOLICIT) ? in dapli_arbel_wqe_send_build()
216 switch (wr->wr_opcode) { in dapli_arbel_wqe_send_build()
235 if (qp->qp_sq_inline < 0 && wr->wr_opcode == IBT_WRC_RDMAR) in dapli_arbel_wqe_send_build()
248 TAVOR_WQE_BUILD_REMADDR(rc, &wr->wr.rc.rcwr.rdma); in dapli_arbel_wqe_send_build()
265 old_rkey = wr->wr.rc.rcwr.bind->bind_rkey; in dapli_arbel_wqe_send_build()
270 wr->wr.rc.rcwr.bind->bind_rkey_out = new_rkey; in dapli_arbel_wqe_send_build()
[all …]
H A Ddapl_hermon_hw.c175 dapli_hermon_wqe_send_build(ib_qp_handle_t qp, ibt_send_wr_t *wr, in dapli_hermon_wqe_send_build() argument
193 nds = wr->wr_nds; in dapli_hermon_wqe_send_build()
194 sgl = wr->wr_sgl; in dapli_hermon_wqe_send_build()
196 ctrl = ((wr->wr_flags & IBT_WR_SEND_SIGNAL) ? in dapli_hermon_wqe_send_build()
198 ((wr->wr_flags & IBT_WR_SEND_SOLICIT) ? in dapli_hermon_wqe_send_build()
205 switch (wr->wr_opcode) { in dapli_hermon_wqe_send_build()
226 if (wr->wr_opcode == IBT_WRC_RDMAR) { in dapli_hermon_wqe_send_build()
242 TAVOR_WQE_BUILD_REMADDR(rc, &wr->wr.rc.rcwr.rdma); in dapli_hermon_wqe_send_build()
259 old_rkey = wr->wr.rc.rcwr.bind->bind_rkey; in dapli_hermon_wqe_send_build()
264 wr->wr.rc.rcwr.bind->bind_rkey_out = new_rkey; in dapli_hermon_wqe_send_build()
[all …]
H A Ddapl_tavor_hw.c292 dapli_tavor_wqe_send_build(ib_qp_handle_t qp, ibt_send_wr_t *wr, in dapli_tavor_wqe_send_build() argument
307 nds = wr->wr_nds; in dapli_tavor_wqe_send_build()
308 sgl = wr->wr_sgl; in dapli_tavor_wqe_send_build()
315 switch (wr->wr_opcode) { in dapli_tavor_wqe_send_build()
334 if (qp->qp_sq_inline < 0 && wr->wr_opcode == IBT_WRC_RDMAR) in dapli_tavor_wqe_send_build()
347 TAVOR_WQE_BUILD_REMADDR(rc, &wr->wr.rc.rcwr.rdma); in dapli_tavor_wqe_send_build()
360 old_rkey = wr->wr.rc.rcwr.bind->bind_rkey; in dapli_tavor_wqe_send_build()
367 wr->wr.rc.rcwr.bind->bind_rkey_out = new_rkey; in dapli_tavor_wqe_send_build()
377 TAVOR_WQE_BUILD_BIND(bn, wr->wr.rc.rcwr.bind); in dapli_tavor_wqe_send_build()
391 wr->wr_opcode); in dapli_tavor_wqe_send_build()
[all …]
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Doffload.h32 (w)->wr.wr_hi = htonl(V_FW_WR_OP(FW_ULPTX_WR) | \
34 (w)->wr.wr_mid = htonl(V_FW_WR_LEN16(DIV_ROUND_UP(wrlen, 16)) | \
36 (w)->wr.wr_lo = cpu_to_be64(0); \
40 (w)->wr.wr_hi = htonl(V_FW_WR_OP(FW_TP_WR) | \
41 V_FW_WR_IMMDLEN(sizeof (*w) - sizeof (w->wr))); \
42 (w)->wr.wr_mid = htonl(V_FW_WR_LEN16(DIV_ROUND_UP(sizeof (*w), 16)) | \
44 (w)->wr.wr_lo = cpu_to_be64(0); \
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dplockstat.d38 probe rw__acquire(rwlock_t *rwp, int wr);
39 probe rw__release(rwlock_t *rwp, int wr);
40 probe rw__block(rwlock_t *rwp, int wr);
41 probe rw__blocked(rwlock_t *rwp, int wr, int successful);
42 probe rw__error(rwlock_t *rwp, int wr, int err);
/illumos-gate/usr/src/common/bzip2/
H A Dcompress.c126 Int32 wr; in generateMTFValues() local
160 wr = 0; in generateMTFValues()
166 AssertD ( wr <= i, "generateMTFValues(1)" ); in generateMTFValues()
179 mtfv[wr] = BZ_RUNB; wr++; in generateMTFValues()
182 mtfv[wr] = BZ_RUNA; wr++; in generateMTFValues()
207 mtfv[wr] = j+1; wr++; s->mtfFreq[j+1]++; in generateMTFValues()
217 mtfv[wr] = BZ_RUNB; wr++; in generateMTFValues()
220 mtfv[wr] = BZ_RUNA; wr++; in generateMTFValues()
229 mtfv[wr] = EOB; wr++; s->mtfFreq[EOB]++; in generateMTFValues()
231 s->nMTF = wr; in generateMTFValues()
/illumos-gate/usr/src/uts/sun4/ml/
H A Dcpc_hwreg.S35 wr %o0, %pcr
48 1: wr %o0, %pic
54 wr %o0, %pic
/illumos-gate/usr/src/uts/common/io/comstar/port/srpt/
H A Dsrpt_stp.c531 ibt_send_wr_t wr; in srpt_stp_xfer_data() local
579 wr.wr_trans = IBT_RC_SRV; in srpt_stp_xfer_data()
580 wr.wr_opcode = (dbuf->db_flags & DB_DIRECTION_TO_RPORT) ? in srpt_stp_xfer_data()
582 wr.wr_nds = 1; in srpt_stp_xfer_data()
583 wr.wr_sgl = &ds; in srpt_stp_xfer_data()
626 wr.wr_flags = IBT_WR_SEND_SIGNAL; in srpt_stp_xfer_data()
628 wr.wr_flags = IBT_WR_NO_FLAGS; in srpt_stp_xfer_data()
631 wr.wr.rc.rcwr.rdma.rdma_raddr = desc->dd_vaddr + desc_offset; in srpt_stp_xfer_data()
632 wr.wr.rc.rcwr.rdma.rdma_rkey = desc->dd_hdl; in srpt_stp_xfer_data()
645 ibt_send_wr_t, &wr, uint32_t, rdma_len, in srpt_stp_xfer_data()
[all …]
/illumos-gate/usr/src/uts/common/io/nxge/npi/
H A Dnpi.c86 npi_rtrace_update(npi_handle_t handle, boolean_t wr, rtrace_t *rt, in npi_rtrace_update() argument
91 if (wr == B_TRUE) in npi_rtrace_update()
110 npi_trace_update(npi_handle_t handle, boolean_t wr, rtrace_t *rt, in npi_trace_update() argument
115 if (wr == B_TRUE) in npi_trace_update()
/illumos-gate/usr/src/lib/libc/sparc/crt/
H A Dhwmuldiv.S52 wr %g0, %o2, %y
64 wr %g0, %g0, %y
73 wr %o4, %g0, %y
86 wr %g0, %g0, %y
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dus3_cheetah_asm.S216 wr %g0, TRAPTR_ASI, %asi
229 wr %g0, %g7, %asi
232 wr %g0, TRAPTR_ASI, %asi
235 wr %g0, %g7, %asi
238 wr %g0, TRAPTR_ASI, %asi
241 wr %g0, %g7, %asi
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfpoll.c168 { fd_set rd, wr; local
172 FD_ZERO(&wr);
181 FD_SET(f->file,&wr);
200 while((np = select(m+1,&rd,&wr,NIL(fd_set*),tmp)) < 0 )
212 { if(FD_ISSET(f->file,&wr) )
H A Dsfwr.c42 reg ssize_t s, w, wr; local
96 if((wr = syswritef(f->file,wbuf,buf-wbuf)) > 0)
97 { w += wr;
100 if(wr != (buf-wbuf))
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpcisch_asm.S47 wr %g0, %o3, %fprs ! make sure fp is enabled
49 wr %o2, 0, %fprs ! restore fprs
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsgcn.c1051 circular_buffer_write(int begin, int end, int rd, int wr, caddr_t buf, int len) in circular_buffer_write() argument
1065 space = (rd - wr + size - 1) % size; in circular_buffer_write()
1067 space_at_end = end - wr; in circular_buffer_write()
1069 if (rd > wr || rd <= wr && space_at_end >= len) { /* one piece */ in circular_buffer_write()
1071 rv = iosram_write(SBBC_CONSOLE_KEY, wr, buf, len); in circular_buffer_write()
1077 wr, buf, space_at_end); in circular_buffer_write()
1103 circular_buffer_read(int begin, int end, int rd, int wr, caddr_t buf, int len) in circular_buffer_read() argument
1113 nbytes = (wr - rd + size) % size; in circular_buffer_read()
1117 if (wr > rd) { /* one piece */ in circular_buffer_read()
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_glob.h62 extern int lockTransLog(const char *msg, int wr, int trylock);
63 extern void unlockTransLog(const char *msg, int wr);
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_reopen/
H A Dzpool_reopen_007_pos.ksh57 read -r name state rd wr cksum
60 log_must [ $wr -eq 0 ]

1234567