Lines Matching refs:node_a
126 static void hsr_lock_seq_out_pair(struct hsr_node *node_a, in hsr_lock_seq_out_pair() argument
129 if (node_a == node_b) { in hsr_lock_seq_out_pair()
130 spin_lock_bh(&node_a->seq_out_lock); in hsr_lock_seq_out_pair()
134 if (node_a < node_b) { in hsr_lock_seq_out_pair()
135 spin_lock_bh(&node_a->seq_out_lock); in hsr_lock_seq_out_pair()
139 spin_lock_nested(&node_a->seq_out_lock, SINGLE_DEPTH_NESTING); in hsr_lock_seq_out_pair()
143 static void hsr_unlock_seq_out_pair(struct hsr_node *node_a, in hsr_unlock_seq_out_pair() argument
146 if (node_a == node_b) { in hsr_unlock_seq_out_pair()
147 spin_unlock_bh(&node_a->seq_out_lock); in hsr_unlock_seq_out_pair()
151 if (node_a < node_b) { in hsr_unlock_seq_out_pair()
153 spin_unlock_bh(&node_a->seq_out_lock); in hsr_unlock_seq_out_pair()
155 spin_unlock(&node_a->seq_out_lock); in hsr_unlock_seq_out_pair()