Lines Matching refs:flags
180 unsigned long flags; in sclp_request_timeout() local
182 spin_lock_irqsave(&sclp_lock, flags); in sclp_request_timeout()
194 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_request_timeout()
222 unsigned long flags, now; in __sclp_req_queue_remove_expired_req() local
225 spin_lock_irqsave(&sclp_lock, flags); in __sclp_req_queue_remove_expired_req()
241 spin_unlock_irqrestore(&sclp_lock, flags); in __sclp_req_queue_remove_expired_req()
252 unsigned long flags, expires_next; in sclp_req_queue_timeout() local
261 spin_lock_irqsave(&sclp_lock, flags); in sclp_req_queue_timeout()
265 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_req_queue_timeout()
306 unsigned long flags; in sclp_process_queue() local
308 spin_lock_irqsave(&sclp_lock, flags); in sclp_process_queue()
310 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_process_queue()
333 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_process_queue()
335 spin_lock_irqsave(&sclp_lock, flags); in sclp_process_queue()
338 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_process_queue()
358 unsigned long flags; in sclp_add_request() local
361 spin_lock_irqsave(&sclp_lock, flags); in sclp_add_request()
363 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_add_request()
390 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_add_request()
401 unsigned long flags; in sclp_dispatch_evbufs() local
408 spin_lock_irqsave(&sclp_lock, flags); in sclp_dispatch_evbufs()
426 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_dispatch_evbufs()
428 spin_lock_irqsave(&sclp_lock, flags); in sclp_dispatch_evbufs()
432 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_dispatch_evbufs()
440 unsigned long flags; in sclp_read_cb() local
447 spin_lock_irqsave(&sclp_lock, flags); in sclp_read_cb()
449 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_read_cb()
536 unsigned long flags; in sclp_sync_wait() local
550 local_irq_save(flags); in sclp_sync_wait()
577 local_irq_restore(flags); in sclp_sync_wait()
587 unsigned long flags; in sclp_dispatch_state_change() local
592 spin_lock_irqsave(&sclp_lock, flags); in sclp_dispatch_state_change()
606 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_dispatch_state_change()
634 unsigned long flags; in sclp_state_change_cb() local
640 spin_lock_irqsave(&sclp_lock, flags); in sclp_state_change_cb()
645 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_state_change_cb()
677 unsigned long flags; in sclp_register() local
685 spin_lock_irqsave(&sclp_lock, flags); in sclp_register()
689 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_register()
697 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_register()
700 spin_lock_irqsave(&sclp_lock, flags); in sclp_register()
702 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_register()
713 unsigned long flags; in sclp_unregister() local
715 spin_lock_irqsave(&sclp_lock, flags); in sclp_unregister()
717 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_unregister()
737 if (evbuf->flags & 0x80) { in sclp_remove_processed()
783 unsigned long flags; in sclp_init_mask() local
791 spin_lock_irqsave(&sclp_lock, flags); in sclp_init_mask()
794 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_init_mask()
798 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_init_mask()
813 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_init_mask()
819 spin_lock_irqsave(&sclp_lock, flags); in sclp_init_mask()
825 spin_lock_irqsave(&sclp_lock, flags); in sclp_init_mask()
836 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_init_mask()
838 spin_lock_irqsave(&sclp_lock, flags); in sclp_init_mask()
844 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_init_mask()
854 unsigned long flags; in sclp_deactivate() local
857 spin_lock_irqsave(&sclp_lock, flags); in sclp_deactivate()
860 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_deactivate()
864 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_deactivate()
866 spin_lock_irqsave(&sclp_lock, flags); in sclp_deactivate()
871 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_deactivate()
883 unsigned long flags; in sclp_reactivate() local
886 spin_lock_irqsave(&sclp_lock, flags); in sclp_reactivate()
889 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_reactivate()
893 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_reactivate()
895 spin_lock_irqsave(&sclp_lock, flags); in sclp_reactivate()
900 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_reactivate()
933 unsigned long flags; in sclp_check_timeout() local
935 spin_lock_irqsave(&sclp_lock, flags); in sclp_check_timeout()
940 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_check_timeout()
950 unsigned long flags; in sclp_check_interface() local
954 spin_lock_irqsave(&sclp_lock, flags); in sclp_check_interface()
958 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_check_interface()
971 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_check_interface()
980 spin_lock_irqsave(&sclp_lock, flags); in sclp_check_interface()
996 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_check_interface()
1020 unsigned long flags; in sclp_pm_event() local
1023 spin_lock_irqsave(&sclp_lock, flags); in sclp_pm_event()
1026 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_pm_event()
1029 spin_lock_irqsave(&sclp_lock, flags); in sclp_pm_event()
1036 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_pm_event()
1039 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_pm_event()
1052 unsigned long flags; in sclp_freeze() local
1057 spin_lock_irqsave(&sclp_lock, flags); in sclp_freeze()
1059 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_freeze()
1079 spin_lock_irqsave(&sclp_lock, flags); in sclp_freeze()
1081 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_freeze()
1088 unsigned long flags; in sclp_undo_suspend() local
1095 spin_lock_irqsave(&sclp_lock, flags); in sclp_undo_suspend()
1097 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_undo_suspend()
1169 unsigned long flags; in sclp_init() local
1172 spin_lock_irqsave(&sclp_lock, flags); in sclp_init()
1187 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_init()
1189 spin_lock_irqsave(&sclp_lock, flags); in sclp_init()
1201 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_init()
1215 spin_unlock_irqrestore(&sclp_lock, flags); in sclp_init()