Searched refs:kmem_cache (Results 1 – 8 of 8) sorted by relevance
| /tools/testing/shared/ |
| A D | linux.c | 19 struct kmem_cache { struct 39 void kmem_cache_set_private(struct kmem_cache *cachep, void *private) in kmem_cache_set_private() 49 unsigned long kmem_cache_get_alloc(struct kmem_cache *cachep) in kmem_cache_get_alloc() 54 unsigned long kmem_cache_nr_allocated(struct kmem_cache *cachep) in kmem_cache_nr_allocated() 59 unsigned long kmem_cache_nr_tallocated(struct kmem_cache *cachep) in kmem_cache_nr_tallocated() 64 void kmem_cache_zero_nr_tallocated(struct kmem_cache *cachep) in kmem_cache_zero_nr_tallocated() 143 void kmem_cache_free(struct kmem_cache *cachep, void *objp) in kmem_cache_free() 161 void kmem_cache_shrink(struct kmem_cache *cachep) in kmem_cache_shrink() 236 struct kmem_cache * 240 struct kmem_cache *ret = malloc(sizeof(*ret)); in kmem_cache_create() [all …]
|
| /tools/include/linux/ |
| A D | slab.h | 33 void *kmem_cache_alloc_lru(struct kmem_cache *cachep, struct list_lru *, int flags); 34 static inline void *kmem_cache_alloc(struct kmem_cache *cachep, int flags) in kmem_cache_alloc() 38 void kmem_cache_free(struct kmem_cache *cachep, void *objp); 40 struct kmem_cache *kmem_cache_create(const char *name, unsigned int size, 44 void kmem_cache_free_bulk(struct kmem_cache *cachep, size_t size, void **list); 45 int kmem_cache_alloc_bulk(struct kmem_cache *cachep, gfp_t gfp, size_t size,
|
| A D | types.h | 17 struct kmem_cache;
|
| /tools/testing/selftests/bpf/progs/ |
| A D | kmem_cache_iter.c | 31 extern struct kmem_cache *bpf_get_kmem_cache(u64 addr) __ksym; 42 struct kmem_cache *s = ctx->s; in slab_info_collector() 74 struct kmem_cache *s; in BPF_PROG() 93 struct kmem_cache *s; in open_coded_iter() 95 bpf_for_each(kmem_cache, s) { in open_coded_iter()
|
| /tools/perf/util/bpf_skel/vmlinux/ |
| A D | vmlinux.h | 198 struct kmem_cache { struct 203 struct kmem_cache *s; argument
|
| /tools/testing/vma/ |
| A D | vma_internal.h | 655 struct kmem_cache { struct 661 static inline struct kmem_cache *__kmem_cache_create(const char *name, in __kmem_cache_create() argument 665 struct kmem_cache *ret = malloc(sizeof(struct kmem_cache)); in __kmem_cache_create() 677 static inline void *kmem_cache_alloc(struct kmem_cache *s, gfp_t gfpflags) in kmem_cache_alloc() 684 static inline void kmem_cache_free(struct kmem_cache *s, void *x) in kmem_cache_free()
|
| /tools/perf/util/bpf_skel/ |
| A D | lock_contention.bpf.c | 178 extern struct kmem_cache *bpf_get_kmem_cache(u64 addr) __ksym __weak; 803 struct kmem_cache *s; in contention_end() 959 struct kmem_cache *s; 965 struct kmem_cache *s = NULL; in slab_cache_iter()
|
| /tools/testing/selftests/bpf/ |
| A D | bpf_experimental.h | 591 extern struct kmem_cache *bpf_iter_kmem_cache_next(struct bpf_iter_kmem_cache *it) __weak __ksym;
|
Completed in 643 milliseconds