Home
last modified time | relevance | path

Searched refs:arg_directory (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/nspawn/
Dnspawn.c125 static char *arg_directory = NULL; variable
235 STATIC_DESTRUCTOR_REGISTER(arg_directory, freep);
821 r = parse_path_argument(optarg, false, &arg_directory); in parse_argv()
1708 if (arg_ephemeral && arg_template && !arg_directory) in parse_argv()
1713 arg_directory = TAKE_PTR(arg_template); in parse_argv()
1787 if (arg_directory && arg_image) in verify_arguments()
1793 if (arg_template && !(arg_directory || arg_machine)) in verify_arguments()
2990 if (arg_template && !arg_directory && arg_machine) { in determine_names()
2996 arg_directory = path_join("/var/lib/machines", arg_machine); in determine_names()
2997 if (!arg_directory) in determine_names()
[all …]
/systemd-251/src/journal-remote/
Djournal-upload.c47 static const char *arg_directory = NULL; variable
730 if (arg_directory) in parse_argv()
734 arg_directory = optarg; in parse_argv()
793 if (optind < argc && (arg_directory || arg_file || arg_machine || arg_journal_type)) in parse_argv()
803 if (arg_directory) in open_journal()
804 r = sd_journal_open_directory(j, arg_directory, arg_journal_type); in open_journal()
817 arg_directory ? arg_directory : arg_file ? "files" : "journal"); in open_journal()
Djournal-gatewayd.c42 static const char *arg_directory = NULL; variable
116 if (arg_directory) in open_journal()
117 return sd_journal_open_directory(&m->journal, arg_directory, arg_journal_type); in open_journal()
982 arg_directory = optarg; in parse_argv()
/systemd-251/src/coredump/
Dcoredumpctl.c50 static const char *arg_directory = NULL; variable
119 if (arg_directory) { in acquire_journal()
120 r = sd_journal_open_directory(&j, arg_directory, 0); in acquire_journal()
122 … return log_error_errno(r, "Failed to open journals in directory: %s: %m", arg_directory); in acquire_journal()
315 arg_directory = optarg; in parse_argv()
/systemd-251/src/journal/
Djournalctl.c107 static const char *arg_directory = NULL; variable
718 arg_directory = optarg; in parse_argv()
1070 if (!!arg_directory + !!arg_file + !!arg_machine + !!arg_root + !!arg_image > 1) in parse_argv()
1512 !arg_directory && !arg_file && !arg_root) in add_boot()
2267 if (arg_directory) in main()
2268 r = sd_journal_open_directory(&j, arg_directory, arg_journal_type); in main()
2330 … log_error_errno(r, "Failed to open %s: %m", arg_directory ?: arg_file ? "files" : "journal"); in main()