Lines Matching refs:buf_cache
723 struct kmem_cache *buf_cache, in srpt_alloc_ioctx() argument
732 ioctx->buf = kmem_cache_alloc(buf_cache, GFP_KERNEL); in srpt_alloc_ioctx()
737 kmem_cache_size(buf_cache), dir); in srpt_alloc_ioctx()
744 kmem_cache_free(buf_cache, ioctx->buf); in srpt_alloc_ioctx()
759 struct kmem_cache *buf_cache, in srpt_free_ioctx() argument
766 kmem_cache_size(buf_cache), dir); in srpt_free_ioctx()
767 kmem_cache_free(buf_cache, ioctx->buf); in srpt_free_ioctx()
783 struct kmem_cache *buf_cache, in srpt_alloc_ioctx_ring() argument
797 ring[i] = srpt_alloc_ioctx(sdev, ioctx_size, buf_cache, dir); in srpt_alloc_ioctx_ring()
807 srpt_free_ioctx(sdev, ring[i], buf_cache, dir); in srpt_alloc_ioctx_ring()
824 struct kmem_cache *buf_cache, in srpt_free_ioctx_ring() argument
833 srpt_free_ioctx(sdev, ioctx_ring[i], buf_cache, dir); in srpt_free_ioctx_ring()