Lines Matching refs:arg_template
115 static char *arg_template = NULL;
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);
3204 log_info("Populated %s from template %s.", arg_directory, arg_template);
3230 assert(!arg_template);
3684 free(arg_template);