Lines Matching defs:action
69 char *action;
71 /* the user-provided migrate options relevant to this action */
154 * criu $(action) --tcp-established --file-locks --link-remap \
155 * --manage-cgroups=full --action-script foo.sh -D $(directory) \
156 * -o $(directory)/$(action).log --ext-mount-map auto
161 if (strcmp(opts->action, "dump") == 0 || strcmp(opts->action, "pre-dump") == 0) {
174 if (strcmp(opts->action, "dump") == 0 && !opts->user->stop)
188 } else if (strcmp(opts->action, "restore") == 0) {
217 ret = snprintf(log, PATH_MAX, "%s/%s.log", opts->user->directory, opts->action);
246 DECLARE_ARG(opts->action);
277 if (!strcmp(opts->action, "dump") || !strcmp(opts->action, "pre-dump")) {
328 DECLARE_ARG("--action-script");
350 if (strcmp(opts->action, "dump") == 0) {
372 if (strcmp(opts->action, "dump") == 0 || strcmp(opts->action, "pre-dump") == 0) {
438 if (strcmp(opts->action, "dump") == 0 && !opts->user->stop)
440 } else if (strcmp(opts->action, "restore") == 0) {
866 os.action = "restore";
1097 os.action = mode;