Home
last modified time | relevance | path

Searched refs:slotlen (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/io/atge/
H A Datge_l1c.c740 uint32_t rdinfo, status, totlen, pktlen, slotlen; in atge_l1c_rx() local
799 slotlen = atgep->atge_mtu; in atge_l1c_rx()
801 slotlen = totlen; in atge_l1c_rx()
807 if (slotlen > atgep->atge_rx_buf_len) { in atge_l1c_rx()
820 slotlen = min(atgep->atge_max_frame_size, totlen); in atge_l1c_rx()
822 bcopy(buf->addr, (bufp + pktlen), slotlen); in atge_l1c_rx()
823 pktlen += slotlen; in atge_l1c_rx()
824 totlen -= slotlen; in atge_l1c_rx()
827 atgep->atge_name, __func__, slotlen, rx_cons, in atge_l1c_rx()
H A Datge_l1.c632 uint32_t index, flags, totlen, pktlen, slotlen; in atge_l1_rx() local
690 slotlen = atgep->atge_mtu; in atge_l1_rx()
692 slotlen = totlen; in atge_l1_rx()
698 if (slotlen > atgep->atge_rx_buf_len) { in atge_l1_rx()
715 slotlen = L1_RX_BYTES(ATGE_GET32( in atge_l1_rx()
719 bcopy(buf->addr, (bufp + pktlen), slotlen); in atge_l1_rx()
720 pktlen += slotlen; in atge_l1_rx()
723 atgep->atge_name, __func__, slotlen, rx_cons, in atge_l1_rx()
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_pagelist.c3429 int slotlen; in page_geti_contig_pages() local
3433 slotlen = howmany(szcpages, slots); in page_geti_contig_pages()
3435 if (slotid * slotlen >= szcpages) in page_geti_contig_pages()
3437 pfnlo = pfnlo + (((slotid * slotlen) % szcpages) * szcpgcnt); in page_geti_contig_pages()
3439 if (pfnhi > pfnlo + (slotlen * szcpgcnt)) in page_geti_contig_pages()
3440 pfnhi = pfnlo + (slotlen * szcpgcnt) - 1; in page_geti_contig_pages()