Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/include/linux/
Dslab_def.h12 struct kmem_cache { struct
13 struct array_cache __percpu *cpu_cache;
16 unsigned int batchcount;
17 unsigned int limit;
18 unsigned int shared;
20 unsigned int size;
21 struct reciprocal_value reciprocal_buffer_size;
24 slab_flags_t flags; /* constant flags */
25 unsigned int num; /* # of objs per slab */
29 unsigned int gfporder;
[all …]
Dslub_def.h98 struct kmem_cache { struct
100 struct kmem_cache_cpu __percpu *cpu_slab; argument
115 struct kmem_cache_order_objects oo; argument
118 struct kmem_cache_order_objects min; argument
119 gfp_t allocflags; /* gfp flags to use on each alloc */
120 int refcount; /* Refcount for slab cache destroy */
121 void (*ctor)(void *);
122 unsigned int inuse; /* Offset to metadata */
123 unsigned int align; /* Alignment */
124 unsigned int red_left_pad; /* Left redzone padding size */
[all …]
Dkvm_types.h96 struct kmem_cache *kmem_cache; member
/kernel/linux/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
/kernel/linux/linux-6.6/tools/testing/radix-tree/
Dlinux.c19 struct kmem_cache { struct
31 void kmem_cache_set_non_kernel(struct kmem_cache *cachep, unsigned int val) in kmem_cache_set_non_kernel() argument
/kernel/linux/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
/kernel/linux/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
/kernel/linux/linux-6.6/arch/x86/events/intel/
Dlbr.c621 struct kmem_cache *kmem_cache; in release_lbr_buffers() local
640 struct kmem_cache *kmem_cache; in reserve_lbr_buffers() local
/kernel/linux/linux-5.10/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
/kernel/linux/linux-6.6/mm/
Dslab_common.c40 struct kmem_cache *kmem_cache; variable