Home
last modified time | relevance | path

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

/kernel/linux/linux-4.19/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 …]
/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-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-4.19/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
/kernel/linux/linux-4.19/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.c33 struct kmem_cache *kmem_cache; variable
723 void (*deact_fn)(struct kmem_cache *)) in slab_deactivate_memcg_cache_rcu_sched()
/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-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