Lines Matching refs:flags
139 #define lock_kmap_any(flags) spin_lock_irqsave(&kmap_lock, flags) argument
140 #define unlock_kmap_any(flags) spin_unlock_irqrestore(&kmap_lock, flags) argument
144 #define lock_kmap_any(flags) \ argument
145 do { spin_lock(&kmap_lock); (void)(flags); } while (0)
146 #define unlock_kmap_any(flags) \ argument
147 do { spin_unlock(&kmap_lock); (void)(flags); } while (0)
308 unsigned long vaddr, flags; in kmap_high_get() local
310 lock_kmap_any(flags); in kmap_high_get()
316 unlock_kmap_any(flags); in kmap_high_get()
332 unsigned long flags; in kunmap_high() local
337 lock_kmap_any(flags); in kunmap_high()
364 unlock_kmap_any(flags); in kunmap_high()
410 unsigned long flags; in page_address() local
419 spin_lock_irqsave(&pas->lock, flags); in page_address()
431 spin_unlock_irqrestore(&pas->lock, flags); in page_address()
444 unsigned long flags; in set_page_address() local
456 spin_lock_irqsave(&pas->lock, flags); in set_page_address()
458 spin_unlock_irqrestore(&pas->lock, flags); in set_page_address()
460 spin_lock_irqsave(&pas->lock, flags); in set_page_address()
464 spin_unlock_irqrestore(&pas->lock, flags); in set_page_address()
468 spin_unlock_irqrestore(&pas->lock, flags); in set_page_address()