Home
last modified time | relevance | path

Searched refs:mutex_cache (Results 1 – 6 of 6) sorted by relevance

/f-stack/dpdk/drivers/net/nfp/nfpcore/
H A Dnfp_mutex.c128 for (mutex = cpp->mutex_cache; mutex; mutex = mutex->next) { in nfp_cpp_mutex_alloc()
166 if (cpp->mutex_cache) { in nfp_cpp_mutex_alloc()
167 cpp->mutex_cache->prev = mutex; in nfp_cpp_mutex_alloc()
168 mutex->next = cpp->mutex_cache; in nfp_cpp_mutex_alloc()
169 cpp->mutex_cache = mutex; in nfp_cpp_mutex_alloc()
171 cpp->mutex_cache = mutex; in nfp_cpp_mutex_alloc()
244 if (mutex->cpp && mutex == mutex->cpp->mutex_cache) in nfp_cpp_mutex_free()
245 mutex->cpp->mutex_cache = mutex->next; in nfp_cpp_mutex_free()
H A Dnfp_cpp.h27 struct nfp_cpp_mutex *mutex_cache; member
/f-stack/dpdk/examples/performance-thread/common/
H A Dlthread_mutex.c44 m = _lthread_objcache_alloc((THIS_SCHED)->mutex_cache); in lthread_mutex_init()
50 _lthread_objcache_free((THIS_SCHED)->mutex_cache, m); in lthread_mutex_init()
90 _lthread_objcache_free(m->root_sched->mutex_cache, m); in lthread_mutex_destroy()
H A Dlthread_diag.c112 count += DIAG_COUNT(sched->mutex_cache, available); in _sched_stats_consistency_check()
222 _objcache_display(sched->mutex_cache); in lthread_sched_stats_display()
H A Dlthread_int.h77 struct lthread_objcache *mutex_cache; /* free mutexes */ member
H A Dlthread_sched.c160 new_sched->mutex_cache = in _lthread_sched_alloc_resources()
164 if (new_sched->mutex_cache == NULL) in _lthread_sched_alloc_resources()