objpool_head
struct objpool_head pool;
int objpool_init(struct objpool_head *pool, int nr_objs, int object_size,
static inline void *__objpool_try_get_slot(struct objpool_head *pool, int cpu)
static inline void *objpool_pop(struct objpool_head *pool)
__objpool_try_add_slot(void *obj, struct objpool_head *pool, int cpu)
static inline int objpool_push(void *obj, struct objpool_head *pool)
int objpool_drop(void *obj, struct objpool_head *pool);
void objpool_free(struct objpool_head *pool);
void objpool_fini(struct objpool_head *pool);
struct objpool_head;
typedef int (*objpool_fini_cb)(struct objpool_head *head, void *context);
struct objpool_head pool;
static int kretprobe_fini_pool(struct objpool_head *head, void *context)
static int rethook_fini_pool(struct objpool_head *head, void *context)
static void objpool_fini_percpu_slots(struct objpool_head *pool)
int objpool_init(struct objpool_head *pool, int nr_objs, int object_size,
memset(pool, 0, sizeof(struct objpool_head));
void objpool_free(struct objpool_head *pool)
int objpool_drop(void *obj, struct objpool_head *pool)
objpool_init_percpu_slot(struct objpool_head *pool,
void objpool_fini(struct objpool_head *pool)
objpool_init_percpu_slots(struct objpool_head *pool, int nr_objs,
struct objpool_head pool; /* objpool head */
struct objpool_head *pool,
static int ot_objpool_release(struct objpool_head *head, void *context)
static void ot_nod_recycle(struct ot_node *on, struct objpool_head *pool,
struct objpool_head *pool; /* pool head */