Lines Matching refs:buf_cache
654 struct kmem_cache *buf_cache, in srpt_alloc_ioctx() argument
663 ioctx->buf = kmem_cache_alloc(buf_cache, GFP_KERNEL); in srpt_alloc_ioctx()
668 kmem_cache_size(buf_cache), dir); in srpt_alloc_ioctx()
675 kmem_cache_free(buf_cache, ioctx->buf); in srpt_alloc_ioctx()
690 struct kmem_cache *buf_cache, in srpt_free_ioctx() argument
697 kmem_cache_size(buf_cache), dir); in srpt_free_ioctx()
698 kmem_cache_free(buf_cache, ioctx->buf); in srpt_free_ioctx()
714 struct kmem_cache *buf_cache, in srpt_alloc_ioctx_ring() argument
728 ring[i] = srpt_alloc_ioctx(sdev, ioctx_size, buf_cache, dir); in srpt_alloc_ioctx_ring()
738 srpt_free_ioctx(sdev, ring[i], buf_cache, dir); in srpt_alloc_ioctx_ring()
755 struct kmem_cache *buf_cache, in srpt_free_ioctx_ring() argument
764 srpt_free_ioctx(sdev, ioctx_ring[i], buf_cache, dir); in srpt_free_ioctx_ring()