Home
last modified time | relevance | path

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

/linux-3.4.99/net/rds/
Diw_recv.c72 struct rds_page_frag *frag = recv->r_frag; in rds_iw_recv_unmap_page()
91 recv->r_frag = NULL; in rds_iw_recv_init_ring()
117 if (recv->r_frag) { in rds_iw_recv_clear_one()
119 if (recv->r_frag->f_page) in rds_iw_recv_clear_one()
120 rds_iw_frag_drop_page(recv->r_frag); in rds_iw_recv_clear_one()
121 rds_iw_frag_free(recv->r_frag); in rds_iw_recv_clear_one()
122 recv->r_frag = NULL; in rds_iw_recv_clear_one()
161 if (!recv->r_frag) { in rds_iw_recv_refill_one()
162 recv->r_frag = kmem_cache_alloc(rds_iw_frag_slab, kptr_gfp); in rds_iw_recv_refill_one()
163 if (!recv->r_frag) in rds_iw_recv_refill_one()
[all …]
Dib_recv.c55 recv->r_frag = NULL; in rds_ib_recv_init_ring()
226 if (recv->r_frag) { in rds_ib_recv_clear_one()
227 ib_dma_unmap_sg(ic->i_cm_id->device, &recv->r_frag->f_sg, 1, DMA_FROM_DEVICE); in rds_ib_recv_clear_one()
228 rds_ib_frag_free(ic, recv->r_frag); in rds_ib_recv_clear_one()
229 recv->r_frag = NULL; in rds_ib_recv_clear_one()
328 WARN_ON(recv->r_frag); /* leak! */ in rds_ib_recv_refill_one()
329 recv->r_frag = rds_ib_refill_one_frag(ic, slab_mask, page_mask); in rds_ib_recv_refill_one()
330 if (!recv->r_frag) in rds_ib_recv_refill_one()
333 ret = ib_dma_map_sg(ic->i_cm_id->device, &recv->r_frag->f_sg, in rds_ib_recv_refill_one()
342 sge->addr = sg_dma_address(&recv->r_frag->f_sg); in rds_ib_recv_refill_one()
[all …]
Diw.h87 struct rds_page_frag *r_frag; member
Dib.h79 struct rds_page_frag *r_frag; member