Searched refs:nds (Results 1 - 23 of 23) sorted by relevance

/illumos-gate/usr/src/lib/smbsrv/libmlrpc/common/
H A Dndr_ops.c31 * returning NULL, it should set the nds->error to indicate what went
125 nds_initialize(ndr_stream_t *nds, unsigned pdu_size_hint, argument
130 assert(nds);
133 bzero(nds, sizeof (*nds));
134 nds->ndo = &nds_ops;
135 nds->heap = (struct ndr_heap *)heap;
138 nds->error = NDR_ERR_BOUNDS_CHECK;
139 nds->error_ref = __LINE__;
140 NDS_TATTLE_ERROR(nds, NUL
171 nds_destruct(ndr_stream_t *nds) argument
183 nds_show_state(ndr_stream_t *nds) argument
202 ndo_malloc(ndr_stream_t *nds, unsigned len, ndr_ref_t *ref) argument
214 ndo_free(ndr_stream_t *nds, char *p, ndr_ref_t *ref) argument
231 ndo_grow_pdu(ndr_stream_t *nds, unsigned long want_end_offset, ndr_ref_t *ref) argument
260 ndo_pad_pdu(ndr_stream_t *nds, unsigned long pdu_offset, unsigned long n_bytes, ndr_ref_t *ref) argument
283 ndo_get_pdu(ndr_stream_t *nds, unsigned long pdu_offset, unsigned long n_bytes, char *buf, int swap_bytes, ndr_ref_t *ref) argument
313 ndo_put_pdu(ndr_stream_t *nds, unsigned long pdu_offset, unsigned long n_bytes, char *buf, int swap_bytes, ndr_ref_t *ref) argument
332 ndo_tattle(ndr_stream_t *nds, char *what, ndr_ref_t *ref) argument
338 ndo_tattle_error(ndr_stream_t *nds, ndr_ref_t *ref) argument
368 ndo_reset(ndr_stream_t *nds) argument
388 ndo_destruct(ndr_stream_t *nds) argument
411 ndo_printf(ndr_stream_t *nds, ndr_ref_t *ref, const char *fmt, ...) argument
440 ndo_fmt(ndr_stream_t *nds, ndr_ref_t *ref, char *note) argument
[all...]
H A Dndr_marshal.c42 ndr_encode_decode_common(ndr_stream_t *nds, unsigned opnum, argument
50 if (ndo_operation(nds, ti, opnum, datum))
53 switch (nds->error) {
71 if (nds->m_op == NDR_M_OP_MARSHALL)
183 ndr_stream_t *nds = &mxa->recv_nds; local
186 if (!NDR_MODE_MATCH(nds, NDR_MODE_CALL_RECV))
189 rc = ndr_encode_decode_common(nds, mxa->opnum,
201 ndr_stream_t *nds = &mxa->send_nds; local
204 if (!NDR_MODE_MATCH(nds, NDR_MODE_RETURN_SEND))
207 rc = ndr_encode_decode_common(nds, mx
219 ndr_stream_t *nds = &mxa->send_nds; local
237 ndr_stream_t *nds = &mxa->recv_nds; local
253 ndr_stream_t *nds = &mxa->recv_nds; local
271 ndr_decode_hdr_common(ndr_stream_t *nds, ndr_common_header_t *hdr) argument
322 ndr_decode_pac_hdr(ndr_stream_t *nds, ndr_pac_hdr_t *hdr) argument
366 ndr_decode_frag_hdr(ndr_stream_t *nds, ndr_common_header_t *hdr) argument
411 ndr_remove_frag_hdr(ndr_stream_t *nds) argument
454 ndr_stream_t *nds = &mxa->send_nds; local
500 ndr_stream_t *nds = encl_ref->stream; local
592 ndr_stream_t *nds = encl_ref->stream; local
[all...]
H A Dndr_process.c243 ndo_process(ndr_stream_t *nds, ndr_typeinfo_t *ti, char *datum) argument
248 myref.stream = nds;
257 ndo_operation(ndr_stream_t *nds, ndr_typeinfo_t *ti, int opnum, char *datum) argument
262 myref.stream = nds;
291 ndr_stream_t *nds; local
305 nds = top_ref->stream;
311 assert(nds->outer_queue_tailp && !*nds->outer_queue_tailp);
312 assert(!nds->outer_current);
378 outer_ref->pdu_offset = nds
406 ndr_stream_t *nds = arg_ref->stream; local
434 ndr_run_outer_queue(ndr_stream_t *nds) argument
590 ndr_stream_t *nds = outer_ref->stream; local
654 ndr_stream_t *nds = outer_ref->stream; local
744 ndr_stream_t *nds = outer_ref->stream; local
835 ndr_stream_t *nds = outer_ref->stream; local
963 ndr_stream_t *nds = outer_ref->stream; local
1095 ndr_stream_t *nds = ref->stream; local
1164 ndr_stream_t *nds = outer_ref->stream; local
1376 ndr_stream_t *nds = outer_ref->stream; local
1411 ndr_stream_t *nds = outer_ref->stream; local
1450 ndr_stream_t *nds = outer_ref->stream; local
1492 ndr_stream_t *nds = outer_ref->stream; local
1620 ndr_stream_t *nds = arg_ref->stream; local
1672 ndr_stream_t *nds = arg_ref->stream; local
1812 ndr_stream_t *nds = ref->stream; local
1913 ndr_stream_t *nds = encl_ref->stream; local
2001 ndr_mbstowcs(ndr_stream_t *nds, smb_wchar_t *wcs, const char *mbs, size_t nwchars) argument
2033 ndr_mbtowc(ndr_stream_t *nds, smb_wchar_t *wcharp, const char *mbchar, size_t nbytes) argument
[all...]
H A Dndr_server.c178 ndr_stream_t *nds = &mxa->recv_nds; local
193 nds->pdu_scan_offset = 0;
196 * This whacks nds->pdu_size, so save/restore.
199 saved_size = nds->pdu_size;
201 nds->pdu_size = saved_size;
227 ndr_stream_t *nds = &mxa->recv_nds; local
234 next_offset = nds->pdu_scan_offset + NDR_RSP_HDR_SIZE;
235 if (!NDS_GROW_PDU(nds, next_offset, 0))
239 data = nds->pdu_base_addr + nds
678 ndr_stream_t *nds = &mxa->send_nds; local
735 ndr_stream_t *nds = &mxa->send_nds; local
[all...]
H A Dndr_client.c277 ndr_stream_t *nds = &mxa->recv_nds; local
284 nds_show_state(nds);
291 if (frag_size > (nds->pdu_size - nds->pdu_scan_offset)) {
292 nds_show_state(nds);
296 ndr_remove_frag_hdr(nds);
297 nds->pdu_scan_offset += frag_size - NDR_RSP_HDR_SIZE;
311 ndr_stream_t *nds = &mxa->recv_nds; local
315 available = nds->pdu_size - nds
[all...]
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dgetdtablesize.c41 int nds; local
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dmlsvc_client.c541 ndr_stream_t *nds = &mxa->recv_nds; local
545 if ((len = (nds->pdu_max_size - nds->pdu_size)) < 0)
549 (char *)nds->pdu_base_offset + nds->pdu_size);
554 nds->pdu_size += nbytes;
556 if (nds->pdu_size > nds->pdu_max_size) {
557 nds->pdu_size = nds
[all...]
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_wr.c90 int nds; local
136 nds = wr->wr_nds;
171 if ((uintptr_t)ds + total_len + (nds * 16) >
272 nds = 0;
297 nds = 0;
307 if (nds > qp->qp_sq_sgl) {
311 for (last_ds = num_ds, j = i; j < nds; j++) {
316 for (j = nds; --j >= i; ) {
444 int nds; local
495 nds
1313 uint32_t nds; local
1692 uint32_t nds, offset, pktlen; local
[all...]
H A Dhermon_ci.c2433 int i, j, nds, max_nds; local
2459 nds = 0;
2496 if (nds > max_nds) {
2504 sgl[nds].ds_va = dmacookie.dmac_laddress;
2505 sgl[nds].ds_key = rsvd_lkey;
2506 sgl[nds].ds_len = (ib_msglen_t)dmacookie.dmac_size;
2507 nds++;
2511 wr->send.wr_nds = nds;
2552 if (nds + cookie_cnt > max_nds) {
2557 sgl[nds]
[all...]
/illumos-gate/usr/src/lib/udapl/udapl_tavor/tavor/
H A Ddapl_tavor_hw.c121 #define dapli_tavor_qp_send_doorbell(ia_uar, nda, nds, qpn, fence, nopcode) \
127 ((uint64_t)qpn << TAVOR_QPSNDDB_QPN_SHIFT) | nds)
137 uint32_t nds, uint32_t qpn, uint32_t fence, uint32_t nopcode)
146 ((uint64_t)qpn << TAVOR_QPSNDDB_QPN_SHIFT) | nds;
174 #define dapli_tavor_qp_recv_doorbell(ia_uar, nda, nds, qpn, credits) \
178 ((uint64_t)nds << TAVOR_QPRCVDB_NDS_SHIFT) | \
189 uint32_t nds, uint32_t qpn, uint32_t credits)
196 ((uint64_t)nds << TAVOR_QPRCVDB_NDS_SHIFT) |
299 uint32_t nds; local
307 nds
136 dapli_tavor_qp_send_doorbell(dapls_hw_uar_t ia_uar, uint32_t nda, uint32_t nds, uint32_t qpn, uint32_t fence, uint32_t nopcode) argument
188 dapli_tavor_qp_recv_doorbell(dapls_hw_uar_t ia_uar, uint32_t nda, uint32_t nds, uint32_t qpn, uint32_t credits) argument
[all...]
H A Ddapl_arbel_hw.c151 uint32_t nopcode, uint16_t wqe_counter, uint32_t nds)
159 (qpn << ARBEL_QPSNDDB_QPN_SHIFT) | nds;
195 uint32_t nds; local
203 nds = wr->wr_nds;
290 nds = 0;
301 * the values setup above (i.e. "sgl", "nds", and the "ds" pointer
304 if (nds > qp->qp_sq_sgl) {
319 for (i = 0; i < nds; i++)
328 for (i = 0; i < nds; i++) {
339 for (i = 0; i < nds;
150 dapli_arbel_sq_dbreg(dapls_hw_uar_t ia_uar, uint32_t qpn, uint32_t fence, uint32_t nopcode, uint16_t wqe_counter, uint32_t nds) argument
1530 dapli_arbel_rq_prelink(caddr_t first, uint32_t desc_off, uint32_t wqesz, uint32_t numwqe, uint32_t nds) argument
[all...]
H A Ddapl_hermon_hw.c183 uint32_t nds; local
193 nds = wr->wr_nds;
284 nds = 0;
296 * the values setup above (i.e. "sgl", "nds", and the "ds" pointer
299 if (nds > qp->qp_sq_sgl) {
314 for (i = 0; i < nds; i++)
357 while (++i < nds)
360 if (i >= nds)
365 } while (i < nds);
377 for (i = 0; i < nds;
1579 dapli_hermon_rq_prelink(caddr_t first, uint32_t desc_off, uint32_t wqesz, uint32_t numwqe, uint32_t nds) argument
[all...]
H A Ddapl_tavor_hw.h257 uint32_t nds :6; member in struct:tavor_hw_uar_send_s
267 uint32_t nds :6; member in struct:tavor_hw_uar_recv_s
357 uint32_t nds :6; member in struct:tavor_hw_snd_wqe_nextctrl_s
427 uint32_t nds :6; member in struct:tavor_hw_rcv_wqe_nextctrl_s
/illumos-gate/usr/src/lib/libadutils/common/
H A Dsrv_query.c512 add_preferred(ad_disc_cds_t *cds, ad_disc_ds_t *prefer, int *nds, int maxds) argument
517 assert(*nds < maxds);
518 for (i = 0; i < *nds; i++) {
538 *nds = i + 1;
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_rsrc.c127 eib_rsrc_grab_lsobufs(eib_t *ss, uint_t req_sz, ibt_wr_ds_t *sgl, uint32_t *nds) argument
138 ASSERT(nds != NULL);
196 *nds = num_needed;
216 * sgl/nds could've been set to different values). We'll make
276 eib_rsrc_return_lsobufs(eib_t *ss, ibt_wr_ds_t *sgl_p, uint32_t nds) argument
292 for (i = 0; i < nds; i++) {
312 bkt->bk_nfree += nds;
318 if (((bkt->bk_nfree - nds) < EIB_LSO_FREE_BUFS_THRESH) &&
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_wr.c46 uint32_t nds, uint32_t qpn, uint32_t fence, uint32_t nopcode);
49 uint32_t nds, uint32_t qpn, uint32_t credits);
892 tavor_qp_send_doorbell(tavor_state_t *state, uint32_t nda, uint32_t nds, argument
902 ((uint64_t)qpn << TAVOR_QPSNDDB_QPN_SHIFT) | nds;
918 tavor_qp_recv_doorbell(tavor_state_t *state, uint32_t nda, uint32_t nds, argument
926 ((uint64_t)nds << TAVOR_QPRCVDB_NDS_SHIFT) |
954 uint32_t nds; local
964 nds = wr->wr_nds;
1114 * Update "nds" and "sgl" because Atomic requests have
1118 nds
1446 uint32_t nds, offset, pktlen; local
[all...]
H A Dtavor_ci.c3092 int i, j, nds, max_nds; local
3128 nds = 0;
3163 if (nds > max_nds) {
3168 sgl[nds].ds_va = dmacookie.dmac_laddress;
3169 sgl[nds].ds_key = rsvd_lkey;
3170 sgl[nds].ds_len = (ib_msglen_t)dmacookie.dmac_size;
3171 nds++;
3175 wr->send.wr_nds = nds;
3216 if (nds + cookie_cnt > max_nds) {
3221 sgl[nds]
[all...]
/illumos-gate/usr/src/uts/common/rpc/
H A Drpcib.c2313 int i, nds; local
2324 nds = 0;
2328 if (nds >= DSEG_MAX) {
2332 sgl[nds].ds_va = clp->w.c_saddr;
2333 sgl[nds].ds_key = clp->c_smemhandle.mrc_lmr; /* lkey */
2334 sgl[nds].ds_len = clp->c_len;
2337 nds++;
2347 wdesc->nsbufs = nds;
2348 for (i = 0; i < nds; i++) {
2359 tx_wr.wr_nds = nds;
2481 int nds; local
2565 int nds; local
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_ds.c143 uint8_t pds, nds; local
208 nds = (uint8_t)(LE_32(msg[4]) & 0x0000000f);
210 "%s: previous_ds=0x%x, new_ds=0x%x", __func__, pds, nds);
212 xp->dev_state = nds;
/illumos-gate/usr/src/uts/common/sys/ib/adapters/tavor/
H A Dtavor_hw.h2083 uint32_t nds :6; member in struct:tavor_hw_uar_send_s
2093 uint32_t nds :6; member in struct:tavor_hw_uar_recv_s
2180 uint32_t nds :6; member in struct:tavor_hw_snd_wqe_nextctrl_s
2268 uint32_t nds :6; member in struct:tavor_hw_mlx_wqe_nextctrl_s
2307 uint32_t nds :6; member in struct:tavor_hw_rcv_wqe_nextctrl_s
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_ath9k.h1075 uint32_t pa, struct ath_desc *nds, uint64_t tsf);
H A Darn_mac.c950 struct ath_desc *nds,
948 ath9k_hw_rxprocdesc(struct ath_hal *ah, struct ath_desc *ds, uint32_t pa, struct ath_desc *nds, uint64_t tsf) argument
/illumos-gate/usr/src/uts/common/io/ib/clients/ibd/
H A Dibd.c3783 ibd_release_lsobufs(ibd_state_t *state, ibt_wr_ds_t *sgl_p, uint32_t nds) argument
3797 for (i = 0; i < nds; i++) {
3817 bktp->bkt_nfree += nds;

Completed in 157 milliseconds