Home
last modified time | relevance | path

Searched refs:nsegs (Results 1 – 15 of 15) sorted by relevance

/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_isoch_chan.c386 int nsegs; in av1394_ic_alloc_pool() local
401 nsegs = cnt; in av1394_ic_alloc_pool()
405 nsegs = totalsz / segsz; in av1394_ic_alloc_pool()
407 nsegs++; /* remainder in non-full segment */ in av1394_ic_alloc_pool()
409 ASSERT(segsz * nsegs >= totalsz); in av1394_ic_alloc_pool()
412 pool->ip_alloc_size = nsegs * sizeof (av1394_isoch_seg_t); in av1394_ic_alloc_pool()
419 for (i = 0; i < nsegs; i++) { in av1394_ic_alloc_pool()
536 int nsegs; /* number of segments for indicated frames */ in av1394_ic_dma_sync_frames() local
541 nsegs = (cnt / fps) + 1; in av1394_ic_dma_sync_frames()
549 --nsegs; in av1394_ic_dma_sync_frames()
[all …]
/illumos-gate/usr/src/uts/common/io/atge/
H A Datge_l1.c633 int nsegs, rx_cons = 0, cnt; in atge_l1_rx() local
652 nsegs = L1_RX_NSEGS(index); in atge_l1_rx()
656 index, flags, totlen, rx_cons, nsegs)); in atge_l1_rx()
658 if (nsegs == 0) in atge_l1_rx()
666 l1->atge_rx_ring->r_consumer += nsegs; in atge_l1_rx()
689 if (nsegs > 1) { in atge_l1_rx()
708 for (cnt = 0, pktlen = 0; cnt < nsegs; cnt++) { in atge_l1_rx()
736 if (cnt != nsegs) { in atge_l1_rx()
737 l1->atge_rx_ring->r_consumer += nsegs; in atge_l1_rx()
H A Datge_l1c.c741 int nsegs, rx_cons = 0, cnt; in atge_l1c_rx() local
758 nsegs = L1C_RRD_RD_CNT(rdinfo); in atge_l1c_rx()
764 rdinfo, status, totlen, rx_cons, nsegs)); in atge_l1c_rx()
775 l1c->atge_rx_ring->r_consumer += nsegs; in atge_l1c_rx()
798 if (nsegs > 1) { in atge_l1c_rx()
817 for (cnt = 0, pktlen = 0; cnt < nsegs; cnt++) { in atge_l1c_rx()
840 if (cnt != nsegs) { in atge_l1c_rx()
841 l1c->atge_rx_ring->r_consumer += nsegs; in atge_l1c_rx()
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_util.c810 uint_t nsegs, seg; in mac_sw_lso() local
1017 nsegs = ((odatalen - 1) / mss) + 1; in mac_sw_lso()
1018 if (nsegs < 2) { in mac_sw_lso()
1019 mac_drop_pkt(omp, "LSO not enough segs: %u", nsegs); in mac_sw_lso()
1025 nsegs); in mac_sw_lso()
1031 for (uint_t i = 0; i < nsegs; i++) { in mac_sw_lso()
1032 boolean_t last_seg = ((i + 1) == nsegs); in mac_sw_lso()
1170 for (; seg < nsegs; seg++) { in mac_sw_lso()
1230 ASSERT3U(seg, ==, nsegs); in mac_sw_lso()
1279 *count = nsegs; in mac_sw_lso()
/illumos-gate/usr/src/uts/common/inet/
H A Dcc.h103 uint16_t nsegs; /* # segments coalesced into current chain. */ member
/illumos-gate/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dsbp2_driver.c499 int nsegs; in scsa1394_sbp2_seg2pt_symbios() local
522 nsegs = 0; in scsa1394_sbp2_seg2pt_symbios()
535 nsegs++; in scsa1394_sbp2_seg2pt_symbios()
541 cmd->sc_pt_cmd_size = nsegs; in scsa1394_sbp2_seg2pt_symbios()
H A Dhba.c1657 int nsegs; in scsa1394_cmd_dmac2seg() local
1668 nsegs = max(ccount, cmd->sc_win_len / SBP2_PT_SEGSIZE_MAX) * 2; in scsa1394_cmd_dmac2seg()
1675 nsegs = in scsa1394_cmd_dmac2seg()
1680 if (nsegs > cmd->sc_buf_nsegs_alloc) { in scsa1394_cmd_dmac2seg()
1682 cmd->sc_buf_nsegs_alloc, nsegs, in scsa1394_cmd_dmac2seg()
1687 cmd->sc_buf_nsegs_alloc = nsegs; in scsa1394_cmd_dmac2seg()
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_sge.c2475 start: txinfo->nsegs = 0; in get_frame_txinfo()
2521 (txinfo->nsegs == TX_SGL_SEGS && m->b_cont)) { in get_frame_txinfo()
2543 ASSERT(txinfo->nsegs > 0 && txinfo->nsegs <= TX_SGL_SEGS); in get_frame_txinfo()
2553 n = txinfo->nsegs - 1; in get_frame_txinfo()
2559 V_ULPTX_NSGE(txinfo->nsegs)); in get_frame_txinfo()
2629 if (txinfo->nsegs != 0) { in add_seg()
2630 int idx = txinfo->nsegs - 1; in add_seg()
2637 txinfo->nsegs++; in add_seg()
2682 if (ccount + txinfo->nsegs > TX_SGL_SEGS) { in add_mblk()
2886 if (txinfo->nsegs > 0) in write_txpkt_wr()
[all …]
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dmap_core.c2475 Aliste nsegs; in sort_seg_list() local
2483 nsegs = aplist_nitems(ofl->ofl_segs); in sort_seg_list()
2491 if (aplist_append(&sort_segs, sgp1, nsegs) == NULL) in sort_seg_list()
2501 if (aplist_append(&sort_segs, sgp1, nsegs) == NULL) in sort_seg_list()
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_txdma.c543 uint32_t nsegs; in hxge_tx_pkt_nmblocks() local
548 len, pkt_len, nmblks, nsegs)); in hxge_tx_pkt_nmblocks()
549 nsegs = 1; in hxge_tx_pkt_nmblocks()
551 ++nsegs; in hxge_tx_pkt_nmblocks()
565 if (--nsegs) { in hxge_tx_pkt_nmblocks()
568 } while (nsegs); in hxge_tx_pkt_nmblocks()
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_txdma.c840 uint32_t nsegs; in nxge_tx_pkt_nmblocks() local
842 nsegs = 1; in nxge_tx_pkt_nmblocks()
846 len, pkt_len, nmblks, nsegs)); in nxge_tx_pkt_nmblocks()
848 ++nsegs; in nxge_tx_pkt_nmblocks()
862 if (--nsegs) { in nxge_tx_pkt_nmblocks()
865 } while (nsegs); in nxge_tx_pkt_nmblocks()
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxnf.c1761 int nsegs = 0; in xnf_mblk_map() local
1807 if (nsegs == XEN_MAX_TX_DATA_PAGES) { in xnf_mblk_map()
1839 nsegs++; in xnf_mblk_map()
1849 *countp = nsegs; in xnf_mblk_map()
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_as.c387 uint_t nsegs = 0; in as_verify() local
404 nsegs++; in as_verify()
407 ASSERT(avl_numnodes(&as->a_segtree) == nsegs); in as_verify()
/illumos-gate/usr/src/uts/common/io/iwn/
H A Dif_iwnreg.h385 uint8_t nsegs; member
H A Dif_iwn.c3947 desc->nsegs = 1 + data->dma_data.ncookies; in iwn_send()
4438 desc->nsegs = 1; in iwn_cmd()