Home
last modified time | relevance | path

Searched refs:pfrag (Results 1 – 4 of 4) sorted by relevance

/drivers/vhost/
Dnet.c658 struct page_frag *pfrag, gfp_t gfp) in vhost_net_page_frag_refill() argument
660 if (pfrag->page) { in vhost_net_page_frag_refill()
661 if (pfrag->offset + sz <= pfrag->size) in vhost_net_page_frag_refill()
663 __page_frag_cache_drain(pfrag->page, net->refcnt_bias); in vhost_net_page_frag_refill()
666 pfrag->offset = 0; in vhost_net_page_frag_refill()
670 pfrag->page = alloc_pages((gfp & ~__GFP_DIRECT_RECLAIM) | in vhost_net_page_frag_refill()
674 if (likely(pfrag->page)) { in vhost_net_page_frag_refill()
675 pfrag->size = PAGE_SIZE << SKB_FRAG_PAGE_ORDER; in vhost_net_page_frag_refill()
679 pfrag->page = alloc_page(gfp); in vhost_net_page_frag_refill()
680 if (likely(pfrag->page)) { in vhost_net_page_frag_refill()
[all …]
/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c603 void **pfrag) in is_inline() argument
614 *pfrag = ptr; in is_inline()
638 void **pfrag, in get_real_size() argument
674 shinfo, pfrag); in get_real_size()
/drivers/scsi/be2iscsi/
Dbe_main.c2137 psgl = (struct iscsi_sge *)io_task->psgl_handle->pfrag; in hwi_write_sgl_v2()
2226 psgl = (struct iscsi_sge *)io_task->psgl_handle->pfrag; in hwi_write_sgl()
2329 psgl = (struct iscsi_sge *)io_task->psgl_handle->pfrag; in hwi_write_buffer()
3895 struct iscsi_sge *pfrag; in beiscsi_init_sgl_handle() local
3973 pfrag = mem_descr_sg->mem_array[idx].virtual_address; in beiscsi_init_sgl_handle()
3984 psgl_handle->pfrag = pfrag; in beiscsi_init_sgl_handle()
3985 AMAP_SET_BITS(struct amap_iscsi_sge, addr_hi, pfrag, 0); in beiscsi_init_sgl_handle()
3986 AMAP_SET_BITS(struct amap_iscsi_sge, addr_lo, pfrag, 0); in beiscsi_init_sgl_handle()
3987 pfrag += phba->params.num_sge_per_io; in beiscsi_init_sgl_handle()
Dbe_main.h213 struct iscsi_sge *pfrag; member