Lines Matching refs:role
639 mask.i = 0; mask.role = R_MASK;
640 val.i = 0; val.role = new_role;
1287 if (device->state.role == R_PRIMARY && new < now)
1915 (device->state.role == R_PRIMARY || device->state.peer == R_PRIMARY) &&
1984 !(device->state.role == R_PRIMARY && device->resource->susp_nod))
2009 if (device->state.role != R_PRIMARY &&
2103 if (device->state.role == R_PRIMARY)
2262 if (device->state.role == R_PRIMARY && new_net_conf->discard_my_data)
2755 if (device->state.role != device->state.peer)
2756 iass = (device->state.role == R_PRIMARY);
2809 if (device->state.role == R_SECONDARY &&
2971 if (device->state.conn == C_STANDALONE && device->state.role == R_SECONDARY) {
3049 if (device->state.conn == C_STANDALONE && device->state.role == R_PRIMARY) {
4346 device->state.role == R_SECONDARY) {