Home
last modified time | relevance | path

Searched refs:slab (Results 1 – 11 of 11) sorted by relevance

/linux-4.19.296/lib/
Dsg_pool.c12 struct kmem_cache *slab; member
129 sgp->slab = kmem_cache_create(sgp->name, size, 0, in sg_pool_init()
131 if (!sgp->slab) { in sg_pool_init()
138 sgp->slab); in sg_pool_init()
153 if (sgp->slab) in sg_pool_init()
154 kmem_cache_destroy(sgp->slab); in sg_pool_init()
167 kmem_cache_destroy(sgp->slab); in sg_pool_exit()
Dstackdepot.c204 void *slab = stack_slabs[parts.slabindex]; in depot_fetch_stack() local
206 struct stack_record *stack = slab + offset; in depot_fetch_stack()
DKconfig.debug508 bool "Debug slab memory allocations"
566 of finding leaks due to the slab objects poisoning.
/linux-4.19.296/include/net/
Drequest_sock.h34 struct kmem_cache *slab; member
88 req = kmem_cache_alloc(ops->slab, GFP_ATOMIC | __GFP_NOWARN); in reqsk_alloc()
94 kmem_cache_free(ops->slab, req); in reqsk_alloc()
118 kmem_cache_free(req->rsk_ops->slab, req); in reqsk_free()
Dsock.h1170 struct kmem_cache *slab; member
/linux-4.19.296/block/
Dbio.c65 struct kmem_cache *slab; member
77 struct kmem_cache *slab = NULL; in bio_find_or_create_slab() local
88 if (!bslab->slab && entry == -1) in bio_find_or_create_slab()
91 slab = bslab->slab; in bio_find_or_create_slab()
98 if (slab) in bio_find_or_create_slab()
117 slab = kmem_cache_create(bslab->name, sz, ARCH_KMALLOC_MINALIGN, in bio_find_or_create_slab()
119 if (!slab) in bio_find_or_create_slab()
122 bslab->slab = slab; in bio_find_or_create_slab()
127 return slab; in bio_find_or_create_slab()
138 if (bs->bio_slab == bio_slabs[i].slab) { in bio_put_slab()
[all …]
/linux-4.19.296/fs/befs/
DChangeLog159 * Made inode allocations use a slab cache
170 * Fixed a couple of compile warnings due to use of malloc.h, when slab.h
408 Needed to include <linux/slab.h> in most files
/linux-4.19.296/fs/nfsd/
Dstate.h610 struct nfs4_stid *nfs4_alloc_stid(struct nfs4_client *cl, struct kmem_cache *slab,
Dnfs4state.c679 struct nfs4_stid *nfs4_alloc_stid(struct nfs4_client *cl, struct kmem_cache *slab, in nfs4_alloc_stid() argument
685 stid = kmem_cache_zalloc(slab, GFP_KERNEL); in nfs4_alloc_stid()
716 kmem_cache_free(slab, stid); in nfs4_alloc_stid()
3593 static inline void *alloc_stateowner(struct kmem_cache *slab, struct xdr_netobj *owner, struct nfs4… in alloc_stateowner() argument
3597 sop = kmem_cache_alloc(slab, GFP_KERNEL); in alloc_stateowner()
3603 kmem_cache_free(slab, sop); in alloc_stateowner()
/linux-4.19.296/include/linux/
Dpage-flags.h283 __PAGEFLAG(Slab, slab, PF_NO_TAIL)
Dbio.h769 struct kmem_cache *slab; member