Lines Matching defs:kmem_cache
12 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;
32 gfp_t allocflags;
34 size_t colour; /* cache colouring range */
35 unsigned int colour_off; /* colour offset */
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;
51 unsigned long num_allocations;
52 unsigned long high_mark;
53 unsigned long grown;
54 unsigned long reaped;
55 unsigned long errors;
56 unsigned long max_freeable;
57 unsigned long node_allocs;
58 unsigned long node_frees;
59 unsigned long node_overflow;
60 atomic_t allochit;
61 atomic_t allocmiss;
62 atomic_t freehit;
63 atomic_t freemiss;
88 struct kmem_cache_node *node[MAX_NUMNODES]; argument
91 static inline void *nearest_obj(struct kmem_cache *cache, const struct slab *slab, in nearest_obj() argument