Searched refs:arg_template (Results 1 - 2 of 2) sorted by relevance

/systemd/src/escape/
H A Descape.c36 static const char *arg_template = NULL; variable
104 arg_template = optarg;
131 if (arg_template && arg_suffix) {
136 if ((arg_template || arg_suffix) && arg_action != ACTION_ESCAPE) {
180 if (arg_template) {
183 r = unit_name_replace_instance(arg_template, e, &x);
/systemd/src/nspawn/
H A Dnspawn.c115 static char *arg_template = NULL; variable
426 r = parse_path_argument_and_warn(optarg, false, &arg_template);
910 if (arg_template && arg_image) {
915 if (arg_template && !(arg_directory || arg_machine)) {
920 if (arg_ephemeral && arg_template) {
2335 if (arg_template && !arg_directory && arg_machine) {
3194 if (arg_template) {
3195 r = btrfs_subvol_snapshot(arg_template, arg_directory, (arg_read_only ? BTRFS_SNAPSHOT_READ_ONLY : 0) | BTRFS_SNAPSHOT_FALLBACK_COPY | BTRFS_SNAPSHOT_RECURSIVE | BTRFS_SNAPSHOT_QUOTA);
3198 log_info("Directory %s already exists, not populating from template %s.", arg_directory, arg_template);
3200 log_error_errno(r, "Couldn't create snapshot %s from %s: %m", arg_directory, arg_template);
[all...]

Completed in 36 milliseconds