Home
last modified time | relevance | path

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

/linux-5.10/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.h83 struct kmem_cache { struct
84 struct kmem_cache_cpu __percpu *cpu_slab; argument
96 struct kmem_cache_order_objects oo; argument
99 struct kmem_cache_order_objects max; argument
100 struct kmem_cache_order_objects min; argument
101 gfp_t allocflags; /* gfp flags to use on each alloc */
102 int refcount; /* Refcount for slab cache destroy */
103 void (*ctor)(void *);
104 unsigned int inuse; /* Offset to metadata */
105 unsigned int align; /* Alignment */
[all …]
Dkvm_types.h74 struct kmem_cache *kmem_cache; member
/linux-5.10/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-5.10/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.c36 struct kmem_cache *kmem_cache; variable
/linux-5.10/arch/x86/events/intel/
Dlbr.c661 struct kmem_cache *kmem_cache = event->pmu->task_ctx_cache; in intel_pmu_lbr_add() local
708 struct kmem_cache *kmem_cache = x86_get_pmu()->task_ctx_cache; in release_lbr_buffers() local