/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | bd_chain.h | 49 return bd_chain->page_cnt; in lm_bd_chain_page_cnt() 88 page_idx = page_idx % bd_chain->page_cnt; in lm_bd_chain_phys_addr() 155 for(idx = 0; idx < bd_chain->page_cnt-1; idx++) in lm_bd_chain_set_next_ptrs() 204 DbgBreakIf((bd_chain->page_cnt + 1) * BD_PER_PAGE(bd_size) > 0xffff); in lm_bd_chain_add_page() 207 if (bd_chain->page_cnt) { in lm_bd_chain_add_page() 211 for (page_index = 0; page_index < bd_chain->page_cnt - 1; page_index++) { in lm_bd_chain_add_page() 256 bd_chain->page_cnt++; in lm_bd_chain_add_page() 257 bd_chain->capacity = bd_chain->page_cnt * bd_chain->usable_bds_per_page; in lm_bd_chain_add_page() 268 u16_t page_cnt, /* #pages in given buffer */ in lm_bd_chain_setup() argument 273 DbgBreakIf(page_cnt * BD_PER_PAGE(bd_size) > 0xffff); in lm_bd_chain_setup() [all …]
|
H A D | lm_resc.c | 299 IN u16_t const page_cnt, in lm_alloc_txq() argument 303 u32_t const mem_size = page_cnt * LM_PAGE_SIZE; in lm_alloc_txq() 306 DbgMessage(pdev, INFORMi | INFORMl2sp, "#lm_alloc_txq, cid=%d, page_cnt=%d\n", cid, page_cnt); in lm_alloc_txq() 310 ERR_IF((ARRSIZE(pdev->tx_info.chain) <= cid) || !page_cnt)) in lm_alloc_txq() 330 tx_chain->bd_chain.page_cnt = page_cnt; in lm_alloc_txq() 349 IN u16_t const page_cnt, in lm_alloc_rxq() argument 356 u32_t const mem_size = page_cnt * LM_PAGE_SIZE; in lm_alloc_rxq() 361 ERR_IF((ARRSIZE(pdev->rx_info.rxq_chain) <= cid) || !page_cnt)) in lm_alloc_rxq() 369 cid, page_cnt, desc_cnt); in lm_alloc_rxq() 393 bd_chain->page_cnt = page_cnt; in lm_alloc_rxq() [all …]
|
H A D | bd_chain_st.h | 22 u16_t page_cnt; /* number of chain pages */ member
|
H A D | lm_sp.c | 360 … next_page_bds = LM_RXQ_CHAIN_BD(pdev, cid).bds_skip_eop * LM_RXQ_CHAIN_BD(pdev, cid).page_cnt; in lm_eth_init_client_init_rx_data()
|
/titanic_41/usr/src/uts/i86xpv/os/ |
H A D | balloon.c | 784 balloon_alloc_pages(uint_t page_cnt, mfn_t *mfns) in balloon_alloc_pages() argument 793 memres.nr_extents = page_cnt; in balloon_alloc_pages() 810 balloon_free_pages(uint_t page_cnt, mfn_t *mfns, caddr_t kva, pfn_t *pfns) in balloon_free_pages() argument 831 bzero(kva, (page_cnt * PAGESIZE)); in balloon_free_pages() 844 ASSERT(page_cnt < bln_contig_list_quota); in balloon_free_pages() 847 for (i = 0; i < page_cnt; i++) { in balloon_free_pages() 912 memdec.nr_extents = page_cnt; in balloon_free_pages() 914 if (e != page_cnt) { in balloon_free_pages() 920 atomic_add_long((ulong_t *)&bln_stats.bln_hv_pages, page_cnt); in balloon_free_pages() 921 return (page_cnt); in balloon_free_pages() [all …]
|
/titanic_41/usr/src/uts/common/vm/ |
H A D | vm_page.c | 5569 spgcnt_t page_cnt; in page_migrate() local 5579 page_cnt = btop(pgsz); in page_migrate() 5593 if (npages < page_cnt) in page_migrate() 5606 if (!IS_P2ALIGNED(pfn, page_cnt)) { in page_migrate() 5615 for (i = 0; i < page_cnt; i++) { in page_migrate() 5624 page_cnt); in page_migrate() 5645 if (i != page_cnt) { in page_migrate() 5652 (void) page_create_wait(page_cnt, PG_WAIT); in page_migrate() 5655 page_create_putback(page_cnt); in page_migrate() 5656 for (i = 0; i < page_cnt; i++) { in page_migrate() [all …]
|
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l5/ |
H A D | lm_l5.c | 166 IN u16_t page_cnt, in lm_l5_alloc_eq() argument 172 if ((CHK_NULL(pdev) || CHK_NULL(eq_chain) || !page_cnt) || in lm_l5_alloc_eq() 178 …essage(pdev, INFORMi | INFORMl5sp, "#lm_alloc_eq, eq_chain=%p, page_cnt=%d\n", eq_chain, page_cnt); in lm_l5_alloc_eq() 181 mem_size = page_cnt * LM_PAGE_SIZE; in lm_l5_alloc_eq() 211 eq_chain->bd_chain.page_cnt = page_cnt; in lm_l5_alloc_eq() 238 …bd_chain->bd_chain_phy, (u16_t)bd_chain->page_cnt, sizeof(struct iscsi_kcqe), 1/*0*/, is_chain_mod… in lm_sc_setup_eq() 356 (u16_t)bd_chain->page_cnt, sizeof(struct fcoe_kcqe), in lm_fc_setup_eq()
|
/titanic_41/usr/src/uts/i86pc/i86hvm/io/xpv/ |
H A D | xpv_support.c | 259 balloon_free_pages(uint_t page_cnt, mfn_t *mfns, caddr_t kva, pfn_t *pfns) in balloon_free_pages() argument
|
/titanic_41/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_kstat.c | 1583 pStats->rxqBdPageCnt.value.ui64 = pRxq->chain_arr[LM_RXQ_CHAIN_IDX_BD].page_cnt; in BnxeKstatRxRingUpdate() 1594 pStats->sgeBdPageCnt.value.ui64 = pRxq->chain_arr[LM_RXQ_CHAIN_IDX_SGE].page_cnt; in BnxeKstatRxRingUpdate() 1602 pStats->rcqBdPageCnt.value.ui64 = pRcq->bd_chain.page_cnt; in BnxeKstatRxRingUpdate() 1650 pStats->txBdPageCnt.value.ui64 = LM_TXQ(pLM, idx).bd_chain.page_cnt; in BnxeKstatTxRingUpdate()
|
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/ |
H A D | lm_l4sp.c | 829 …_diff = lm_bd_chain_prod_idx(&rcq->bd_chain) - rcq->bd_chain.bds_per_page * rcq->bd_chain.page_cnt; in _lm_tcp_init_ustorm_intmem() 1623 u16_t page_cnt,page_idx; in lm_tcp_init_tcp_phys_mem() local 1635 page_cnt = (u16_t)pdev->params.l4_tx_chain_page_cnt; in lm_tcp_init_tcp_phys_mem() 1640 for (page_idx = 0; page_idx < page_cnt; page_idx++) { in lm_tcp_init_tcp_phys_mem() 1653 page_cnt = (u16_t)pdev->params.l4_rx_chain_page_cnt; in lm_tcp_init_tcp_phys_mem()
|
H A D | lm_l4rx.c | 1599 …_diff = lm_bd_chain_prod_idx(&rcq->bd_chain) - rcq->bd_chain.bds_per_page * rcq->bd_chain.page_cnt; in lm_tcp_rx_process_cqes() 1930 …n->db_more_bds + frag_list->cnt) > (u32_t)(rx_con->bd_chain.capacity + rx_con->bd_chain.page_cnt)); in _lm_tcp_rx_post_buf()
|