R_SECONDARY 1964 drivers/block/drbd/drbd_main.c { .role = R_SECONDARY, R_SECONDARY 719 drivers/block/drbd/drbd_nl.c if (new_role == R_SECONDARY) { R_SECONDARY 753 drivers/block/drbd/drbd_nl.c set_disk_ro(device->vdisk, new_role == R_SECONDARY); R_SECONDARY 796 drivers/block/drbd/drbd_nl.c retcode = drbd_set_role(adm_ctx.device, R_SECONDARY, 0); R_SECONDARY 2880 drivers/block/drbd/drbd_nl.c if (device->state.role == R_SECONDARY && R_SECONDARY 2881 drivers/block/drbd/drbd_nl.c device->state.peer == R_SECONDARY) { R_SECONDARY 3043 drivers/block/drbd/drbd_nl.c if (device->state.conn == C_STANDALONE && device->state.role == R_SECONDARY) { R_SECONDARY 4424 drivers/block/drbd/drbd_nl.c device->state.role == R_SECONDARY) { R_SECONDARY 4524 drivers/block/drbd/drbd_nl.c retcode = drbd_set_role(peer_device->device, R_SECONDARY, 0); R_SECONDARY 264 drivers/block/drbd/drbd_proc.c state.role == R_SECONDARY) { R_SECONDARY 3156 drivers/block/drbd/drbd_receiver.c if (hg == -1 && device->state.role == R_SECONDARY) R_SECONDARY 3174 drivers/block/drbd/drbd_receiver.c rv2 = drbd_change_state(device, CS_VERBOSE, NS(role, R_SECONDARY)); R_SECONDARY 3224 drivers/block/drbd/drbd_receiver.c rv2 = drbd_change_state(device, CS_VERBOSE, NS(role, R_SECONDARY)); R_SECONDARY 305 drivers/block/drbd/drbd_state.c device->state.role != R_SECONDARY) { R_SECONDARY 321 drivers/block/drbd/drbd_state.c if (role1 == R_SECONDARY || role2 == R_SECONDARY) R_SECONDARY 322 drivers/block/drbd/drbd_state.c return R_SECONDARY; R_SECONDARY 330 drivers/block/drbd/drbd_state.c if (role1 == R_SECONDARY || role2 == R_SECONDARY) R_SECONDARY 331 drivers/block/drbd/drbd_state.c return R_SECONDARY; R_SECONDARY 337 drivers/block/drbd/drbd_state.c enum drbd_role role = R_SECONDARY; R_SECONDARY 850 drivers/block/drbd/drbd_state.c else if (ns.role == R_SECONDARY && device->open_cnt) R_SECONDARY 1078 drivers/block/drbd/drbd_state.c if (ns.conn == C_STANDALONE && ns.disk == D_DISKLESS && ns.role == R_SECONDARY) R_SECONDARY 1440 drivers/block/drbd/drbd_state.c os.peer == R_SECONDARY && ns.peer == R_PRIMARY) R_SECONDARY 1836 drivers/block/drbd/drbd_state.c if (os.peer == R_PRIMARY && ns.peer == R_SECONDARY) R_SECONDARY 1848 drivers/block/drbd/drbd_state.c if (os.role == R_PRIMARY && ns.role == R_SECONDARY && R_SECONDARY 2019 drivers/block/drbd/drbd_state.c ns.role == R_SECONDARY) { R_SECONDARY 2110 drivers/block/drbd/drbd_state.c { .role = R_SECONDARY, R_SECONDARY 2249 drivers/block/drbd/drbd_state.c .role = R_SECONDARY, R_SECONDARY 46 drivers/block/drbd/drbd_strings.c [R_SECONDARY] = "Secondary", R_SECONDARY 93 drivers/block/drbd/drbd_strings.c return s > R_SECONDARY ? "TOO_LARGE" : drbd_role_s_names[s];