Home
last modified time | relevance | path

Searched refs:arg_file (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/journal-remote/
Djournal-upload.c48 static char **arg_file = NULL; variable
738 r = glob_extend(&arg_file, optarg, GLOB_NOCHECK); in parse_argv()
793 if (optind < argc && (arg_directory || arg_file || arg_machine || arg_journal_type)) in parse_argv()
805 else if (arg_file) in open_journal()
806 r = sd_journal_open_files(j, (const char**) arg_file, 0); in open_journal()
817 arg_directory ? arg_directory : arg_file ? "files" : "journal"); in open_journal()
Djournal-gatewayd.c43 static char **arg_file = NULL; variable
118 else if (arg_file) in open_journal()
119 return sd_journal_open_files(&m->journal, (const char**) arg_file, 0); in open_journal()
986 r = glob_extend(&arg_file, optarg, GLOB_NOCHECK); in parse_argv()
/systemd-251/src/coredump/
Dcoredumpctl.c51 static char **arg_file = NULL; variable
62 STATIC_DESTRUCTOR_REGISTER(arg_file, strv_freep);
123 } else if (arg_file) { in acquire_journal()
124 r = sd_journal_open_files(&j, (const char**)arg_file, 0); in acquire_journal()
265 r = glob_extend(&arg_file, optarg, GLOB_NOCHECK); in parse_argv()
/systemd-251/src/journal/
Djournalctl.c108 static char **arg_file = NULL; variable
729 r = glob_extend(&arg_file, optarg, GLOB_NOCHECK); 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()
2273 else if (arg_file) in main()
2274 r = sd_journal_open_files(&j, (const char**) arg_file, 0); in main()
2330 … log_error_errno(r, "Failed to open %s: %m", arg_directory ?: arg_file ? "files" : "journal"); in main()
2820 strv_free(arg_file); in main()