Lines Matching refs:flags
78 unsigned long flags; in seqcount_lockdep_reader_access() local
80 local_irq_save(flags); in seqcount_lockdep_reader_access()
83 local_irq_restore(flags); in seqcount_lockdep_reader_access()
491 unsigned long flags; in __write_seqlock_irqsave() local
493 spin_lock_irqsave(&sl->lock, flags); in __write_seqlock_irqsave()
495 return flags; in __write_seqlock_irqsave()
498 #define write_seqlock_irqsave(lock, flags) \ argument
499 do { flags = __write_seqlock_irqsave(lock); } while (0)
502 write_sequnlock_irqrestore(seqlock_t *sl, unsigned long flags) in write_sequnlock_irqrestore() argument
505 spin_unlock_irqrestore(&sl->lock, flags); in write_sequnlock_irqrestore()
574 unsigned long flags; in __read_seqlock_excl_irqsave() local
576 spin_lock_irqsave(&sl->lock, flags); in __read_seqlock_excl_irqsave()
577 return flags; in __read_seqlock_excl_irqsave()
580 #define read_seqlock_excl_irqsave(lock, flags) \ argument
581 do { flags = __read_seqlock_excl_irqsave(lock); } while (0)
584 read_sequnlock_excl_irqrestore(seqlock_t *sl, unsigned long flags) in read_sequnlock_excl_irqrestore() argument
586 spin_unlock_irqrestore(&sl->lock, flags); in read_sequnlock_excl_irqrestore()
592 unsigned long flags = 0; in read_seqbegin_or_lock_irqsave() local
597 read_seqlock_excl_irqsave(lock, flags); in read_seqbegin_or_lock_irqsave()
599 return flags; in read_seqbegin_or_lock_irqsave()
603 done_seqretry_irqrestore(seqlock_t *lock, int seq, unsigned long flags) in done_seqretry_irqrestore() argument
606 read_sequnlock_excl_irqrestore(lock, flags); in done_seqretry_irqrestore()