Lines Matching refs:irqflags
143 unsigned long irqflags; in ntb_set_ctx() local
150 spin_lock_irqsave(&ntb->ctx_lock, irqflags); in ntb_set_ctx()
155 spin_unlock_irqrestore(&ntb->ctx_lock, irqflags); in ntb_set_ctx()
163 unsigned long irqflags; in ntb_clear_ctx() local
165 spin_lock_irqsave(&ntb->ctx_lock, irqflags); in ntb_clear_ctx()
170 spin_unlock_irqrestore(&ntb->ctx_lock, irqflags); in ntb_clear_ctx()
176 unsigned long irqflags; in ntb_link_event() local
178 spin_lock_irqsave(&ntb->ctx_lock, irqflags); in ntb_link_event()
183 spin_unlock_irqrestore(&ntb->ctx_lock, irqflags); in ntb_link_event()
189 unsigned long irqflags; in ntb_db_event() local
191 spin_lock_irqsave(&ntb->ctx_lock, irqflags); in ntb_db_event()
196 spin_unlock_irqrestore(&ntb->ctx_lock, irqflags); in ntb_db_event()
202 unsigned long irqflags; in ntb_msg_event() local
204 spin_lock_irqsave(&ntb->ctx_lock, irqflags); in ntb_msg_event()
209 spin_unlock_irqrestore(&ntb->ctx_lock, irqflags); in ntb_msg_event()