Home
last modified time | relevance | path

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

/Linux-v5.15/include/linux/
Dslab_def.h12 struct kmem_cache { struct
36 struct kmem_cache *freelist_cache; argument
37 unsigned int freelist_size;
40 void (*ctor)(void *obj);
43 const char *name;
44 struct list_head list;
45 int refcount;
46 int object_size;
47 int align;
51 unsigned long num_active;
[all …]
Dslub_def.h90 struct kmem_cache { struct
91 struct kmem_cache_cpu __percpu *cpu_slab; argument
103 struct kmem_cache_order_objects oo; argument
106 struct kmem_cache_order_objects max; argument
107 struct kmem_cache_order_objects min; argument
108 gfp_t allocflags; /* gfp flags to use on each alloc */
109 int refcount; /* Refcount for slab cache destroy */
110 void (*ctor)(void *);
111 unsigned int inuse; /* Offset to metadata */
112 unsigned int align; /* Alignment */
[all …]
Dkvm_types.h74 struct kmem_cache *kmem_cache; member
/Linux-v5.15/tools/testing/radix-tree/
Dlinux.c20 struct kmem_cache { struct
29 void *kmem_cache_alloc(struct kmem_cache *cachep, int gfp) in kmem_cache_alloc() argument
/Linux-v5.15/mm/
Dslab.h20 struct kmem_cache { struct
21 unsigned int object_size;/* The original size of the object */
22 unsigned int size; /* The aligned/padded/added on size */
23 unsigned int align; /* Alignment as calculated */
24 slab_flags_t flags; /* Active flags on the slab */
25 unsigned int useroffset;/* Usercopy region offset */
26 unsigned int usersize; /* Usercopy region size */
27 const char *name; /* Slab name for sysfs */
28 int refcount; /* Use counter */
29 void (*ctor)(void *); /* Called on object slot creation */
[all …]
Dslab_common.c38 struct kmem_cache *kmem_cache; variable
/Linux-v5.15/arch/x86/events/intel/
Dlbr.c702 struct kmem_cache *kmem_cache; in release_lbr_buffers() local
721 struct kmem_cache *kmem_cache; in reserve_lbr_buffers() local