Lines Matching refs:flags

257 #define timer_lock_irqsave(t, flags) ({         \  argument
259 local_irq_save(flags); \
261 local_irq_restore(flags); \
270 #define timer_unlock_irqrestore(t, flags) ({ \ argument
272 local_irq_restore(flags); \
290 unsigned long flags; in init_timer() local
296 if ( !timer_lock_irqsave(timer, flags) ) in init_timer()
299 timer_unlock_irqrestore(timer, flags); in init_timer()
305 unsigned long flags; in set_timer() local
307 if ( !timer_lock_irqsave(timer, flags) ) in set_timer()
317 timer_unlock_irqrestore(timer, flags); in set_timer()
323 unsigned long flags; in stop_timer() local
325 if ( !timer_lock_irqsave(timer, flags) ) in stop_timer()
331 timer_unlock_irqrestore(timer, flags); in stop_timer()
336 unsigned long flags; in timer_expires_before() local
339 if ( !timer_lock_irqsave(timer, flags) ) in timer_expires_before()
344 timer_unlock_irqrestore(timer, flags); in timer_expires_before()
353 unsigned long flags; in migrate_timer() local
368 spin_lock_irqsave(&per_cpu(timers, old_cpu).lock, flags); in migrate_timer()
373 spin_lock_irqsave(&per_cpu(timers, new_cpu).lock, flags); in migrate_timer()
381 spin_unlock_irqrestore(&per_cpu(timers, new_cpu).lock, flags); in migrate_timer()
398 spin_unlock_irqrestore(&per_cpu(timers, new_cpu).lock, flags); in migrate_timer()
405 unsigned long flags; in kill_timer() local
409 if ( !timer_lock_irqsave(timer, flags) ) in kill_timer()
420 spin_unlock_irqrestore(&per_cpu(timers, old_cpu).lock, flags); in kill_timer()
536 unsigned long flags; in dump_timerq() local
547 spin_lock_irqsave(&ts->lock, flags); in dump_timerq()
552 spin_unlock_irqrestore(&ts->lock, flags); in dump_timerq()