Searched refs:role1 (Results 1 – 1 of 1) sorted by relevance
317 static enum drbd_role max_role(enum drbd_role role1, enum drbd_role role2) in max_role() argument319 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() argument328 if (role1 == R_UNKNOWN || role2 == R_UNKNOWN) in min_role()330 if (role1 == R_SECONDARY || role2 == R_SECONDARY) in min_role()