Searched refs:buf_cache (Results 1 – 1 of 1) sorted by relevance
| /Linux-v5.4/drivers/infiniband/ulp/srpt/ |
| D | ib_srpt.c | 656 struct kmem_cache *buf_cache, in srpt_alloc_ioctx() argument 665 ioctx->buf = kmem_cache_alloc(buf_cache, GFP_KERNEL); in srpt_alloc_ioctx() 670 kmem_cache_size(buf_cache), dir); in srpt_alloc_ioctx() 677 kmem_cache_free(buf_cache, ioctx->buf); in srpt_alloc_ioctx() 692 struct kmem_cache *buf_cache, in srpt_free_ioctx() argument 699 kmem_cache_size(buf_cache), dir); in srpt_free_ioctx() 700 kmem_cache_free(buf_cache, ioctx->buf); in srpt_free_ioctx() 716 struct kmem_cache *buf_cache, in srpt_alloc_ioctx_ring() argument 730 ring[i] = srpt_alloc_ioctx(sdev, ioctx_size, buf_cache, dir); in srpt_alloc_ioctx_ring() 740 srpt_free_ioctx(sdev, ring[i], buf_cache, dir); in srpt_alloc_ioctx_ring() [all …]
|