/systemd-251/src/login/ |
D | logind-session-device.c | 116 static int session_device_open(SessionDevice *sd, bool active) { in session_device_open() argument 131 if (active) { in session_device_open() 146 if (!active) in session_device_open() 165 if (sd->active) in session_device_start() 199 sd->active = true; in session_device_start() 206 if (!sd->active) in session_device_stop() 238 sd->active = false; in session_device_stop() 352 sd->active = session_is_active(s); in session_device_new() 353 r = session_device_open(sd, sd->active); in session_device_new() 356 if (sd->active && r == -EINVAL) { in session_device_new() [all …]
|
D | logind-seat.c | 71 assert(!s->active); in seat_free() 114 if (s->active) { in seat_save() 115 assert(s->active->user); in seat_save() 120 s->active->id, in seat_save() 121 s->active->user->user_record->uid); in seat_save() 217 !!s->active, s->active ? s->active->user->user_record->uid : 0); in seat_apply_acls() 231 if (session == s->active) in seat_set_active() 234 old_active = s->active; in seat_set_active() 235 s->active = session; in seat_set_active() 305 if (s->active && s->active->position > 0) in seat_switch_to_next() [all …]
|
D | logind-session-device.h | 24 bool active:1; member 39 void session_device_attach_fd(SessionDevice *sd, int fd, bool active);
|
D | logind-session.c | 116 if (s->seat->active == s) in session_free() 117 s->seat->active = NULL; in session_free() 414 *active = NULL, in session_load() local 446 "ACTIVE", &active, in session_load() 576 if (active) { in session_load() 577 k = parse_boolean(active); in session_load() 614 if (s->seat->active == s) in session_activate() 739 if (s->seat && s->seat->active == s) in session_start() 866 if (s->seat->active == s) in session_finalize() 911 return s->seat->active == s; in session_is_active()
|
D | logind.c | 688 Session *active; in manager_vt_switch() local 707 active = m->seat0->active; in manager_vt_switch() 708 if (!active || active->vtnr < 1) { in manager_vt_switch() 735 if (active->vtfd >= 0) in manager_vt_switch() 736 session_leave_vt(active); in manager_vt_switch() 739 if (iter->vtnr == active->vtnr && iter->vtfd >= 0) { in manager_vt_switch()
|
D | logind-seat-dbus.c | 42 p = s->active ? session_bus_path(s->active) : strdup("/"); in property_get_active_session() 46 return sd_bus_message_append(reply, "(so)", s->active ? s->active->id : "", p); in property_get_active_session()
|
/systemd-251/test/units/ |
D | testsuite-29.sh | 32 systemctl is-active minimal-app0.service 33 systemctl is-active minimal-app0-foo.service 34 systemctl is-active minimal-app0-bar.service && exit 1 38 systemctl is-active minimal-app0.service 39 systemctl is-active minimal-app0-bar.service 40 systemctl is-active minimal-app0-foo.service && exit 1 57 systemctl is-active minimal-app0.service 58 systemctl is-active minimal-app0-foo.service 59 systemctl is-active minimal-app0-bar.service && exit 1 63 systemctl is-active minimal-app0.service [all …]
|
D | testsuite-12.sh | 28 systemctl is-active test12.socket 34 systemctl is-active test12.socket 40 systemctl is-active test12.socket 45 systemctl is-active test12.socket
|
D | testsuite-48.sh | 34 systemctl is-active testservice-48.service 55 systemctl is-active testservice-48.service 82 systemctl is-active testservice-48.service
|
D | testsuite-03.sh | 33 systemctl is-active systemd-importd && { echo 'unexpected success'; exit 1; } 35 systemctl is-active systemd-importd 37 systemctl is-active systemd-importd && { echo 'unexpected success'; exit 1; }
|
D | testsuite-49.sh | 24 systemctl is-active testsuite-49-namespaced.service 39 systemctl is-active testsuite-49-non-namespaced.service && exit 1
|
D | testsuite-11.sh | 8 while [[ "$active_state" == "activating" || "$active_state" =~ ^(in)?active$ ]]; do
|
D | testsuite-49-namespaced.service | 4 # Adding a new mounts at runtime works if the unit is in the active state,
|
/systemd-251/shell-completion/bash/ |
D | systemd-run | 37 --on-active --on-boot --on-startup --on-unit-active --on-unit-inactive --on-calendar 46 … -E --setenv --on-active --on-boot --on-startup --on-unit-active --on-unit-inactive --on-calendar 62 …--unit|--description|--on-active|--on-boot|--on-startup|--on-unit-active|--on-unit-inactive|--on-c…
|
/systemd-251/src/basic/ |
D | terminal-util.c | 641 _cleanup_free_ char *active = NULL; in resolve_dev_console() local 653 r = read_one_line_file("/sys/class/tty/console/active", &active); in resolve_dev_console() 658 tty = strrchr(active, ' '); in resolve_dev_console() 662 tty = active; in resolve_dev_console() 665 active = mfree(active); in resolve_dev_console() 668 r = read_one_line_file("/sys/class/tty/tty0/active", &active); in resolve_dev_console() 672 tty = active; in resolve_dev_console() 675 if (tty == active) in resolve_dev_console() 676 *ret = TAKE_PTR(active); in resolve_dev_console()
|
/systemd-251/src/getty-generator/ |
D | getty-generator.c | 193 _cleanup_free_ char *active = NULL; in run() local 194 (void) read_one_line_file("/sys/class/tty/console/active", &active); in run() 195 for (const char *p = active;;) { in run()
|
/systemd-251/src/journal-remote/ |
D | journal-remote.c | 194 s->active++; in get_source_for_fd() 212 s->active--; in remove_source() 298 s->active++; in journal_remote_add_raw_socket() 408 log_debug("%zu active sources remaining", s->active); in journal_remote_handle_raw_source()
|
D | journal-remote.h | 26 size_t active; member
|
/systemd-251/src/systemctl/ |
D | meson.build | 24 'systemctl-is-active.c', 25 'systemctl-is-active.h',
|
/systemd-251/shell-completion/zsh/ |
D | _systemctl.in | 17 "condrestart:Restart one or more units if active" 18 "try-restart:Restart one or more units if active" 20 "force-reload:Reload one or more units if possible, otherwise restart if active" 21 "try-reload-or-restart:Reload one or more units if possible, otherwise restart if active" 24 "is-active:Check whether units are active" 244 for fun in is-active is-failed is-enabled status show preset help list-dependencies edit revert add…
|
D | _systemd-run | 35 '--on-active=[Run after SEC seconds]:SEC' \ 41 '--on-unit-active=[Run SEC seconds after the last activation]:SEC' \
|
/systemd-251/src/shared/ |
D | sleep-config.c | 471 _cleanup_free_ char *active = NULL; in enough_swap_for_hibernation() local 495 r = get_proc_field("/proc/meminfo", "Active(anon)", WHITESPACE, &active); in enough_swap_for_hibernation() 501 r = safe_atollu(active, &act); in enough_swap_for_hibernation() 503 … log_debug_errno(r, "Failed to parse Active(anon) from /proc/meminfo: %s: %m", active); in enough_swap_for_hibernation()
|
/systemd-251/test/fuzz/fuzz-netdev-parser/ |
D | 25-bond-active-backup-slave.netdev | 6 Mode=active-backup
|
/systemd-251/test/test-network/conf/ |
D | 25-bond-active-backup-slave.netdev | 7 Mode=active-backup
|
/systemd-251/src/core/ |
D | dbus-manager.h | 12 void bus_manager_send_reloading(Manager *m, bool active);
|