Lines Matching refs:ctx_lock
121 spin_lock_init(&ntb->ctx_lock); in ntb_register_device()
144 spin_lock_irqsave(&ntb->ctx_lock, irqflags); in ntb_set_ctx()
149 spin_unlock_irqrestore(&ntb->ctx_lock, irqflags); in ntb_set_ctx()
159 spin_lock_irqsave(&ntb->ctx_lock, irqflags); in ntb_clear_ctx()
164 spin_unlock_irqrestore(&ntb->ctx_lock, irqflags); in ntb_clear_ctx()
172 spin_lock_irqsave(&ntb->ctx_lock, irqflags); in ntb_link_event()
177 spin_unlock_irqrestore(&ntb->ctx_lock, irqflags); in ntb_link_event()
185 spin_lock_irqsave(&ntb->ctx_lock, irqflags); in ntb_db_event()
190 spin_unlock_irqrestore(&ntb->ctx_lock, irqflags); in ntb_db_event()
198 spin_lock_irqsave(&ntb->ctx_lock, irqflags); in ntb_msg_event()
203 spin_unlock_irqrestore(&ntb->ctx_lock, irqflags); in ntb_msg_event()