Lines Matching refs:flags
381 depot_alloc_stack(unsigned long *entries, unsigned int nr_entries, u32 hash, depot_flags_t flags, v… in depot_alloc_stack() argument
396 if (flags & STACK_DEPOT_FLAG_GET) { in depot_alloc_stack()
419 if (flags & STACK_DEPOT_FLAG_GET) { in depot_alloc_stack()
470 unsigned long flags; in depot_free_stack() local
474 raw_spin_lock_irqsave(&pool_lock, flags); in depot_free_stack()
508 raw_spin_unlock_irqrestore(&pool_lock, flags); in depot_free_stack()
537 u32 hash, depot_flags_t flags) in find_stack() argument
572 if ((flags & STACK_DEPOT_FLAG_GET) && !refcount_inc_not_zero(&stack->count)) in find_stack()
595 unsigned long flags; in stack_depot_save_flags() local
637 if (!raw_spin_trylock_irqsave(&pool_lock, flags)) in stack_depot_save_flags()
640 raw_spin_lock_irqsave(&pool_lock, flags); in stack_depot_save_flags()
670 raw_spin_unlock_irqrestore(&pool_lock, flags); in stack_depot_save_flags()