Lines Matching full:pool_lock
65 static DEFINE_RAW_SPINLOCK(pool_lock);
67 static void **stack_pools __pt_guarded_by(&pool_lock);
73 static size_t pool_offset __guarded_by(&pool_lock) = DEPOT_POOL_SIZE;
75 static __guarded_by(&pool_lock) LIST_HEAD(free_stacks);
294 __must_hold(&pool_lock) in depot_init_pool()
296 lockdep_assert_held(&pool_lock); in depot_init_pool()
342 __must_hold(&pool_lock) in depot_keep_new_pool()
344 lockdep_assert_held(&pool_lock); in depot_keep_new_pool()
362 __must_hold(&pool_lock) in depot_pop_free_pool()
368 lockdep_assert_held(&pool_lock); in depot_pop_free_pool()
397 __must_hold(&pool_lock) in depot_pop_free()
401 lockdep_assert_held(&pool_lock); in depot_pop_free()
435 __must_hold(&pool_lock) in depot_alloc_stack()
440 lockdep_assert_held(&pool_lock); in depot_alloc_stack()
494 __must_not_hold(&pool_lock) in depot_fetch_stack()
503 lockdep_assert_not_held(&pool_lock); in depot_fetch_stack()
525 __must_not_hold(&pool_lock) in depot_free_stack()
529 lockdep_assert_not_held(&pool_lock); in depot_free_stack()
531 raw_spin_lock_irqsave(&pool_lock, flags); in depot_free_stack()
565 raw_spin_unlock_irqrestore(&pool_lock, flags); in depot_free_stack()
695 if (!raw_spin_trylock_irqsave(&pool_lock, flags)) in stack_depot_save_flags()
698 raw_spin_lock_irqsave(&pool_lock, flags); in stack_depot_save_flags()
728 raw_spin_unlock_irqrestore(&pool_lock, flags); in stack_depot_save_flags()