Searched refs:retval (Results 1 - 9 of 9) sorted by relevance

/lxc/src/tests/
H A Dlxcpath.c40 int retval = -1; local
81 retval = 0;
85 return retval;
/lxc/src/lxc/
H A Dstate.c142 int retval; local
145 retval = clock_gettime(CLOCK_REALTIME, &tspec);
146 if (retval)
157 retval = clock_gettime(CLOCK_REALTIME, &tspec);
158 if (retval)
H A Dutils.h162 int retval; local
164 retval = syscall (__NR_signalfd4, fd, mask, _NSIG / 8, flags);
166 retval = syscall (__NR_signalfd, fd, mask, _NSIG / 8);
167 return retval;
/lxc/src/lxc/cgroups/
H A Dcgmanager.c999 int retval = 0; // value we are sending to the parent over outp local
1007 ret = write(outp, &retval, sizeof(retval));
1008 if (ret != sizeof(retval))
1016 ret = write(outp, &retval, sizeof(retval));
1017 if (ret != sizeof(retval))
1024 ret = write(outp, &retval, sizeof(retval));
1025 if (ret != sizeof(retval))
[all...]
H A Dcgfsng.c1604 bool retval = false; local
1667 retval = true;
1671 return retval;
/lxc/src/lxc/tools/
H A Dlxc-start-ephemeral.in389 retval = dest.attach_wait(attach_as_user, args.command,
405 retval = subprocess.call(ssh_cmd, universal_newlines=True)
406 if retval == 255:
410 if retval != 0:
411 print(_("Command returned with non-zero return code: %s") % retval)
418 sys.exit(retval)
/lxc/src/python-lxc/
H A Dlxc.c838 PyObject *retval = NULL; local
862 retval = Py_True;
864 retval = Py_False;
875 Py_INCREF(retval);
876 return retval;
1348 int retval = 0; local
1362 retval = self->container->snapshot(self->container, comment_path);
1366 if (retval < 0) {
1370 ret = snprintf(newname, 20, "snap%d", retval);
1461 PyObject *retval local
[all...]
/lxc/templates/
H A Dlxc-alpine.in96 local retval=$1; shift
99 exit $retval
140 local retval
149 "$@"; retval=$?
152 return $retval
H A Dlxc-gentoo.in63 retval=$?
65 return $retval
72 local retval="$1"
75 exit "$retval"
118 local retval=1

Completed in 26 milliseconds