Searched refs:slab (Results 1 – 4 of 4) sorted by relevance
/fs/ |
D | bio.c | 61 struct kmem_cache *slab; member 73 struct kmem_cache *slab = NULL; in bio_find_or_create_slab() local 83 if (!bslab->slab && entry == -1) in bio_find_or_create_slab() 86 slab = bslab->slab; in bio_find_or_create_slab() 93 if (slab) in bio_find_or_create_slab() 110 slab = kmem_cache_create(bslab->name, sz, 0, SLAB_HWCACHE_ALIGN, NULL); in bio_find_or_create_slab() 111 if (!slab) in bio_find_or_create_slab() 115 bslab->slab = slab; in bio_find_or_create_slab() 120 return slab; in bio_find_or_create_slab() 131 if (bs->bio_slab == bio_slabs[i].slab) { in bio_put_slab() [all …]
|
D | bio-integrity.c | 31 struct kmem_cache *slab; member 96 bip = kmem_cache_alloc(bip_slab[idx].slab, gfp_mask); in bio_integrity_alloc_bioset() 159 kmem_cache_free(bip_slab[bip->bip_slab].slab, bip); in bio_integrity_free() 769 mempool_create_slab_pool(pool_size, bip_slab[max_slab].slab); in bioset_integrity_create() 804 bip_slab[i].slab = in bio_integrity_init()
|
/fs/befs/ |
D | ChangeLog | 159 * 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
|
/fs/nfsd/ |
D | nfs4state.c | 275 static struct nfs4_stid *nfs4_alloc_stid(struct nfs4_client *cl, struct kmem_cache *slab) in nfs4_alloc_stid() argument 287 return kmem_cache_alloc(slab, GFP_KERNEL); in nfs4_alloc_stid() 2329 nfsd4_free_slab(struct kmem_cache **slab) in nfsd4_free_slab() argument 2331 if (*slab == NULL) in nfsd4_free_slab() 2333 kmem_cache_destroy(*slab); in nfsd4_free_slab() 2334 *slab = NULL; in nfsd4_free_slab() 2396 static inline void *alloc_stateowner(struct kmem_cache *slab, struct xdr_netobj *owner, struct nfs4… in alloc_stateowner() argument 2400 sop = kmem_cache_alloc(slab, GFP_KERNEL); in alloc_stateowner() 2406 kmem_cache_free(slab, sop); in alloc_stateowner()
|