Lines Matching refs:bufs
55 c->bufs[c->prod_cnt & c->mask] = *buf; in cache_offer()
75 buf = &c->bufs[c->cons_cnt & c->mask]; in cache_get()
281 return &q->bufs[q->rq_cons & q->rq_mask]; in get_buf()
538 struct funeth_rxbuf *b = q->bufs; in fun_rxq_free_bufs()
551 struct funeth_rxbuf *b = q->bufs; in fun_rxq_alloc_bufs()
561 q->cur_buf = q->bufs; in fun_rxq_alloc_bufs()
570 c->bufs = kvzalloc_node(depth * sizeof(*c->bufs), GFP_KERNEL, node); in fun_rxq_init_cache()
571 return c->bufs ? 0 : -ENOMEM; in fun_rxq_init_cache()
577 struct funeth_rxbuf *b = q->cache.bufs; in fun_rxq_free_cache()
583 kvfree(q->cache.bufs); in fun_rxq_free_cache()
584 q->cache.bufs = NULL; in fun_rxq_free_cache()
639 sizeof(*q->bufs), false, numa_node, in fun_rxq_create_sw()
640 &q->rq_dma_addr, (void **)&q->bufs, NULL); in fun_rxq_create_sw()
669 q->rq_dma_addr, q->bufs); in fun_rxq_create_sw()
684 q->rqes, q->rq_dma_addr, q->bufs); in fun_rxq_free_sw()