Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_isoch_chan.c430 int nsegs; in av1394_ic_alloc_pool() local
450 nsegs = cnt; in av1394_ic_alloc_pool()
454 nsegs = totalsz / segsz; in av1394_ic_alloc_pool()
456 nsegs++; /* remainder in non-full segment */ in av1394_ic_alloc_pool()
458 ASSERT(segsz * nsegs >= totalsz); in av1394_ic_alloc_pool()
461 pool->ip_alloc_size = nsegs * sizeof (av1394_isoch_seg_t); in av1394_ic_alloc_pool()
468 for (i = 0; i < nsegs; i++) { in av1394_ic_alloc_pool()
610 int nsegs; /* number of segments for indicated frames */ in av1394_ic_dma_sync_frames() local
615 nsegs = (cnt / fps) + 1; in av1394_ic_dma_sync_frames()
622 --nsegs; in av1394_ic_dma_sync_frames()
[all …]
/titanic_50/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()
/titanic_50/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.c1658 int nsegs; in scsa1394_cmd_dmac2seg() local
1669 nsegs = max(ccount, cmd->sc_win_len / SBP2_PT_SEGSIZE_MAX) * 2; in scsa1394_cmd_dmac2seg()
1676 nsegs = in scsa1394_cmd_dmac2seg()
1681 if (nsegs > cmd->sc_buf_nsegs_alloc) { in scsa1394_cmd_dmac2seg()
1683 cmd->sc_buf_nsegs_alloc, nsegs, in scsa1394_cmd_dmac2seg()
1688 cmd->sc_buf_nsegs_alloc = nsegs; in scsa1394_cmd_dmac2seg()
/titanic_50/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_sge.c66 uint8_t nsegs; /* # of segments in the SGL, 0 means imm. tx */ member
2172 start: txinfo->nsegs = 0; in get_frame_txinfo()
2218 (txinfo->nsegs == TX_SGL_SEGS && m->b_cont)) { in get_frame_txinfo()
2241 ASSERT(txinfo->nsegs > 0 && txinfo->nsegs <= TX_SGL_SEGS); in get_frame_txinfo()
2251 n = txinfo->nsegs - 1; in get_frame_txinfo()
2257 V_ULPTX_NSGE(txinfo->nsegs)); in get_frame_txinfo()
2325 ASSERT(txinfo->nsegs < TX_SGL_SEGS); /* must have room */ in add_seg()
2327 if (txinfo->nsegs != 0) { in add_seg()
2328 int idx = txinfo->nsegs - 1; in add_seg()
2335 txinfo->nsegs++; in add_seg()
[all …]
/titanic_50/usr/src/cmd/sgs/libld/common/
H A Dmap_core.c2448 Aliste nsegs; in sort_seg_list() local
2456 nsegs = aplist_nitems(ofl->ofl_segs); in sort_seg_list()
2464 if (aplist_append(&sort_segs, sgp1, nsegs) == NULL) in sort_seg_list()
2474 if (aplist_append(&sort_segs, sgp1, nsegs) == NULL) in sort_seg_list()
/titanic_50/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()
/titanic_50/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()
/titanic_50/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()