Searched defs:err (Results 1 - 9 of 9) sorted by relevance

/lxc/src/lxc/
H A Dparse.c41 int err = 0; local
52 err = callback(line, data);
53 if (err) {
56 if (err < 0)
64 return err;
H A Dnl.c256 struct nlmsgerr *err = (struct nlmsgerr*)NLMSG_DATA(answer->nlmsghdr); local
257 return err->error;
268 int err; local
298 err = -EINVAL;
303 err = -EINVAL;
311 err = -errno;
314 return err;
H A Dlxc_user_nic.c410 int err; local
412 err = snprintf(*n2, IFNAMSIZ, "%sp", n1);
413 if (err < 0 || err >= IFNAMSIZ) {
418 err = lxc_veth_create(n1, *n2);
419 if (err) {
420 usernic_error("Failed to create %s-%s : %s.\n", n1, *n2, strerror(-err));
427 err = setup_private_host_hw_addr(n1);
428 if (err)
431 n1, strerror(-err));
[all...]
H A Dstart.c1304 int err = -1; local
1352 err = lxc_spawn(handler);
1353 if (err) {
1360 err = lxc_poll(name, handler);
1361 if (err) {
1362 ERROR("LXC mainloop exited with error: %d.", err);
1407 err = lxc_error_set_and_log(handler->pid, status);
1421 return err;
H A Dnetwork.c98 int err; local
100 err = netlink_open(&nlh, NETLINK_ROUTE);
101 if (err)
102 return err;
104 err = -ENOMEM;
126 err = netlink_transaction(&nlh, nlmsg, nlmsg);
130 return err;
205 int err = -1; local
231 err = 0;
233 err
263 int err; local
311 int len, err; local
370 int index, len, err; local
421 int index, len, err; local
487 int err; local
505 int err, res; local
615 int index, len, err; local
678 int len, err; local
760 int lindex, len, err; local
840 int index, len, err; local
916 int fd, err = 0; local
1036 int err; local
1156 int err; local
1275 int err; local
1341 int err; local
1460 int fd, index, err; local
1571 int err; local
[all...]
H A Dutils.c1998 char *err = NULL; local
2002 uli = strtoul(numstr, &err, 0);
2006 if (!err || err == numstr || *err != '\0')
2018 char *err = NULL; local
2022 sli = strtol(numstr, &err, 0);
2026 if (!err || err == numstr || *err !
2038 char *err = NULL; local
[all...]
H A Dconf.c2293 int err; local
2299 err = lxc_ipv4_addr_add(ifindex, &inetdev->addr,
2301 if (err) {
2303 ifindex, strerror(-err));
2315 int err; local
2321 err = lxc_ipv6_addr_add(ifindex, &inet6dev->addr,
2324 if (err) {
2326 ifindex, strerror(-err));
2338 int err; local
2343 err
2420 int err; local
2645 int bridge_index, err; local
2763 int err; local
2782 int err; local
2832 int err; local
2848 int err; local
2916 int err; local
2928 int err; local
2949 int err; local
2960 int err; local
3223 int err; local
[all...]
/lxc/src/lxc/tools/
H A Dlxc_init.c80 int err; local
107 err = lxc_log_init(name, name ? NULL : "none", logpriority,
109 if (err < 0)
188 exit(err);
202 err = EXIT_SUCCESS;
253 err = lxc_error_set_and_log(waited_pid, status);
258 if (err < 0)
260 exit(err);
H A Dlxc_start.c63 int err = -1, fd; local
71 goto err;
80 goto err;
86 goto err;
89 err = EXIT_SUCCESS;
91 err:
93 return err;
206 int err = EXIT_FAILURE; local
219 exit(err);
222 exit(err);
[all...]

Completed in 34 milliseconds