Lines Matching defs:pool
55 struct rxe_pool *pool;
66 rwlock_t pool_lock; /* protects pool add/del/search */
88 /* initialize a pool of objects with given limit on
90 * pool elements will be allocated out of a slab cache
92 int rxe_pool_init(struct rxe_dev *rxe, struct rxe_pool *pool,
95 /* free resources from object pool */
96 void rxe_pool_cleanup(struct rxe_pool *pool);
98 /* allocate an object from pool */
99 void *rxe_alloc(struct rxe_pool *pool);
101 /* connect already allocated object to pool */
102 int rxe_add_to_pool(struct rxe_pool *pool, struct rxe_pool_entry *elem);
105 * pool's rb tree
113 * pool's rb tree
121 void *rxe_pool_get_index(struct rxe_pool *pool, u32 index);
124 void *rxe_pool_get_key(struct rxe_pool *pool, void *key);