Lines Matching refs:objpool_head
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);
276 void objpool_fini(struct objpool_head *pool);