Lines Matching refs:buf_cache
657 struct kmem_cache *buf_cache, in srpt_alloc_ioctx() argument
666 ioctx->buf = kmem_cache_alloc(buf_cache, GFP_KERNEL); in srpt_alloc_ioctx()
671 kmem_cache_size(buf_cache), dir); in srpt_alloc_ioctx()
678 kmem_cache_free(buf_cache, ioctx->buf); in srpt_alloc_ioctx()
693 struct kmem_cache *buf_cache, in srpt_free_ioctx() argument
700 kmem_cache_size(buf_cache), dir); in srpt_free_ioctx()
701 kmem_cache_free(buf_cache, ioctx->buf); in srpt_free_ioctx()
717 struct kmem_cache *buf_cache, in srpt_alloc_ioctx_ring() argument
731 ring[i] = srpt_alloc_ioctx(sdev, ioctx_size, buf_cache, dir); in srpt_alloc_ioctx_ring()
741 srpt_free_ioctx(sdev, ring[i], buf_cache, dir); in srpt_alloc_ioctx_ring()
758 struct kmem_cache *buf_cache, in srpt_free_ioctx_ring() argument
767 srpt_free_ioctx(sdev, ioctx_ring[i], buf_cache, dir); in srpt_free_ioctx_ring()