Lines Matching refs:flags
63 unsigned long flags; in percpu_counter_set() local
65 raw_spin_lock_irqsave(&fbc->lock, flags); in percpu_counter_set()
71 raw_spin_unlock_irqrestore(&fbc->lock, flags); in percpu_counter_set()
89 unsigned long flags; in percpu_counter_add_batch() local
90 raw_spin_lock_irqsave(&fbc->lock, flags); in percpu_counter_add_batch()
93 raw_spin_unlock_irqrestore(&fbc->lock, flags); in percpu_counter_add_batch()
109 unsigned long flags; in __percpu_counter_sum() local
111 raw_spin_lock_irqsave(&fbc->lock, flags); in __percpu_counter_sum()
117 raw_spin_unlock_irqrestore(&fbc->lock, flags); in __percpu_counter_sum()
125 unsigned long flags __maybe_unused; in __percpu_counter_init()
138 spin_lock_irqsave(&percpu_counters_lock, flags); in __percpu_counter_init()
140 spin_unlock_irqrestore(&percpu_counters_lock, flags); in __percpu_counter_init()
148 unsigned long flags __maybe_unused; in percpu_counter_destroy()
156 spin_lock_irqsave(&percpu_counters_lock, flags); in percpu_counter_destroy()
158 spin_unlock_irqrestore(&percpu_counters_lock, flags); in percpu_counter_destroy()