Searched refs:uuid_flags (Results 1 – 1 of 1) sorted by relevance
822 static int _drbd_send_uuids(struct drbd_peer_device *peer_device, u64 uuid_flags) in _drbd_send_uuids() argument846 uuid_flags |= rcu_dereference(peer_device->connection->net_conf)->discard_my_data ? 1 : 0; in _drbd_send_uuids()848 uuid_flags |= test_bit(CRASHED_PRIMARY, &device->flags) ? 2 : 0; in _drbd_send_uuids()849 uuid_flags |= device->new_state_tmp.disk == D_INCONSISTENT ? 4 : 0; in _drbd_send_uuids()850 p->uuid[UI_FLAGS] = cpu_to_be64(uuid_flags); in _drbd_send_uuids()