Searched refs:mblk (Results 1 - 25 of 33) sorted by relevance

12

/illumos-gate/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_q.c75 hci1394_q_cmd_t *cmd, h1394_mblk_t *mblk);
758 * private structure (h1394_mblk_t) to keep track of how much of the mblk
765 hci1394_basic_pkt_t *hdr, uint_t hdrsize, h1394_mblk_t *mblk, int *result)
775 ASSERT(mblk != NULL);
817 status = hci1394_q_reserve(&q_handle->q_data, mblk->length,
830 /* Copy mblk data into data buffer */
831 hci1394_q_at_copy_from_mblk(&q_handle->q_data, cmd, mblk);
838 mblk->length);
1273 * Copy a byte stream from a mblk(s) to a IO mapped data buffer (qbuf).
1274 * Copy mblk
764 hci1394_q_at_with_mblk(hci1394_q_handle_t q_handle, hci1394_q_cmd_t *cmd, hci1394_basic_pkt_t *hdr, uint_t hdrsize, h1394_mblk_t *mblk, int *result) argument
1281 hci1394_q_at_copy_from_mblk(hci1394_q_buf_t *qbuf, hci1394_q_cmd_t *cmd, h1394_mblk_t *mblk) argument
1597 hci1394_q_ar_copy_to_mblk(hci1394_q_handle_t q_handle, uint8_t *addr, h1394_mblk_t *mblk) argument
[all...]
H A Dhci1394_async.c1419 if (data_length != cmd_priv->mblk.length) {
1424 tnf_uint, requested_size, cmd_priv->mblk.length,
1431 /* Copy the read block data into the command mblk */
1433 (uint8_t *)&pkt->q5, &cmd_priv->mblk);
1843 * Read in the tlabel and destination. We don't use an mblk for this
1922 * Read in the tlabel and destination. We don't use an mblk for this
2011 * and allocate an mblk of that size.
2109 * and allocate an mblk of that size.
2314 * set state that we do not use an mblk for this request.
2526 header.q4 = HCI1394_DESC_DATALEN_SET(cmd_priv->mblk
[all...]
/illumos-gate/usr/src/uts/intel/io/vmxnet3s/
H A Dvmxnet3_tx.c100 mblk_t *mblk = mp; local
106 * - Do not assume all the headers are in the same mblk.
107 * - Assume each header is always within one mblk.
108 * - Assume the ethernet header is in the first mblk.
110 ip = mblk->b_rptr + ethLen;
111 if (ip >= mblk->b_wptr) {
112 mblk = mblk->b_cont;
113 ip = mblk->b_rptr;
117 if (tcp >= mblk
167 mblk_t *mblk; local
[all...]
H A Dvmxnet3_rx.c25 * for its associated mblk which has to be allocated later.
203 rxBuf->mblk = desballoc((uchar_t *)rxBuf->dma.buf,
205 if (rxBuf->mblk == NULL) {
294 ASSERT(rxBuf->mblk);
300 freemsg(rxBuf->mblk);
358 mblk_t *mblk = rxBuf->mblk; local
371 ASSERT(mblk);
391 /* Success, we can chain the mblk with the mp */
392 mblk
[all...]
H A Dvmxnet3.h95 mblk_t *mblk; member in struct:vmxnet3_rxbuf_t
/illumos-gate/usr/src/uts/common/io/zyd/
H A Dzyd_usb.c179 /* Pointer msg must be either set to NULL or point to a valid mblk! */
531 mblk_t *mblk; local
547 mblk = send_req->bulk_data;
548 bcopy(data, mblk->b_wptr, len);
549 mblk->b_wptr += len;
604 mblk_t *mblk; local
620 mblk = send_req->intr_data;
621 bcopy(data, mblk->b_wptr, len);
622 mblk->b_wptr += len;
763 mblk_t *mblk, *tmp_bl local
890 mblk_t *mblk, *tmp_blk; local
[all...]
/illumos-gate/usr/src/man/man9s/
H A DMakefile98 mblk.9s
107 mblk.9s := LINKSRC = msgb.9s
/illumos-gate/usr/src/uts/common/sys/usb/clients/audio/usb_ah/
H A Dusb_ah.h52 mblk_t *mblk; /* mblk for autorepeat feature */ member in struct:usb_ah_button_descr
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsubr_mchain.c64 * In Unix STREAMS, the mblk payload is:
69 * struct mbuf struct mblk
104 * MLEN: The smallest mblk we'll allocate.
107 * Some ethernet drivers may send each mblk as a
206 * This is now used only to extend an existing mblk chain,
213 mblk_t *mblk; local
219 mblk = allocb_wait(size, BPRI_LO, STR_NOSIG, &error);
220 ASSERT(mblk);
221 return (mblk);
236 m_length(mblk_t *mblk) argument
258 mblk_t *mblk; local
[all...]
/illumos-gate/usr/src/uts/common/sys/1394/adapters/
H A Dhci1394_q.h365 hci1394_basic_pkt_t *hdr, uint_t hdrsize, h1394_mblk_t *mblk, int *result);
375 h1394_mblk_t *mblk);
/illumos-gate/usr/src/uts/common/io/1394/
H A Ds1394_asynch.c232 hal->hal_kstats->atreq_blk_wr_size += h_priv->mblk.length;
540 h_priv->mblk.curr_mblk = cmd->cmd_u.b.data_block;
543 h_priv->mblk.curr_offset =
546 h_priv->mblk.curr_offset =
551 h_priv->mblk.length = current_max_payload;
555 h_priv->mblk.length = cmd->cmd_u.b.blk_length;
851 s_priv->data_remaining -= h_priv->mblk.length;
854 req->cmd_u.b.bytes_transferred += h_priv->mblk.length;
858 h_priv->mblk.length;
863 /* Setup the new mblk an
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dstreams.c159 { SF(STZCNOTIFY), "wait for zerocopy mblk to be acked" },
356 mblk_t mblk; local
418 if (mdb_vread(&mblk, sizeof (mblk), maddr) == -1) {
419 mdb_warn("couldn't read mblk %p for queue %p",
423 maddr = (uintptr_t)mblk.b_next;
1113 mdb_warn("failed to read mblk at %p", wsp->walk_addr);
1133 mdb_warn("failed to read mblk at %p", wsp->walk_addr);
1160 mdb_warn("couldn't read mblk at %p", addr);
1189 mdb_warn("can't walk mblk cach
1221 mblk_t mblk; local
[all...]
/illumos-gate/usr/src/uts/common/io/usb/clients/audio/usb_ah/
H A Dusb_ah.c485 bd->mblk = usb_ah_mk_mctl(mctlmsg, buf, len);
487 if (bd->mblk != NULL) {
488 dup_mp = usb_ah_cp_mblk(bd->mblk);
524 dup_mp = usb_ah_cp_mblk(bd->mblk);
530 if (bd->mblk != NULL) {
553 freemsg(usb_ahd->usb_ah_cur_bd->mblk);
561 * Create an identical 2-mblk as the one passed through argument
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv_readdir.c447 resp->mblk = NULL;
545 * How large should the mblk be for outgoing encoding.
576 resp->mblk = mp;
662 freeb(resp->mblk);
663 resp->mblk = NULL;
679 resp->mblk->b_wptr += resp->data_len;
1535 resp->mblk->b_wptr += resp->data_len;
1538 resp->mblk = NULL;
H A Dnfs4_srv.c3235 resp->mblk = NULL;
3250 resp->mblk = NULL;
3295 * aren't returning READ data w/RDMA_WRITE, then grab a mblk.
3333 /* make mblk using zc buffers */
3350 resp->mblk = mp;
3381 if (resp->status == NFS4_OK && resp->mblk != NULL) {
3382 freemsg(resp->mblk);
3383 resp->mblk = NULL;
3394 if (resp->status == NFS4_OK && resp->mblk != NULL) {
3395 freeb(resp->mblk);
[all...]
H A Dnfs4_xdr.c3386 mp = objp->mblk;
3390 objp->mblk = NULL;
3654 mblk_t *mp = objp->mblk;
3670 /* mblk successfully inserted into outgoing chain */
3671 objp->mblk = NULL;
3882 return (xdrmblk_getmblk(xdrs, &objp->mblk,
3885 objp->mblk = NULL;
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/include/
H A Dlm_l4if.h53 * - mblk: memory block for the virtual memory
59 lm_tcp_mem_block_t * mblk,
83 * - mblk: memory block for the virtual memory
/illumos-gate/usr/src/uts/common/io/xge/drv/
H A Dxgell.h142 * Try to collapse up to XGELL_RX_PKT_BURST packets into single mblk
388 mblk_t *mblk; member in struct:__anon6593
H A Dxgell.c351 xge_debug_ll(XGE_ERR, "%s%d: out of mapping for mblk",
681 * Just allocate mblk for current data buffer
784 "%s%d: rx: can not allocate mp mblk",
927 if (txd_priv->mblk != NULL) {
928 freemsg(txd_priv->mblk);
929 txd_priv->mblk = NULL;
1005 txd_priv->mblk = mp;
1724 mblk_t *mp = txd_priv->mblk;
1745 txd_priv->mblk = NULL;
/illumos-gate/usr/src/uts/common/sys/1394/
H A Dh1394.h122 h1394_mblk_t mblk; member in struct:h1394_cmd_priv_s
/illumos-gate/usr/src/cmd/mdb/common/modules/mdb_ks/
H A Dmdb_ks.c1614 * Chase an mblk list by b_next and return the length.
1620 mblk_t mblk; local
1628 if (mdb_vread(&mblk, sizeof (mblk), (uintptr_t)mb->b_next) ==
1631 mb = &mblk;
/illumos-gate/usr/src/uts/common/nfs/
H A Dnfs4_kprot.h1125 mblk_t *mblk; member in struct:READ4res
1161 mblk_t *mblk; member in struct:READDIR4res
1327 * mblk doesn't go over the wire. If non-NULL, it points to an mblk chain
1337 mblk_t *mblk; member in struct:WRITE4args
/illumos-gate/usr/src/uts/common/io/uath/
H A Duath.c644 mblk_t *mblk; local
653 mblk = send_req->bulk_data;
654 bcopy(data, mblk->b_wptr, len);
655 mblk->b_wptr += len;
1228 mblk_t *mblk; local
1242 mblk = send_req->bulk_data;
1243 bcopy(data, mblk->b_rptr, len);
1244 mblk->b_wptr += len;
1664 "allocate mblk failed.\n");
2023 "can't alloc mblk
[all...]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/
H A Dlm_l4sp.c1721 lm_tcp_mem_block_t * mblk)
1735 DbgBreakIf(mblk->left < mem_size);
1736 _lm_tcp_init_qe_buffer(pdev, &con->history_cqes, mblk->free, pdev->params.l4_history_cqe_cnt, cqe_size);
1737 mblk->free += mem_size;
1738 mblk->left -= mem_size;
1748 DbgBreakIf(mblk->left < mem_size);
1750 tcp->rx_con->u.rx.gen_info.frag_list = (lm_frag_list_t *)mblk->free;
1751 mblk->free += mem_size;
1752 mblk->left -= mem_size;
1758 lm_tcp_mem_block_t * mblk,
1718 lm_tcp_init_tcp_virt_mem( struct _lm_device_t *pdev, lm_tcp_state_t *tcp, lm_tcp_mem_block_t * mblk) argument
1755 lm_tcp_init_tcp_resc( struct _lm_device_t *pdev, lm_tcp_state_t *tcp, lm_tcp_mem_block_t * mblk, lm_tcp_phy_mem_block_t * phy_mblk) argument
[all...]
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_rxdma.c2882 mblk_t *mblk; local
2902 mblk = nxge_rx_pkts(nxgep, rcr_p, cs, bytes_to_pickup);
2913 "<== nxge_rx_poll: rdc %d mblk $%p", rcr_p->rdc, mblk));
2914 return (mblk);
3896 "index %d j %d rx_msg_p $%p mblk %p",

Completed in 225 milliseconds

12