Home
last modified time | relevance | path

Searched refs:dry_run (Results 1 – 7 of 7) sorted by relevance

/systemd-251/src/oom/
Doomd-util.h113 int oomd_cgroup_kill(const char *path, bool recurse, bool dry_run);
119 int oomd_kill_by_pgscan_rate(Hashmap *h, const char *prefix, bool dry_run, char **ret_selected);
120 int oomd_kill_by_swap_usage(Hashmap *h, uint64_t threshold_usage, bool dry_run, char **ret_selected…
Doomd-manager.h38 bool dry_run; member
69 int manager_start(Manager *m, bool dry_run, int swap_used_limit_permyriad, int mem_pressure_limit_p…
Doomd-util.c174 int oomd_cgroup_kill(const char *path, bool recurse, bool dry_run) { in oomd_cgroup_kill() argument
180 if (dry_run) { in oomd_cgroup_kill()
247 int oomd_kill_by_pgscan_rate(Hashmap *h, const char *prefix, bool dry_run, char **ret_selected) { in oomd_kill_by_pgscan_rate() argument
266 r = oomd_cgroup_kill(sorted[i]->path, true, dry_run); in oomd_kill_by_pgscan_rate()
289 int oomd_kill_by_swap_usage(Hashmap *h, uint64_t threshold_usage, bool dry_run, char **ret_selected… in oomd_kill_by_swap_usage() argument
310 r = oomd_cgroup_kill(sorted[i]->path, true, dry_run); in oomd_kill_by_swap_usage()
Doomd-manager.c407 r = oomd_kill_by_swap_usage(candidates, threshold, m->dry_run, &selected); in monitor_swap_contexts_handler()
515 …_pgscan_rate(m->monitored_mem_pressure_cgroup_contexts_candidates, t->path, m->dry_run, &selected); in monitor_memory_pressure_contexts_handler()
738 bool dry_run, in manager_start() argument
749 m->dry_run = dry_run; in manager_start()
813 yes_no(m->dry_run), in manager_get_dump_string()
/systemd-251/src/shared/
Dinstall.c580 bool dry_run, in remove_marked_symlinks_fd() argument
626 …= remove_marked_symlinks_fd(remove_symlinks_to, nfd, p, config_path, lp, dry_run, restart, changes… in remove_marked_symlinks_fd()
683 if (!dry_run) { in remove_marked_symlinks_fd()
703 if (q > 0 && !dry_run) in remove_marked_symlinks_fd()
714 bool dry_run, in remove_marked_symlinks() argument
741 …arked_symlinks_fd(remove_symlinks_to, cfd, config_path, config_path, lp, dry_run, &restart, change… in remove_marked_symlinks()
2289 bool dry_run = flags & UNIT_FILE_DRY_RUN; in unit_file_unmask() local
2330 if (!dry_run && unlink(path) < 0) { in unit_file_unmask()
2348 … q = remove_marked_symlinks(remove_symlinks_to, config_path, &lp, dry_run, changes, n_changes); in unit_file_unmask()
/systemd-251/src/partition/
Drepart.c4151 int c, r, dry_run = -1; in parse_argv() local
4192 if (dry_run < 0) in parse_argv()
4193dry_run = false; /* Imply --dry-run=no if we create the loopback file in parse_argv()
4368 else if (dry_run >= 0) in parse_argv()
4369 arg_dry_run = dry_run; in parse_argv()
/systemd-251/src/login/
Dlogind-dbus.c2239 bool dry_run = false; in method_schedule_shutdown() local
2250 dry_run = true; in method_schedule_shutdown()
2266 m->shutdown_dry_run = dry_run; in method_schedule_shutdown()