Home
last modified time | relevance | path

Searched refs:arg_image (Results 1 – 10 of 10) sorted by relevance

/systemd-251/src/dissect/
Ddissect.c45 static const char *arg_image = NULL; variable
304 arg_image = argv[optind]; in parse_argv()
313 arg_image = argv[optind]; in parse_argv()
323 arg_image = argv[optind]; in parse_argv()
335 arg_image = argv[optind]; in parse_argv()
422 printf(" Name: %s\n", basename(arg_image)); in action_dissect()
515 … JSON_BUILD_PAIR("name", JSON_BUILD_STRING(basename(arg_image))), in action_dissect()
583 r = table_add_cell(t, NULL, TABLE_STRING, arg_image); in action_dissect()
710 …error_errno(source_fd, "Failed to open source path '%s' in image '%s': %m", arg_source, arg_image); in action_copy()
716 …g_error_errno(r, "Failed to copy bytes from %s in mage '%s' to stdout: %m", arg_source, arg_image); in action_copy()
[all …]
/systemd-251/src/machine-id-setup/
Dmachine-id-setup-main.c22 static char *arg_image = NULL; variable
27 STATIC_DESTRUCTOR_REGISTER(arg_image, freep);
96 r = parse_path_argument(optarg, false, &arg_image); in parse_argv()
120 if (arg_image && arg_root) in parse_argv()
140 if (arg_image) { in run()
144 arg_image, in run()
/systemd-251/src/analyze/
Danalyze.c97 static char *arg_image = NULL; variable
111 STATIC_DESTRUCTOR_REGISTER(arg_image, freep);
348 r = parse_path_argument(optarg, /* suppress_root= */ false, &arg_image); in parse_argv()
516 …if ((arg_root || arg_image) && (!STRPTR_IN_SET(argv[optind], "cat-config", "verify", "condition"))… in parse_argv()
522 if (arg_root && arg_image) in parse_argv()
588 if (arg_image) { in run()
592 arg_image, in run()
/systemd-251/src/nspawn/
Dnspawn.c192 static char *arg_image = NULL; variable
253 STATIC_DESTRUCTOR_REGISTER(arg_image, freep);
837 r = parse_path_argument(optarg, false, &arg_image); in parse_argv()
1787 if (arg_directory && arg_image) in verify_arguments()
1790 if (arg_template && arg_image) in verify_arguments()
3001 if (!arg_image && !arg_directory) { in determine_names()
3012 r = free_and_strdup(&arg_image, i->path); in determine_names()
3026 if (!arg_directory && !arg_image) in determine_names()
3033 else if (arg_image) { in determine_names()
3036 arg_machine = strdup(basename(arg_image)); in determine_names()
[all …]
/systemd-251/src/firstboot/
Dfirstboot.c48 static char *arg_image = NULL; variable
75 STATIC_DESTRUCTOR_REGISTER(arg_image, freep);
1119 r = parse_path_argument(optarg, false, &arg_image); in parse_argv()
1319 if (arg_image && arg_root) in parse_argv()
1339 if (!arg_root && !arg_image) { in run()
1353 if (arg_image) { in run()
1357 arg_image, in run()
/systemd-251/src/sysupdate/
Dsysupdate.c44 static char *arg_image = NULL; variable
51 STATIC_DESTRUCTOR_REGISTER(arg_image, freep);
870 if (!arg_image) in process_image()
876 arg_image, in process_image()
1030 if (arg_image || arg_root) in verb_pending_or_reboot()
1324 r = parse_path_argument(optarg, /* suppress_root= */ false, &arg_image); in parse_argv()
1370 if (arg_image && arg_root) in parse_argv()
1373 if ((arg_image || arg_root) && arg_reboot) in parse_argv()
/systemd-251/src/sysusers/
Dsysusers.c90 static char *arg_image = NULL; variable
125 STATIC_DESTRUCTOR_REGISTER(arg_image, freep);
902 if (!arg_root && !arg_image) in write_files()
922 if (!arg_root && !arg_image) in write_files()
1927 r = parse_path_argument(optarg, /* suppress_root= */ false, &arg_image); in parse_argv()
1969 if (arg_image && arg_root) in parse_argv()
2046 if (arg_image) { in run()
2050 arg_image, in run()
2068 assert(!arg_image); in run()
/systemd-251/src/partition/
Drepart.c97 static char *arg_image = NULL; variable
116 STATIC_DESTRUCTOR_REGISTER(arg_image, freep);
4225 r = parse_path_argument(optarg, /* suppress_root= */ false, &arg_image); in parse_argv()
4375 if (arg_image && arg_root) in parse_argv()
4377 else if (!arg_image && !arg_root && in_initrd()) { in parse_argv()
4396 if (IN_SET(arg_empty, EMPTY_FORCE, EMPTY_REQUIRE, EMPTY_CREATE) && !arg_node && !arg_image) in parse_argv()
4838 if (arg_image) { in run()
4844 arg_image, in run()
4893 node_is_our_loop ? arg_image : NULL, in run()
4947 … arg_root && !arg_image ? 0 : /* if --root= is specified, don't accept any block device */ in run()
[all …]
/systemd-251/src/journal/
Djournalctl.c128 static char *arg_image = NULL; variable
742 r = parse_path_argument(optarg, /* suppress_root= */ false, &arg_image); in parse_argv()
1070 if (!!arg_directory + !!arg_file + !!arg_machine + !!arg_root + !!arg_image > 1) in parse_argv()
2170 if (arg_image) { in main()
2174 arg_image, in main()
/systemd-251/src/tmpfiles/
Dtmpfiles.c188 static char *arg_image = NULL; variable
202 STATIC_DESTRUCTOR_REGISTER(arg_image, freep);
3461 r = parse_path_argument(optarg, /* suppress_root= */ false, &arg_image); in parse_argv()
3511 if (arg_image && arg_root) in parse_argv()
3772 if (arg_image) { in run()
3776 arg_image, in run()
3794 assert(!arg_image); in run()