Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Dslab_def.h10 struct kmem_cache { struct
34 struct kmem_cache *freelist_cache; argument
35 unsigned int freelist_size;
38 void (*ctor)(void *obj);
41 const char *name;
42 struct list_head list;
43 int refcount;
44 int object_size;
45 int align;
49 unsigned long num_active;
[all …]
Dslub_def.h62 struct kmem_cache { struct
63 struct kmem_cache_cpu __percpu *cpu_slab; argument
71 struct kmem_cache_order_objects oo; argument
74 struct kmem_cache_order_objects max; argument
75 struct kmem_cache_order_objects min; argument
76 gfp_t allocflags; /* gfp flags to use on each alloc */
77 int refcount; /* Refcount for slab cache destroy */
101 struct kmem_cache_node *node[MAX_NUMNODES]; argument
106 void sysfs_slab_remove(struct kmem_cache *); argument
/linux-4.1.27/mm/
Dslab.h19 struct kmem_cache { struct
20 unsigned int object_size;/* The original size of the object */
21 unsigned int size; /* The aligned/padded/added on size */
22 unsigned int align; /* Alignment as calculated */
23 unsigned long flags; /* Active flags on the slab */
24 const char *name; /* Slab name for sysfs */
25 int refcount; /* Use counter */
26 void (*ctor)(void *); /* Called on object slot creation */
27 struct list_head list; /* List of all slab caches on the system */
Dslab_common.c31 struct kmem_cache *kmem_cache; variable