Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/block/drbd/
Ddrbd_state.c317 static enum drbd_role max_role(enum drbd_role role1, enum drbd_role role2) in max_role() argument
319 if (role1 == R_PRIMARY || role2 == R_PRIMARY) in max_role()
321 if (role1 == R_SECONDARY || role2 == R_SECONDARY) in max_role()
326 static enum drbd_role min_role(enum drbd_role role1, enum drbd_role role2) in min_role() argument
328 if (role1 == R_UNKNOWN || role2 == R_UNKNOWN) in min_role()
330 if (role1 == R_SECONDARY || role2 == R_SECONDARY) in min_role()