Searched defs:wr (Results 1 - 25 of 47) sorted by relevance

12

/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfwr.c39 reg ssize_t s, w, wr; local
93 if((wr = syswritef(f->file,wbuf,buf-wbuf)) > 0)
94 { w += wr;
97 if(wr != (buf-wbuf))
H A Dsfpoll.c163 { fd_set rd, wr; local
167 FD_ZERO(&wr);
176 FD_SET(f->file,&wr);
195 while((np = select(m+1,&rd,&wr,NIL(fd_set*),tmp)) < 0 )
207 { if(FD_ISSET(f->file,&wr) )
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhpi.c85 hpi_rtrace_update(hpi_handle_t handle, boolean_t wr, rtrace_t *rt, argument
90 if (wr == B_TRUE)
/illumos-gate/usr/src/lib/libdll/common/
H A Ddllnext.c73 Write_f wr = 0; local
86 wr = xr;
138 if (wr)
139 (*wr)(2, buf, sfsprintf(buf, sizeof(buf), "dll: next %s\n", vp));
144 else if (wr)
145 (*wr)(2, buf, sfsprintf(buf, sizeof(buf), "dll: skip %s\n", vp));
151 if (wr)
152 (*wr)(2, buf, sfsprintf(buf, sizeof(buf), "dll: this %s\n", vp));
/illumos-gate/usr/src/uts/common/io/ib/clients/iser/
H A Diser_xfer.c47 ibt_send_wr_t wr; local
82 "iser wr handle");
90 wr.wr_id = (ibt_wrid_t)(uintptr_t)iser_wr;
93 wr.wr_trans = IBT_RC_SRV;
94 wr.wr_opcode = IBT_WRC_SEND;
95 wr.wr_nds = 1;
96 wr.wr_sgl = &msg->msg_ds;
108 status = ibt_post_send(chan->ic_chanhdl, &wr, 1, NULL);
132 ibt_send_wr_t wr; local
170 "allocate iser wr handl
231 ibt_send_wr_t wr; local
415 ibt_send_wr_t wr; local
517 ibt_send_wr_t wr; local
[all...]
H A Diser_cq.c91 iser_wr_t *wr = NULL; local
130 /* Pull in the wr handle */
131 wr = (iser_wr_t *)(uintptr_t)wrid;
132 ASSERT(wr != NULL);
151 if (wr->iw_msg != NULL) {
153 iser_msg_free(wr->iw_msg);
156 if (wr->iw_pdu != NULL) {
158 idm_pdu_complete(wr->iw_pdu, idm_status);
161 if (wr->iw_buf != NULL) {
163 idb = wr
[all...]
H A Diser_ib.c767 ibt_recv_wr_t *wrlist, wr[ISER_IB_RQ_POST_MAX]; local
852 wrlist = &wr[0];
/illumos-gate/usr/src/uts/common/io/nxge/npi/
H A Dnpi.c88 npi_rtrace_update(npi_handle_t handle, boolean_t wr, rtrace_t *rt, argument
93 if (wr == B_TRUE)
112 npi_trace_update(npi_handle_t handle, boolean_t wr, rtrace_t *rt, argument
117 if (wr == B_TRUE)
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_glob.c72 __local_lockTransLog(const char *msg, int wr, int trylock) { argument
77 __local_unlockTransLog(const char *msg, int wr) { argument
H A Dldap_parse.c560 int freeIntName = 0, rd, wr; local
585 rd = wr = 0;
598 wr++;
604 *doWrite = (wr > 0) ? 1 : 0;
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_module.c52 kmdb_wr_path_t *wr; local
54 wr = mdb_zalloc(sizeof (kmdb_wr_path_t), UM_SLEEP);
55 wr->dpth_node.wn_task = WNTASK_DMOD_PATH_CHANGE;
56 wr->dpth_path = mdb_path_dup(path, pathlen, &wr->dpth_pathlen);
58 kmdb_wr_driver_notify(wr);
/illumos-gate/usr/src/common/bzip2/
H A Dcompress.c126 Int32 wr; local
160 wr = 0;
166 AssertD ( wr <= i, "generateMTFValues(1)" );
179 mtfv[wr] = BZ_RUNB; wr++;
182 mtfv[wr] = BZ_RUNA; wr++;
207 mtfv[wr] = j+1; wr++; s->mtfFreq[j+1]++;
217 mtfv[wr]
[all...]
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dib_send.c479 ibt_send_wr_t *wr, unsigned int pos,
486 "ic: %p, wr: %p scat: %p %d %d %d %d",
487 ic, wr, scat, pos, off, length, send_flags);
489 wr->wr_id = pos | RDSV3_IB_SEND_OP;
490 wr->wr_trans = IBT_RC_SRV;
491 wr->wr_flags = send_flags;
492 wr->wr_opcode = IBT_WRC_SEND;
513 sge = &wr->wr_sgl[ix++];
525 wr->wr_nds = ix;
531 wr
478 rdsv3_ib_xmit_populate_wr(struct rdsv3_ib_connection *ic, ibt_send_wr_t *wr, unsigned int pos, struct rdsv3_scatterlist *scat, unsigned int off, unsigned int length, int send_flags) argument
565 ibt_send_wr_t *wr; local
998 ibt_send_wr_t *wr; local
[all...]
H A Dib_recv.c388 ibt_send_wr_t *wr = &ic->i_ack_wr; local
397 wr->wr_sgl = sge;
398 wr->wr_nds = 1;
399 wr->wr_opcode = IBT_WRC_SEND;
400 wr->wr_id = RDSV3_IB_ACK_WR_ID;
401 wr->wr_flags = IBT_WR_SEND_SIGNAL | IBT_WR_SEND_SOLICIT;
421 * statically allocated ack frame. This ack wr does not fall under the ring
/illumos-gate/usr/src/uts/common/io/ib/ibtl/
H A Dibtl_mem.c553 * wr A pointer to the work request where the output
564 ibt_all_wr_t *wr, ibt_mi_hdl_t *mi_hdl_p)
569 hca_hdl, iov_attr, wr);
572 IBTL_HCA2CIHCA(hca_hdl), iov_attr, wr, mi_hdl_p);
563 ibt_map_mem_iov(ibt_hca_hdl_t hca_hdl, ibt_iov_attr_t *iov_attr, ibt_all_wr_t *wr, ibt_mi_hdl_t *mi_hdl_p) argument
/illumos-gate/usr/src/uts/common/io/comstar/port/srpt/
H A Dsrpt_ch.c1347 ibt_send_wr_t wr; local
1364 wr.wr_id = srpt_ch_alloc_swqe_wrid(ch, SRPT_SWQE_TYPE_RESP,
1366 if (wr.wr_id == 0) {
1373 wr.wr_flags = IBT_WR_SEND_SIGNAL;
1375 wr.wr_flags |= IBT_WR_SEND_FENCE;
1377 wr.wr_opcode = IBT_WRC_SEND;
1378 wr.wr_trans = IBT_RC_SRV;
1379 wr.wr_nds = 1;
1380 wr.wr_sgl = &ds;
1391 status = ibt_post_send(ch->ch_chan_hdl, &wr,
[all...]
H A Dsrpt_stp.c531 ibt_send_wr_t wr; local
579 wr.wr_trans = IBT_RC_SRV;
580 wr.wr_opcode = (dbuf->db_flags & DB_DIRECTION_TO_RPORT) ?
582 wr.wr_nds = 1;
583 wr.wr_sgl = &ds;
626 wr.wr_flags = IBT_WR_SEND_SIGNAL;
628 wr.wr_flags = IBT_WR_NO_FLAGS;
631 wr.wr.rc.rcwr.rdma.rdma_raddr = desc->dd_vaddr + desc_offset;
632 wr
[all...]
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/
H A Din.lpd.c268 int rd, wr; local
270 for (rd = wr = 0; entry[rd] != '\0'; rd++) {
273 if (rd != wr)
274 entry[wr] = entry[rd];
275 wr++;
277 entry[wr] = '\0';
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dnbns_rq.c481 fd_set rd, wr, ex; local
488 FD_ZERO(&wr);
495 n = select(s + 1, &rd, &wr, &ex, &tv);
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/
H A Drdsib_ib.c714 ibt_recv_wr_t *wrp, wr[RDS_POST_FEW_ATATIME]; local
806 wrp = &wr[0];
H A Drdsib_ep.c414 ep->ep_ackwr.wr.rc.rcwr.rdma.rdma_raddr = 0;
415 ep->ep_ackwr.wr.rc.rcwr.rdma.rdma_rkey = 0;
1447 ibt_send_wr_t wr; local
1471 wr.wr_id = (uintptr_t)bp;
1472 wr.wr_flags = IBT_WR_SEND_SOLICIT;
1473 wr.wr_trans = IBT_RC_SRV;
1474 wr.wr_opcode = IBT_WRC_SEND;
1475 wr.wr_nds = 1;
1476 wr.wr_sgl = &bp->buf_ds;
1479 ret = ibt_post_send(ep->ep_chanhdl, &wr,
1567 ibt_send_wr_t *wrp, wr; local
[all...]
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsgcn.c435 prom_printf("sgcn_wput(): SGCN wput q=%X mp=%X rd=%X wr=%X type=%X\n",
500 prom_printf("sgcn_wput(): DATA q=%X mp=%X rd=%X wr=%X\n",
1046 * begin, end, rd, wr buffer pointers
1051 circular_buffer_write(int begin, int end, int rd, int wr, caddr_t buf, int len) argument
1065 space = (rd - wr + size - 1) % size;
1067 space_at_end = end - wr;
1069 if (rd > wr || rd <= wr && space_at_end >= len) { /* one piece */
1071 rv = iosram_write(SBBC_CONSOLE_KEY, wr, buf, len);
1077 wr, bu
1103 circular_buffer_read(int begin, int end, int rd, int wr, caddr_t buf, int len) argument
[all...]
/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, argument
203 nds = wr->wr_nds;
204 sgl = wr->wr_sgl;
206 ctrl = ((wr->wr_flags & IBT_WR_SEND_SIGNAL) ?
208 ((wr->wr_flags & IBT_WR_SEND_SOLICIT) ?
216 switch (wr->wr_opcode) {
235 if (qp->qp_sq_inline < 0 && wr->wr_opcode == IBT_WRC_RDMAR)
248 TAVOR_WQE_BUILD_REMADDR(rc, &wr->wr.rc.rcwr.rdma);
262 /* XXX - need equiv of "arbel_wr_bind_check(state, wr);" */
431 dapli_arbel_wqe_recv_build(ib_qp_handle_t qp, ibt_recv_wr_t *wr, uint64_t *addr, uint_t *size) argument
489 dapli_arbel_wqe_srq_build(ib_srq_handle_t srq, ibt_recv_wr_t *wr, uint64_t *addr) argument
1035 dapli_arbel_post_send(DAPL_EP *ep, ibt_send_wr_t *wr, boolean_t ns) argument
1172 dapli_arbel_post_recv(DAPL_EP *ep, ibt_recv_wr_t *wr, boolean_t ns) argument
1287 dapli_arbel_post_srq(DAPL_SRQ *srqp, ibt_recv_wr_t *wr, boolean_t ns) argument
[all...]
H A Ddapl_hermon_hw.c175 dapli_hermon_wqe_send_build(ib_qp_handle_t qp, ibt_send_wr_t *wr, argument
193 nds = wr->wr_nds;
194 sgl = wr->wr_sgl;
196 ctrl = ((wr->wr_flags & IBT_WR_SEND_SIGNAL) ?
198 ((wr->wr_flags & IBT_WR_SEND_SOLICIT) ?
205 switch (wr->wr_opcode) {
226 if (wr->wr_opcode == IBT_WRC_RDMAR) {
242 TAVOR_WQE_BUILD_REMADDR(rc, &wr->wr.rc.rcwr.rdma);
256 /* XXX - need equiv of "hermon_wr_bind_check(state, wr);" */
409 dapli_hermon_wqe_recv_build(ib_qp_handle_t qp, ibt_recv_wr_t *wr, uint64_t *addr, uint_t *size) argument
466 dapli_hermon_wqe_srq_build(ib_srq_handle_t srq, ibt_recv_wr_t *wr, uint64_t *addr) argument
1074 dapli_hermon_post_send(DAPL_EP *ep, ibt_send_wr_t *wr, boolean_t ns) argument
1230 dapli_hermon_post_recv(DAPL_EP *ep, ibt_recv_wr_t *wr, boolean_t ns) argument
1342 dapli_hermon_post_srq(DAPL_SRQ *srqp, ibt_recv_wr_t *wr, boolean_t ns) argument
[all...]
H A Ddapl_tavor_hw.c292 dapli_tavor_wqe_send_build(ib_qp_handle_t qp, ibt_send_wr_t *wr, argument
307 nds = wr->wr_nds;
308 sgl = wr->wr_sgl;
315 switch (wr->wr_opcode) {
334 if (qp->qp_sq_inline < 0 && wr->wr_opcode == IBT_WRC_RDMAR)
347 TAVOR_WQE_BUILD_REMADDR(rc, &wr->wr.rc.rcwr.rdma);
360 old_rkey = wr->wr.rc.rcwr.bind->bind_rkey;
367 wr
562 dapli_tavor_wqe_recv_build(ib_qp_handle_t qp, ibt_recv_wr_t *wr, uint64_t *addr, uint_t *size) argument
668 dapli_tavor_wqe_srq_build(ib_srq_handle_t srq, ibt_recv_wr_t *wr, uint64_t *addr) argument
1295 dapli_tavor_post_send(DAPL_EP *ep, ibt_send_wr_t *wr, boolean_t ns) argument
1427 dapli_tavor_post_recv(DAPL_EP *ep, ibt_recv_wr_t *wr, boolean_t ns) argument
1548 dapli_tavor_post_srq(DAPL_SRQ *srqp, ibt_recv_wr_t *wr, boolean_t ns) argument
[all...]

Completed in 293 milliseconds

12