Home
last modified time | relevance | path

Searched refs:qnode_pool (Results 1 – 4 of 4) sorted by relevance

/f-stack/dpdk/examples/performance-thread/common/
H A Dlthread_pool.h50 struct qnode_pool *pool;
56 struct qnode_pool { struct
75 static inline struct qnode_pool * argument
78 struct qnode_pool *p = rte_malloc_socket(NULL, in _qnode_pool_create()
79 sizeof(struct qnode_pool), in _qnode_pool_create()
140 _pool_remove(struct qnode_pool *p) in _pool_remove()
181 _qnode_pool_remove(struct qnode_pool *p) in _qnode_pool_remove()
203 struct qnode_pool *p = (THIS_SCHED)->qnode_pool; in _qnode_alloc()
248 struct qnode_pool *p = n->pool; in _qnode_free()
252 unlikely(n->pool != (THIS_SCHED)->qnode_pool)) { in _qnode_free()
[all …]
H A Dlthread_diag.c115 if (sched->qnode_pool->fast_alloc != NULL) in _sched_stats_consistency_check()
117 count += DIAG_COUNT(sched->qnode_pool, available); in _sched_stats_consistency_check()
119 capacity += DIAG_COUNT(sched->qnode_pool, capacity); in _sched_stats_consistency_check()
137 _qnode_pool_display(DIAG_USED struct qnode_pool *p) in _qnode_pool_display()
216 _qnode_pool_display(sched->qnode_pool); in lthread_sched_stats_display()
H A Dlthread_int.h41 struct qnode_pool;
78 struct qnode_pool *qnode_pool; /* pool of queue nodes */ member
H A Dlthread_sched.c96 new_sched->qnode_pool = in _lthread_sched_alloc_resources()
98 if (new_sched->qnode_pool == NULL) in _lthread_sched_alloc_resources()
194 _qnode_pool_destroy(new_sched->qnode_pool); in _lthread_sched_alloc_resources()