Searched defs:state_translation_table (Results 1 - 12 of 12) sorted by relevance

/systemd/src/core/
H A Dslice.c32 static const UnitActiveState state_translation_table[_SLICE_STATE_MAX] = { variable
50 unit_notify(UNIT(t), state_translation_table[old_state], state_translation_table[state], true); local
247 return state_translation_table[SLICE(u)->state];
H A Dtarget.c28 static const UnitActiveState state_translation_table[_TARGET_STATE_MAX] = { variable
46 unit_notify(UNIT(t), state_translation_table[old_state], state_translation_table[state], true); local
182 return state_translation_table[TARGET(u)->state];
H A Dscope.c35 static const UnitActiveState state_translation_table[_SCOPE_STATE_MAX] = { variable
113 unit_notify(UNIT(s), state_translation_table[old_state], state_translation_table[state], true); local
498 return state_translation_table[SCOPE(u)->state];
H A Ddevice.c38 static const UnitActiveState state_translation_table[_DEVICE_STATE_MAX] = { variable
138 unit_notify(UNIT(d), state_translation_table[old_state], state_translation_table[state], true); local
208 return state_translation_table[DEVICE(u)->state];
H A Dpath.c41 static const UnitActiveState state_translation_table[_PATH_STATE_MAX] = { variable
433 unit_notify(UNIT(p), state_translation_table[old_state], state_translation_table[state], true); local
641 return state_translation_table[PATH(u)->state];
H A Dtimer.c38 static const UnitActiveState state_translation_table[_TIMER_STATE_MAX] = { variable
269 unit_notify(UNIT(t), state_translation_table[old_state], state_translation_table[state], true); local
409 if (state_translation_table[t->state] == UNIT_ACTIVE)
711 return state_translation_table[TIMER(u)->state];
H A Dautomount.c53 static const UnitActiveState state_translation_table[_AUTOMOUNT_STATE_MAX] = { variable
245 unit_notify(UNIT(a), state_translation_table[old_state], state_translation_table[state], true); local
891 return state_translation_table[AUTOMOUNT(u)->state];
H A Dbusname.c40 static const UnitActiveState state_translation_table[_BUSNAME_STATE_MAX] = { variable
350 unit_notify(UNIT(n), state_translation_table[old_state], state_translation_table[state], true); local
735 return state_translation_table[BUSNAME(u)->state];
H A Dswap.c46 static const UnitActiveState state_translation_table[_SWAP_STATE_MAX] = { variable
508 unit_notify(UNIT(s), state_translation_table[old_state], state_translation_table[state], true); local
944 return state_translation_table[SWAP(u)->state];
H A Dmount.c54 static const UnitActiveState state_translation_table[_MOUNT_STATE_MAX] = { variable
614 unit_notify(UNIT(m), state_translation_table[old_state], state_translation_table[state], m->reload_result == MOUNT_SUCCESS); local
1113 return state_translation_table[MOUNT(u)->state];
H A Dsocket.c61 static const UnitActiveState state_translation_table[_SOCKET_STATE_MAX] = { variable
1463 unit_notify(UNIT(s), state_translation_table[old_state], state_translation_table[state], true); local
2379 return state_translation_table[SOCKET(u)->state];
H A Dservice.c57 static const UnitActiveState state_translation_table[_SERVICE_STATE_MAX] = { variable
878 table = s->type == SERVICE_IDLE ? state_translation_table_idle : state_translation_table;
2376 table = SERVICE(u)->type == SERVICE_IDLE ? state_translation_table_idle : state_translation_table;

Completed in 112 milliseconds