Searched refs:objpool_head (Results 1 – 5 of 5) sorted by relevance
/linux/include/linux/ |
H A D | objpool.h | 61 struct objpool_head; 70 typedef int (*objpool_fini_cb)(struct objpool_head *head, void *context); 85 struct objpool_head { struct 121 int objpool_init(struct objpool_head *pool, int nr_objs, int object_size, 126 static inline void *__objpool_try_get_slot(struct objpool_head *pool, int cpu) in __objpool_try_get_slot() 169 static inline void *objpool_pop(struct objpool_head *pool) in objpool_pop() 192 __objpool_try_add_slot(void *obj, struct objpool_head *pool, int cpu) in __objpool_try_add_slot() 222 static inline int objpool_push(void *obj, struct objpool_head *pool) in objpool_push() 252 int objpool_drop(void *obj, struct objpool_head *pool); 258 void objpool_free(struct objpool_head *pool); [all …]
|
H A D | rethook.h | 37 struct objpool_head pool;
|
H A D | kprobes.h | 143 struct objpool_head pool;
|
/linux/lib/ |
H A D | objpool.c | 19 objpool_init_percpu_slot(struct objpool_head *pool, in objpool_init_percpu_slot() 48 objpool_init_percpu_slots(struct objpool_head *pool, int nr_objs, in objpool_init_percpu_slots() 105 static void objpool_fini_percpu_slots(struct objpool_head *pool) in objpool_fini_percpu_slots() 118 int objpool_init(struct objpool_head *pool, int nr_objs, int object_size, in objpool_init() 138 memset(pool, 0, sizeof(struct objpool_head)); in objpool_init() 162 void objpool_free(struct objpool_head *pool) in objpool_free() 177 int objpool_drop(void *obj, struct objpool_head *pool) in objpool_drop() 192 void objpool_fini(struct objpool_head *pool) in objpool_fini()
|
/linux/kernel/trace/ |
H A D | rethook.c | 79 static int rethook_fini_pool(struct objpool_head *head, void *context) in rethook_fini_pool()
|