Searched refs:TPOOL_ALLOC_TYPE (Results 1 – 5 of 5) sorted by relevance
50 !defined(TPOOL_ALLOC_TYPE) || \97 TPOOL_ALLOC_TYPE buf[0];118 (((1 << 16) - sizeof(struct TPoolChunk)) / sizeof(TPOOL_ALLOC_TYPE))128 sizeof(struct TPoolChunk) + (sizeof(TPOOL_ALLOC_TYPE) * tot_elems)); in pool_alloc_chunk()135 static TPOOL_ALLOC_TYPE *pool_elem_alloc(struct TPOOL_STRUCT *pool) in pool_elem_alloc()137 TPOOL_ALLOC_TYPE *elem; in pool_elem_alloc()140 elem = (TPOOL_ALLOC_TYPE *)pool->free; in pool_elem_alloc()155 static TPOOL_ALLOC_TYPE *pool_elem_calloc(struct TPOOL_STRUCT *pool) in pool_elem_calloc()157 TPOOL_ALLOC_TYPE *elem = pool_elem_alloc(pool); in pool_elem_calloc()162 static void pool_elem_free(struct TPOOL_STRUCT *pool, TPOOL_ALLOC_TYPE *elem) in pool_elem_free()
59 #define TPOOL_ALLOC_TYPE Node macro63 #undef TPOOL_ALLOC_TYPE
55 !defined(TPOOL_ALLOC_TYPE) || \102 TPOOL_ALLOC_TYPE buf[0];123 (((1 << 16) - sizeof(struct TPoolChunk)) / sizeof(TPOOL_ALLOC_TYPE))133 sizeof(struct TPoolChunk) + (sizeof(TPOOL_ALLOC_TYPE) * tot_elems)); in pool_alloc_chunk()140 static TPOOL_ALLOC_TYPE *pool_elem_alloc(struct TPOOL_STRUCT *pool) in pool_elem_alloc()142 TPOOL_ALLOC_TYPE *elem; in pool_elem_alloc()145 elem = (TPOOL_ALLOC_TYPE *)pool->free; in pool_elem_alloc()160 static TPOOL_ALLOC_TYPE *pool_elem_calloc(struct TPOOL_STRUCT *pool) in pool_elem_calloc()162 TPOOL_ALLOC_TYPE *elem = pool_elem_alloc(pool); in pool_elem_calloc()167 static void pool_elem_free(struct TPOOL_STRUCT *pool, TPOOL_ALLOC_TYPE *elem) in pool_elem_free()
63 #define TPOOL_ALLOC_TYPE HeapNode macro67 #undef TPOOL_ALLOC_TYPE
152 #define TPOOL_ALLOC_TYPE struct KnotRemoveState macro156 #undef TPOOL_ALLOC_TYPE173 #define TPOOL_ALLOC_TYPE struct KnotRefitState macro177 #undef TPOOL_ALLOC_TYPE198 #define TPOOL_ALLOC_TYPE struct KnotCornerState macro202 #undef TPOOL_ALLOC_TYPE