Searched refs:two_primaries (Results 1 – 4 of 4) sorted by relevance
307 u32 two_primaries; member
1021 s->two_primaries = nla_get_u8(nla); in __net_conf_from_attrs()2049 if (nla_put_u8(skb, DRBD_A_NET_CONF_TWO_PRIMARIES, s->two_primaries)) in net_conf_to_skb()2594 x->two_primaries = DRBD_ALLOW_TWO_PRIMARIES_DEF; in set_net_conf_defaults()
2192 tp = rcu_dereference(peer_device->connection->net_conf)->two_primaries; in wait_for_and_update_peer_seq() 2198 /* Only need to wait if two_primaries is enabled */ in wait_for_and_update_peer_seq() 2454 tp = nc->two_primaries; in receive_Data() 3464 p_two_primaries = be32_to_cpu(p->two_primaries); in receive_protocol() 3513 if (p_two_primaries != nc->two_primaries) { in receive_protocol() 3568 new_net_conf->two_primaries = p_two_primaries; in receive_protocol()
840 if (!nc->two_primaries && ns.role == R_PRIMARY) { in is_valid_state()