Lines Matching refs:irq_flags

27 xpc_process_connect(struct xpc_channel *ch, unsigned long *irq_flags)  in xpc_process_connect()  argument
41 spin_unlock_irqrestore(&ch->lock, *irq_flags); in xpc_process_connect()
43 spin_lock_irqsave(&ch->lock, *irq_flags); in xpc_process_connect()
46 XPC_DISCONNECT_CHANNEL(ch, ret, irq_flags); in xpc_process_connect()
56 xpc_arch_ops.send_chctl_openreply(ch, irq_flags); in xpc_process_connect()
64 xpc_arch_ops.send_chctl_opencomplete(ch, irq_flags); in xpc_process_connect()
80 xpc_process_disconnect(struct xpc_channel *ch, unsigned long *irq_flags) in xpc_process_disconnect() argument
115 xpc_arch_ops.send_chctl_closereply(ch, irq_flags); in xpc_process_disconnect()
131 spin_unlock_irqrestore(&ch->lock, *irq_flags); in xpc_process_disconnect()
133 spin_lock_irqsave(&ch->lock, *irq_flags); in xpc_process_disconnect()
186 unsigned long irq_flags; in xpc_process_openclose_chctl_flags() local
194 spin_lock_irqsave(&ch->lock, irq_flags); in xpc_process_openclose_chctl_flags()
231 xpc_process_disconnect(ch, &irq_flags); in xpc_process_openclose_chctl_flags()
274 XPC_DISCONNECT_CHANNEL(ch, reason, &irq_flags); in xpc_process_openclose_chctl_flags()
280 xpc_process_disconnect(ch, &irq_flags); in xpc_process_openclose_chctl_flags()
312 xpc_process_disconnect(ch, &irq_flags); in xpc_process_openclose_chctl_flags()
353 &irq_flags); in xpc_process_openclose_chctl_flags()
365 xpc_process_connect(ch, &irq_flags); in xpc_process_openclose_chctl_flags()
381 &irq_flags); in xpc_process_openclose_chctl_flags()
402 XPC_DISCONNECT_CHANNEL(ch, ret, &irq_flags); in xpc_process_openclose_chctl_flags()
426 xpc_process_connect(ch, &irq_flags); in xpc_process_openclose_chctl_flags()
440 &irq_flags); in xpc_process_openclose_chctl_flags()
450 xpc_process_connect(ch, &irq_flags); in xpc_process_openclose_chctl_flags()
455 spin_unlock_irqrestore(&ch->lock, irq_flags); in xpc_process_openclose_chctl_flags()
467 unsigned long irq_flags; in xpc_connect_channel() local
478 spin_lock_irqsave(&ch->lock, irq_flags); in xpc_connect_channel()
484 spin_unlock_irqrestore(&ch->lock, irq_flags); in xpc_connect_channel()
518 &irq_flags); in xpc_connect_channel()
519 spin_unlock_irqrestore(&ch->lock, irq_flags); in xpc_connect_channel()
536 xpc_arch_ops.send_chctl_openrequest(ch, &irq_flags); in xpc_connect_channel()
538 xpc_process_connect(ch, &irq_flags); in xpc_connect_channel()
540 spin_unlock_irqrestore(&ch->lock, irq_flags); in xpc_connect_channel()
548 unsigned long irq_flags; in xpc_process_sent_chctl_flags() local
579 spin_lock_irqsave(&ch->lock, irq_flags); in xpc_process_sent_chctl_flags()
580 xpc_process_disconnect(ch, &irq_flags); in xpc_process_sent_chctl_flags()
581 spin_unlock_irqrestore(&ch->lock, irq_flags); in xpc_process_sent_chctl_flags()
619 unsigned long irq_flags; in xpc_partition_going_down() local
637 spin_lock_irqsave(&ch->lock, irq_flags); in xpc_partition_going_down()
639 XPC_DISCONNECT_CHANNEL(ch, reason, &irq_flags); in xpc_partition_going_down()
641 spin_unlock_irqrestore(&ch->lock, irq_flags); in xpc_partition_going_down()
709 unsigned long irq_flags; in xpc_initiate_disconnect() local
724 spin_lock_irqsave(&ch->lock, irq_flags); in xpc_initiate_disconnect()
730 &irq_flags); in xpc_initiate_disconnect()
733 spin_unlock_irqrestore(&ch->lock, irq_flags); in xpc_initiate_disconnect()
754 enum xp_retval reason, unsigned long *irq_flags) in xpc_disconnect_channel() argument
776 xpc_arch_ops.send_chctl_closerequest(ch, irq_flags); in xpc_disconnect_channel()
781 spin_unlock_irqrestore(&ch->lock, *irq_flags); in xpc_disconnect_channel()
797 spin_lock_irqsave(&ch->lock, *irq_flags); in xpc_disconnect_channel()