Home
last modified time | relevance | path

Searched defs:kmem_cache (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/include/linux/
Dslab_def.h11 struct kmem_cache { struct
35 struct kmem_cache *freelist_cache; argument
36 unsigned int freelist_size;
39 void (*ctor)(void *obj);
42 const char *name;
43 struct list_head list;
44 int refcount;
45 int object_size;
46 int align;
50 unsigned long num_active;
[all …]
Dslub_def.h82 struct kmem_cache { struct
83 struct kmem_cache_cpu __percpu *cpu_slab; argument
94 struct kmem_cache_order_objects oo; argument
97 struct kmem_cache_order_objects max; argument
98 struct kmem_cache_order_objects min; argument
99 gfp_t allocflags; /* gfp flags to use on each alloc */
100 int refcount; /* Refcount for slab cache destroy */
101 void (*ctor)(void *);
102 unsigned int inuse; /* Offset to metadata */
103 unsigned int align; /* Alignment */
[all …]
/Linux-v5.4/tools/testing/radix-tree/
Dlinux.c20 struct kmem_cache { struct
28 void *kmem_cache_alloc(struct kmem_cache *cachep, int flags) in kmem_cache_alloc() argument
/Linux-v5.4/mm/
Dslab.h20 struct kmem_cache { struct
37 struct kmem_cache *entries[0]; argument
Dslab_common.c34 struct kmem_cache *kmem_cache; variable