/systemd/src/core/ |
H A D | target.h | 27 TargetState state, deserialized_state; member in struct:Target
|
H A D | slice.h | 27 SliceState state, deserialized_state; member in struct:Slice
|
H A D | device.h | 42 DeviceState state, deserialized_state; member in struct:Device
|
H A D | scope.h | 40 ScopeState state, deserialized_state; member in struct:Scope
|
H A D | automount.h | 36 AutomountState state, deserialized_state; member in struct:Automount 56 int automount_update_mount(Automount *a, MountState old_state, MountState state);
|
H A D | busname.h | 50 BusNameState state, deserialized_state; member in struct:BusName
|
H A D | path.h | 74 PathState state, deserialized_state; member in struct:Path
|
H A D | slice.c | 37 static void slice_set_state(Slice *t, SliceState state) { argument 41 old_state = t->state; 42 t->state = state; 44 if (state != old_state) 48 slice_state_to_string(state)); 50 unit_notify(UNIT(t), state_translation_table[old_state], state_translation_table[state], true); 159 assert(t->state == SLICE_DEAD); 161 if (t->deserialized_state != t->state) 175 prefix, slice_state_to_string(t->state)); 230 SliceState state; local [all...] |
H A D | target.c | 33 static void target_set_state(Target *t, TargetState state) { argument 37 old_state = t->state; 38 t->state = state; 40 if (state != old_state) 44 target_state_to_string(state)); 46 unit_notify(UNIT(t), state_translation_table[old_state], state_translation_table[state], true); 106 assert(t->state == TARGET_DEAD); 108 if (t->deserialized_state != t->state) 122 prefix, target_state_to_string(t->state)); 165 TargetState state; local [all...] |
/systemd/src/libsystemd/sd-network/ |
H A D | network-util.c | 26 _cleanup_free_ char *state = NULL; local 29 r = sd_network_get_operational_state(&state); 33 if (STR_IN_SET(state, "routable", "degraded"))
|
/systemd/src/network/ |
H A D | networkd-wait-online-link.h | 35 char *state; member in struct:Link
|
/systemd/src/nspawn/ |
H A D | nspawn-stub-pid1.c | 37 } state = STATE_RUNNING; local 103 if (state == STATE_REBOOT) { /* dispatch a queued reboot */ 108 } else if (state == STATE_POWEROFF) 141 if (state != STATE_RUNNING) 152 state = STATE_POWEROFF; 160 state = STATE_REBOOT;
|
/systemd/src/resolve/ |
H A D | resolved-dns-zone.h | 51 DnsZoneItemState state; member in struct:DnsZoneItem
|
/systemd/src/test/ |
H A D | test-siphash24.c | 26 struct siphash state = {}; local 33 /* verify the internal state as given in the above paper */ 34 siphash24_init(&state, key); 35 assert_se(state.v0 == 0x7469686173716475); 36 assert_se(state.v1 == 0x6b617f6d656e6665); 37 assert_se(state.v2 == 0x6b7f62616d677361); 38 assert_se(state.v3 == 0x7b6b696e727e6c7b); 39 siphash24_compress(in, len, &state); 40 assert_se(state.v0 == 0x4a017198de0a59e0); 41 assert_se(state [all...] |
H A D | test-xml.c | 28 void *state = NULL; local 38 t = xml_tokenize(&data, &name, &state, NULL);
|
H A D | test-install.c | 47 UnitFileState state = 0; local 58 assert_se((r < 0 && p->state == UNIT_FILE_BAD) || 59 (p->state == s)); 63 unit_file_state_to_string(p->state)); 81 r = unit_file_get_state(UNIT_FILE_SYSTEM, NULL, files[0], &state); 83 assert_se(state == UNIT_FILE_ENABLED); 96 r = unit_file_get_state(UNIT_FILE_SYSTEM, NULL, files[0], &state); 98 assert_se(state == UNIT_FILE_DISABLED); 113 r = unit_file_get_state(UNIT_FILE_SYSTEM, NULL, files[0], &state); 115 assert_se(state [all...] |
H A D | test-json.c | 28 void *state = NULL; local 38 t = json_tokenize(&data, &str, &v, &state, NULL);
|
H A D | test-prioq.c | 91 static void test_hash(const void *a, struct siphash *state) { argument 94 siphash24_compress(&x->value, sizeof(x->value), state);
|
/systemd/src/basic/ |
H A D | siphash24.c | 30 static inline void sipround(struct siphash *state) { argument 31 assert(state); 33 state->v0 += state->v1; 34 state->v1 = rotate_left(state->v1, 13); 35 state->v1 ^= state->v0; 36 state->v0 = rotate_left(state 49 siphash24_init(struct siphash *state, const uint8_t k[16]) argument 69 siphash24_compress(const void *_in, size_t inlen, struct siphash *state) argument 145 siphash24_finalize(struct siphash *state) argument 182 struct siphash state; local [all...] |
H A D | xml.c | 59 int xml_tokenize(const char **p, char **name, void **state, unsigned *line) { argument 67 assert(state); 69 t = PTR_TO_INT(*state); 98 *state = INT_TO_PTR(STATE_TEXT); 161 *state = INT_TO_PTR(STATE_TAG); 184 *state = INT_TO_PTR(STATE_ATTRIBUTE); 194 *state = INT_TO_PTR(STATE_TEXT); 226 *state = INT_TO_PTR(STATE_TAG); 244 *state = INT_TO_PTR(STATE_TAG); 254 assert_not_reached("Bad state"); [all...] |
H A D | hash-funcs.c | 23 void string_hash_func(const void *p, struct siphash *state) { argument 24 siphash24_compress(p, strlen(p) + 1, state); 36 void trivial_hash_func(const void *p, struct siphash *state) { argument 37 siphash24_compress(&p, sizeof(p), state); 49 void uint64_hash_func(const void *p, struct siphash *state) { argument 50 siphash24_compress(p, sizeof(uint64_t), state); 66 void devt_hash_func(const void *p, struct siphash *state) { argument 67 siphash24_compress(p, sizeof(dev_t), state);
|
/systemd/src/getty-generator/ |
H A D | getty-generator.c | 160 const char *word, *state; local 163 FOREACH_WORD(word, l, container_ttys, state) { 190 const char *word, *state; local 195 FOREACH_WORD(word, l, active, state) {
|
/systemd/src/journal-remote/ |
H A D | journal-remote-parse.h | 50 source_state state; member in struct:RemoteSource
|
/systemd/src/sleep/ |
H A D | sleep.c | 62 char **state; local 65 STRV_FOREACH(state, states) { 68 k = write_string_stream(*f, *state, true); 71 log_debug_errno(k, "Failed to write '%s' to /sys/power/state: %m", 72 *state); 77 *f = fopen("/sys/power/state", "we"); 79 return log_error_errno(errno, "Failed to open /sys/power/state: %m"); 99 * we can abort before modifying any state. */ 100 f = fopen("/sys/power/state", "we"); 102 return log_error_errno(errno, "Failed to open /sys/power/state [all...] |
/systemd/src/update-utmp/ |
H A D | update-utmp.c | 93 _cleanup_free_ char *state = NULL, *path = NULL; local 106 &state); 108 return log_warning_errno(r, "Failed to get state: %s", bus_error_message(&error, r)); 110 if (streq(state, "active") || streq(state, "reloading"))
|