• Home
  • Raw
  • Download

Lines Matching refs:flags

77 	unsigned long flags;  in seqcount_lockdep_reader_access()  local
79 local_irq_save(flags); in seqcount_lockdep_reader_access()
82 local_irq_restore(flags); in seqcount_lockdep_reader_access()
484 unsigned long flags; in __write_seqlock_irqsave() local
486 spin_lock_irqsave(&sl->lock, flags); in __write_seqlock_irqsave()
488 return flags; in __write_seqlock_irqsave()
491 #define write_seqlock_irqsave(lock, flags) \ argument
492 do { flags = __write_seqlock_irqsave(lock); } while (0)
495 write_sequnlock_irqrestore(seqlock_t *sl, unsigned long flags) in write_sequnlock_irqrestore() argument
498 spin_unlock_irqrestore(&sl->lock, flags); in write_sequnlock_irqrestore()
567 unsigned long flags; in __read_seqlock_excl_irqsave() local
569 spin_lock_irqsave(&sl->lock, flags); in __read_seqlock_excl_irqsave()
570 return flags; in __read_seqlock_excl_irqsave()
573 #define read_seqlock_excl_irqsave(lock, flags) \ argument
574 do { flags = __read_seqlock_excl_irqsave(lock); } while (0)
577 read_sequnlock_excl_irqrestore(seqlock_t *sl, unsigned long flags) in read_sequnlock_excl_irqrestore() argument
579 spin_unlock_irqrestore(&sl->lock, flags); in read_sequnlock_excl_irqrestore()
585 unsigned long flags = 0; in read_seqbegin_or_lock_irqsave() local
590 read_seqlock_excl_irqsave(lock, flags); in read_seqbegin_or_lock_irqsave()
592 return flags; in read_seqbegin_or_lock_irqsave()
596 done_seqretry_irqrestore(seqlock_t *lock, int seq, unsigned long flags) in done_seqretry_irqrestore() argument
599 read_sequnlock_excl_irqrestore(lock, flags); in done_seqretry_irqrestore()