Home
last modified time | relevance | path

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

/drivers/net/ethernet/apm/xgene/
Dxgene_enet_main.c683 struct xgene_enet_desc_ring *buf_pool, *page_pool; in xgene_enet_rx_frame() local
701 page_pool = rx_ring->page_pool; in xgene_enet_rx_frame()
724 xgene_enet_free_pagepool(page_pool, raw_desc, exp_desc); in xgene_enet_rx_frame()
738 slots = page_pool->slots - 1; in xgene_enet_rx_frame()
739 head = page_pool->head; in xgene_enet_rx_frame()
750 page = page_pool->frag_page[head]; in xgene_enet_rx_frame()
756 page_pool->frag_page[head] = NULL; in xgene_enet_rx_frame()
760 page_pool->head = head; in xgene_enet_rx_frame()
773 ret = xgene_enet_refill_pagepool(page_pool, NUM_NXTBUFPOOL); in xgene_enet_rx_frame()
1069 struct xgene_enet_desc_ring *buf_pool, *page_pool; in xgene_enet_delete_desc_rings() local
[all …]
Dxgene_enet_cle.c721 if (pdata->rx_ring[idx]->page_pool) { in xgene_cle_set_rss_idt()
722 pool_id = pdata->rx_ring[idx]->page_pool->id; in xgene_cle_set_rss_idt()
798 if (pdata->rx_ring[0]->page_pool) { in xgene_enet_cle_init()
799 pool_id = pdata->rx_ring[0]->page_pool->id; in xgene_enet_cle_init()
Dxgene_enet_main.h132 struct xgene_enet_desc_ring *page_pool; member
/drivers/staging/lustre/lustre/mdc/
Dmdc_request.c1127 struct page **page_pool; in mdc_read_page_remote() local
1145 page_pool = kcalloc(max_pages, sizeof(page), GFP_NOFS); in mdc_read_page_remote()
1146 if (page_pool) { in mdc_read_page_remote()
1147 page_pool[0] = page0; in mdc_read_page_remote()
1149 page_pool = &page0; in mdc_read_page_remote()
1157 page_pool[npages] = page; in mdc_read_page_remote()
1160 rc = mdc_getpage(rp->rp_exp, fid, rp->rp_off, page_pool, npages, &req); in mdc_read_page_remote()
1171 mdc_adjust_dirpages(page_pool, rd_pgs, lu_pgs); in mdc_read_page_remote()
1184 page = page_pool[i]; in mdc_read_page_remote()
1210 if (page_pool != &page0) in mdc_read_page_remote()
[all …]
/drivers/lightnvm/
Drrpc.c320 page = mempool_alloc(rrpc->page_pool, GFP_NOIO); in rrpc_move_valid_pages()
395 mempool_free(page, rrpc->page_pool); in rrpc_move_valid_pages()
1197 rrpc->page_pool = mempool_create_page_pool(PAGE_POOL_SIZE, 0); in rrpc_core_init()
1198 if (!rrpc->page_pool) in rrpc_core_init()
1218 mempool_destroy(rrpc->page_pool); in rrpc_core_free()
Drrpc.h139 mempool_t *page_pool; member
/drivers/md/
Ddm-crypt.c147 mempool_t *page_pool; member
1427 page = mempool_alloc(cc->page_pool, gfp_mask); in crypt_alloc_buffer()
1462 mempool_free(bv->bv_page, cc->page_pool); in crypt_free_buffer_pages()
2241 mempool_destroy(cc->page_pool); in crypt_dtr()
2245 if (cc->page_pool) in crypt_dtr()
2788 cc->page_pool = mempool_create(BIO_MAX_PAGES, crypt_page_alloc, crypt_page_free, cc); in crypt_ctr()
2789 if (!cc->page_pool) { in crypt_ctr()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.h1029 bnx2x_free_rx_mem_pool(bp, &fp->page_pool); in bnx2x_free_rx_sge_range()
Dbnx2x.h606 struct bnx2x_alloc_pool page_pool; member
Dbnx2x_cmn.c552 struct bnx2x_alloc_pool *pool = &fp->page_pool; in bnx2x_alloc_rx_sge()