Searched refs:objpool_head (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/include/linux/ |
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 …]
|
D | rethook.h | 37 struct objpool_head pool;
|
D | kprobes.h | 143 struct objpool_head pool;
|
/linux-6.12.1/lib/ |
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()
|
D | test_objpool.c | 63 struct objpool_head *pool; /* pool head */ 127 struct objpool_head pool; /* objpool head */ 200 struct objpool_head *pool, in ot_init_cpu_item() 442 static int ot_objpool_release(struct objpool_head *head, void *context) in ot_objpool_release() 485 static void ot_nod_recycle(struct ot_node *on, struct objpool_head *pool, in ot_nod_recycle()
|
/linux-6.12.1/kernel/trace/ |
D | rethook.c | 79 static int rethook_fini_pool(struct objpool_head *head, void *context) in rethook_fini_pool()
|
/linux-6.12.1/kernel/ |
D | kprobes.c | 1901 static int kretprobe_fini_pool(struct objpool_head *head, void *context) in kretprobe_fini_pool()
|