Searched defs:previous (Results 1 - 8 of 8) sorted by relevance

/systemd/src/shared/
H A Dutmp-wtmp.h29 int utmp_get_runlevel(int *runlevel, int *previous);
33 int utmp_put_runlevel(int runlevel, int previous);
47 static inline int utmp_get_runlevel(int *runlevel, int *previous) { argument
56 static inline int utmp_put_runlevel(int runlevel, int previous) { argument
H A Dutmp-wtmp.c44 int utmp_get_runlevel(int *runlevel, int *previous) { argument
62 if (previous) {
67 *previous = e[0];
69 *previous = 0;
90 if (previous)
91 *previous = b;
291 int utmp_put_runlevel(int runlevel, int previous) { argument
297 if (previous <= 0) {
300 r = utmp_get_runlevel(&previous, NULL);
305 previous
[all...]
/systemd/src/test/
H A Dtest-prioq.c105 unsigned previous = 0, i; local
153 assert_se(previous <= t->value);
154 previous = t->value;
/systemd/src/update-utmp/
H A Dupdate-utmp.c173 int r = 0, q, previous, runlevel; local
181 q = utmp_get_runlevel(&previous, NULL);
187 previous = 0;
196 if (previous == runlevel)
204 previous > 0 ? previous : 'N',
213 q = utmp_put_runlevel(runlevel, previous);
/systemd/src/core/
H A Ddevice.c453 DeviceFound n, previous; local
461 previous = d->found;
471 else if (d->found != DEVICE_NOT_FOUND && (previous & DEVICE_FOUND_UDEV) == 0)
H A Dnamespace.c113 BindMount *f, *t, *previous; local
118 for (f = m, t = m, previous = NULL; f < m+*n; f++) {
121 if (previous && path_equal(f->path, previous->path))
126 previous = t;
/systemd/src/libsystemd/sd-bus/
H A Dbus-message.c1376 (force_inline && m->body_end->size > MEMFD_MIN_SIZE); /* if this must be an inlined extension, let's create a new part if the previous part is large enough to be inlined */
3815 size_t previous = 0, where; local
3918 if (m->rindex + x < previous)
3940 previous = (*offsets)[(*n_offsets)++] = offset;
/systemd/src/systemctl/
H A Dsystemctl.c6345 "Prints the previous and current runlevel of the init system.\n\n"
7575 int r, runlevel, previous; local
7577 r = utmp_get_runlevel(&runlevel, &previous);
7584 previous <= 0 ? 'N' : previous,

Completed in 97 milliseconds