Searched defs:rc (Results 1 - 10 of 10) sorted by relevance

/lxc/src/lxc/tools/
H A Dlxc_execute.c128 int rc; local
130 rc = asprintf(&rcfile, "%s/%s/config", my_args.lxcpath[0], my_args.name);
131 if (rc == -1) {
H A Dlxc_start.c268 int rc; local
270 rc = asprintf(&rcfile, "%s/%s/config", lxcpath, my_args.name);
271 if (rc == -1) {
H A Dlxc_info.c151 int rc,netnr; local
179 rc = lxc_read_from_file(path, buf, sizeof(buf));
180 if (rc > 0) {
188 rc = lxc_read_from_file(path, buf, sizeof(buf));
189 if (rc > 0) {
H A Dlxc_top.c172 int rc; local
174 rc = read(fd, in_char, sizeof(*in_char));
175 if (rc <= 0)
/lxc/src/lxc/
H A Dlxc_monitord.c156 int rc; local
159 rc = read(fd, buf, sizeof(buf));
160 if (rc > 0 && !strncmp(buf, "quit", 4))
H A Dstart.c497 int i, rc; local
509 rc = asprintf(&namespaces[namespace_count], "%s:/proc/%d/fd/%d",
511 if (rc == -1) {
H A Dnetwork.c932 int rc; local
937 rc = snprintf(path, MAXPATHLEN, "/proc/sys/net/%s/conf/%s/forwarding",
939 if (rc >= MAXPATHLEN)
H A Dutils.c107 int rc; local
116 rc = snprintf(pathname, MAXPATHLEN, "%s/%s", dirname, direntp->d_name);
117 if (rc < 0 || rc >= MAXPATHLEN) {
H A Dconf.c457 int rc; local
458 rc = snprintf(buffer + ret, len, " %s", argsin[i]);
459 if (rc < 0 || rc >= len) {
463 ret += rc;
508 int rc; local
509 rc = snprintf(buffer + ret, len, " %s", p);
510 if (rc < 0 || rc >= len) {
514 ret += rc;
[all...]
/lxc/src/lxc/cgroups/
H A Dcgfs.c174 int rc; local
183 rc = snprintf(pathname, MAXPATHLEN, "%s/%s", dirname, direntp->d_name);
184 if (rc < 0 || rc >= MAXPATHLEN) {

Completed in 74 milliseconds