Searched refs:mutex_cache (Results 1 – 6 of 6) sorted by relevance
128 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()
27 struct nfp_cpp_mutex *mutex_cache; member
44 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()
112 count += DIAG_COUNT(sched->mutex_cache, available); in _sched_stats_consistency_check()222 _objcache_display(sched->mutex_cache); in lthread_sched_stats_display()
77 struct lthread_objcache *mutex_cache; /* free mutexes */ member
160 new_sched->mutex_cache = in _lthread_sched_alloc_resources()164 if (new_sched->mutex_cache == NULL) in _lthread_sched_alloc_resources()