/systemd-251/src/shared/ |
D | utmp-wtmp.c | 27 int utmp_get_runlevel(int *runlevel, int *previous) { in utmp_get_runlevel() argument 43 if (previous) in utmp_get_runlevel() 44 *previous = 0; in utmp_get_runlevel() 59 if (previous) in utmp_get_runlevel() 60 *previous = (found->ut_pid >> 8) & 0xFF; in utmp_get_runlevel() 253 int utmp_put_runlevel(int runlevel, int previous) { in utmp_put_runlevel() argument 259 if (previous <= 0) { in utmp_put_runlevel() 262 r = utmp_get_runlevel(&previous, NULL); in utmp_put_runlevel() 267 previous = 0; in utmp_put_runlevel() 271 if (previous == runlevel) in utmp_put_runlevel() [all …]
|
D | utmp-wtmp.h | 13 int utmp_get_runlevel(int *runlevel, int *previous); 17 int utmp_put_runlevel(int runlevel, int previous); 40 static inline int utmp_get_runlevel(int *runlevel, int *previous) { in utmp_get_runlevel() argument 49 static inline int utmp_put_runlevel(int runlevel, int previous) { in utmp_put_runlevel() argument
|
/systemd-251/src/update-utmp/ |
D | update-utmp.c | 172 int r = 0, q, previous, runlevel; in on_runlevel() local 180 q = utmp_get_runlevel(&previous, NULL); in on_runlevel() 186 previous = 0; in on_runlevel() 198 if (previous == runlevel) in on_runlevel() 206 previous > 0 ? previous : 'N', in on_runlevel() 215 q = utmp_put_runlevel(runlevel, previous); in on_runlevel()
|
/systemd-251/src/systemctl/ |
D | systemctl-compat-runlevel.c | 69 int r, runlevel, previous; in runlevel_main() local 71 r = utmp_get_runlevel(&runlevel, &previous); in runlevel_main() 78 previous <= 0 ? 'N' : previous, in runlevel_main()
|
/systemd-251/src/basic/ |
D | chattr-util.h | 44 static inline int chattr_fd(int fd, unsigned value, unsigned mask, unsigned *previous) { in chattr_fd() argument 45 return chattr_full(NULL, fd, value, mask, previous, NULL, 0); in chattr_fd() 47 static inline int chattr_path(const char *path, unsigned value, unsigned mask, unsigned *previous) { in chattr_path() argument 48 return chattr_full(path, -1, value, mask, previous, NULL, 0); in chattr_path()
|
/systemd-251/src/test/ |
D | test-prioq.c | 65 unsigned previous = 0, i; in TEST() local 113 assert_se(previous <= t->value); in TEST() 115 previous = t->value; in TEST()
|
/systemd-251/src/core/ |
D | device.c | 669 static void device_found_changed(Device *d, DeviceFound previous, DeviceFound now) { in device_found_changed() argument 673 if (previous == DEVICE_NOT_FOUND && now != DEVICE_NOT_FOUND) in device_found_changed() 679 else if (now != DEVICE_NOT_FOUND && !FLAGS_SET(previous, DEVICE_FOUND_UDEV)) in device_found_changed() 693 DeviceFound n, previous; in device_update_found_one() local 702 previous = d->found; in device_update_found_one() 705 device_found_changed(d, previous, n); in device_update_found_one()
|
D | namespace.c | 702 MountEntry *f, *t, *previous; in drop_duplicates() local 709 for (f = m, t = m, previous = NULL; f < m + *n; f++) { in drop_duplicates() 713 if (previous && in drop_duplicates() 714 path_equal(mount_entry_path(f), mount_entry_path(previous)) && in drop_duplicates() 715 !f->applied && !previous->applied) { in drop_duplicates() 718 previous->read_only = previous->read_only || mount_entry_read_only(f); in drop_duplicates() 719 previous->noexec = previous->noexec || mount_entry_noexec(f); in drop_duplicates() 720 previous->exec = previous->exec || mount_entry_exec(f); in drop_duplicates() 726 previous = t; in drop_duplicates()
|
D | job.c | 1427 Job *previous = NULL; in sort_job_list() local 1436 if (previous == list[a]) in sort_job_list() 1439 previous = list[b++] = list[a]; in sort_job_list()
|
/systemd-251/src/libsystemd/sd-bus/ |
D | bus-message.c | 3661 size_t where, previous = 0, framing, sz; in bus_message_enter_array() local 3696 start = ALIGN_TO(previous, alignment); in bus_message_enter_array() 3705 previous = x; in bus_message_enter_array() 3807 size_t previous, where; in build_struct_offsets() local 3886 previous = m->rindex; in build_struct_offsets() 3904 size_t start = ALIGN_TO(previous, align); in build_struct_offsets() 3928 previous, in build_struct_offsets() 3935 previous = (*offsets)[(*n_offsets)++] = offset; in build_struct_offsets()
|
/systemd-251/src/resolve/ |
D | resolved-dns-packet.c | 2238 _cleanup_(dns_resource_record_unrefp) DnsResourceRecord *previous = NULL; in dns_packet_extract_answer() 2272 if (previous) in dns_packet_extract_answer() 2273 dns_resource_key_reduce(&rr->key, &previous->key); in dns_packet_extract_answer() 2362 DNS_RR_REPLACE(previous, dns_resource_record_ref(rr)); in dns_packet_extract_answer()
|
/systemd-251/docs/ |
D | TEMPORARY_DIRECTORIES.md | 87 `systemd-tmpfiles` btw, it's inherited from previous subsystems such as 170 much like with the previous option it's hence essential that the program
|
D | JOURNAL_FILE_FORMAT.md | 226 the previous deepest chain found. Note that the counter is updated during hash 647 from previous entries. 688 between the previous and current entry when reading and hence should expose an
|
D | AUTOMATIC_BOOT_ASSESSMENT.md | 10 systemd provides support for automatically reverting back to the previous
|
D | PORTABLE_SERVICES.md | 272 layers as desired. On top of the requirements listed in the previous section, the
|
D | BOOT_LOADER_SPECIFICATION.md | 431 previous boot loader logic was largely handled by in distribution-specific
|
D | CGROUP_DELEGATION.md | 381 cgroups in them — from previous runs, and be extra careful with them as they
|
/systemd-251/src/tmpfiles/ |
D | tmpfiles.c | 1305 unsigned previous, current; in fd_set_attribute() local 1306 …r = chattr_full(NULL, procfs_fd, f, item->attribute_mask, &previous, ¤t, CHATTR_FALLBACK_BIT… in fd_set_attribute() 1310 … path, previous, current, (previous & ~item->attribute_mask) | (f & item->attribute_mask)); in fd_set_attribute()
|
/systemd-251/ |
D | NEWS | 1583 The new version of the net naming scheme is "v249". The previous 2269 mappings used with /dev/sgx device nodes. The previous behaviour can 2342 system bus (previous default) or the user session bus. 3114 scheme "v247". The previous scheme can be selected via the 5741 builtin will name network interfaces differently than in previous 6267 PrivateNetwork=yes was buggy in previous versions of systemd. This 6422 * In previous versions systemd synthesized user records both for the 6755 from the previous hardcoded 2048. 8160 setting in logind.conf, and the previous default of "no" is now 8194 WARNING: it is not possible to use previous systemd versions with [all …]
|
D | TODO | 864 * sd-boot: optionally, show boot menu when previous default boot item has
|
/systemd-251/hwdb.d/ |
D | 60-keyboard.hwdb | 319 KEYBOARD_KEY_90=previoussong # Front panel previous song
|