Lines Matching defs:os
830 struct criu_opts os;
865 os.pipefd = pipes[1];
866 os.action = "restore";
867 os.user = opts;
868 os.c = c;
869 os.console_fd = c->lxc_conf->console.slave;
870 os.criu_version = criu_version;
871 os.handler = handler;
873 if (os.console_fd >= 0) {
877 flags = fcntl(os.console_fd, F_GETFD);
879 SYSERROR("F_GETFD failed: %d", os.console_fd);
885 if (fcntl(os.console_fd, F_SETFD, flags) < 0) {
890 os.console_name = c->lxc_conf->console.name;
893 exec_criu(&os);
1085 struct criu_opts os;
1096 os.pipefd = criuout[1];
1097 os.action = mode;
1098 os.user = opts;
1099 os.c = c;
1100 os.console_name = c->lxc_conf->console.path;
1101 os.criu_version = criu_version;
1103 if (save_tty_major_minor(opts->directory, c, os.tty_id, sizeof(os.tty_id)) < 0)
1107 exec_criu(&os);