Home
last modified time | relevance | path

Searched refs:peer_seq (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/block/drbd/
Ddrbd_receiver.c895 device->peer_seq = 0; in drbd_connected()
2291 static void update_peer_seq(struct drbd_peer_device *peer_device, unsigned int peer_seq) in update_peer_seq() argument
2298 newest_peer_seq = seq_max(device->peer_seq, peer_seq); in update_peer_seq()
2299 device->peer_seq = newest_peer_seq; in update_peer_seq()
2302 if (peer_seq == newest_peer_seq) in update_peer_seq()
2352 static int wait_for_and_update_peer_seq(struct drbd_peer_device *peer_device, const u32 peer_seq) in wait_for_and_update_peer_seq() argument
2364 if (!seq_greater(peer_seq - 1, device->peer_seq)) { in wait_for_and_update_peer_seq()
2365 device->peer_seq = seq_max(device->peer_seq, peer_seq); in wait_for_and_update_peer_seq()
2562 u32 peer_seq = be32_to_cpu(p->seq_num); in receive_Data() local
2574 err = wait_for_and_update_peer_seq(peer_device, peer_seq); in receive_Data()
[all …]
Ddrbd_int.h878 unsigned int peer_seq; member