Searched refs:R_SECONDARY (Results 1 - 7 of 7) sorted by relevance
/linux-master/drivers/block/drbd/ |
H A D | drbd_strings.c | 46 [R_SECONDARY] = "Secondary", 93 return s > R_SECONDARY ? "TOO_LARGE" : drbd_role_s_names[s];
|
H A D | drbd_state.c | 305 device->state.role != R_SECONDARY) { 321 if (role1 == R_SECONDARY || role2 == R_SECONDARY) 322 return R_SECONDARY; 330 if (role1 == R_SECONDARY || role2 == R_SECONDARY) 331 return R_SECONDARY; 337 enum drbd_role role = R_SECONDARY; 850 else if (ns.role == R_SECONDARY && device->open_cnt) 1078 if (ns.conn == C_STANDALONE && ns.disk == D_DISKLESS && ns.role == R_SECONDARY) [all...] |
H A D | drbd_proc.c | 264 state.role == R_SECONDARY) {
|
H A D | drbd_nl.c | 543 * This is useful when an unconnected R_SECONDARY is asked to 718 if (new_role == R_SECONDARY) { 752 set_disk_ro(device->vdisk, new_role == R_SECONDARY); 796 rv = drbd_set_role(adm_ctx.device, R_SECONDARY, 0); 2809 if (device->state.role == R_SECONDARY && 2810 device->state.peer == R_SECONDARY) { 2967 /* If we happen to be C_STANDALONE R_SECONDARY, just change to 2971 if (device->state.conn == C_STANDALONE && device->state.role == R_SECONDARY) { 4346 device->state.role == R_SECONDARY) { 4446 retcode = drbd_set_role(peer_device->device, R_SECONDARY, [all...] |
H A D | drbd_receiver.c | 3118 if (hg == -1 && device->state.role == R_SECONDARY) 3136 rv2 = drbd_change_state(device, CS_VERBOSE, NS(role, R_SECONDARY)); 3186 rv2 = drbd_change_state(device, CS_VERBOSE, NS(role, R_SECONDARY));
|
H A D | drbd_main.c | 1942 { .role = R_SECONDARY,
|
/linux-master/include/linux/ |
H A D | drbd.h | 176 R_SECONDARY = 2, /* role */ enumerator in enum:drbd_role
|
Completed in 144 milliseconds