Searched refs:cache_depot_lock (Results 1 – 5 of 5) sorted by relevance
48 (void) mutex_lock(&cp->cache_depot_lock); in umem_lockup_cache()59 (void) mutex_unlock(&cp->cache_depot_lock); in umem_release_cache()
1818 if (mutex_trylock(&cp->cache_depot_lock) != 0) { in umem_depot_alloc()1819 (void) mutex_lock(&cp->cache_depot_lock); in umem_depot_alloc()1831 (void) mutex_unlock(&cp->cache_depot_lock); in umem_depot_alloc()1842 (void) mutex_lock(&cp->cache_depot_lock); in umem_depot_free()1847 (void) mutex_unlock(&cp->cache_depot_lock); in umem_depot_free()1856 (void) mutex_lock(&cp->cache_depot_lock); in umem_depot_ws_update()1861 (void) mutex_unlock(&cp->cache_depot_lock); in umem_depot_ws_update()2396 (void) mutex_lock(&cp->cache_depot_lock); in umem_cache_magazine_resize()2400 (void) mutex_unlock(&cp->cache_depot_lock); in umem_cache_magazine_resize()2490 (void) mutex_lock(&cp->cache_depot_lock); in umem_cache_update()[all …]
321 mutex_t cache_depot_lock; /* protects depot */ member
2077 if (!mutex_tryenter(&cp->cache_depot_lock)) { in kmem_depot_alloc()2078 mutex_enter(&cp->cache_depot_lock); in kmem_depot_alloc()2090 mutex_exit(&cp->cache_depot_lock); in kmem_depot_alloc()2101 mutex_enter(&cp->cache_depot_lock); in kmem_depot_free()2106 mutex_exit(&cp->cache_depot_lock); in kmem_depot_free()2115 mutex_enter(&cp->cache_depot_lock); in kmem_depot_ws_update()2120 mutex_exit(&cp->cache_depot_lock); in kmem_depot_ws_update()2130 mutex_enter(&cp->cache_depot_lock); in kmem_depot_ws_zero()2135 mutex_exit(&cp->cache_depot_lock); in kmem_depot_ws_zero()3031 mutex_enter(&cp->cache_depot_lock); in kmem_cache_reap()[all …]
404 kmutex_t cache_depot_lock; /* protects depot */ member