Lines Matching refs:flags
19 unsigned long flags) in arch_spin_lock_flags() argument
26 if (flags & PSW_SM_I) { in arch_spin_lock_flags()
71 unsigned long flags; in arch_read_lock() local
72 local_irq_save(flags); in arch_read_lock()
73 arch_spin_lock_flags(&rw->lock, flags); in arch_read_lock()
76 local_irq_restore(flags); in arch_read_lock()
83 unsigned long flags; in arch_read_unlock() local
84 local_irq_save(flags); in arch_read_unlock()
85 arch_spin_lock_flags(&rw->lock, flags); in arch_read_unlock()
88 local_irq_restore(flags); in arch_read_unlock()
95 unsigned long flags; in arch_read_trylock() local
97 local_irq_save(flags); in arch_read_trylock()
101 local_irq_restore(flags); in arch_read_trylock()
105 local_irq_restore(flags); in arch_read_trylock()
121 unsigned long flags; in arch_write_lock() local
123 local_irq_save(flags); in arch_write_lock()
124 arch_spin_lock_flags(&rw->lock, flags); in arch_write_lock()
128 local_irq_restore(flags); in arch_write_lock()
138 local_irq_restore(flags); in arch_write_lock()
151 unsigned long flags; in arch_write_trylock() local
154 local_irq_save(flags); in arch_write_trylock()
164 local_irq_restore(flags); in arch_write_trylock()