Searched defs:c2 (Results 1 - 6 of 6) sorted by relevance
/lxc/src/tests/ |
H A D | clonetest.c | 34 struct lxc_container *c = NULL, *c2 = NULL, *c3 = NULL; local 38 c2 = lxc_container_new(MYNAME2, NULL); 44 if (c2) { 45 c2->destroy(c2); 46 lxc_container_put(c2); 47 c2 = NULL; 67 c2 = c->clone(c, MYNAME2, NULL, 0, NULL, NULL, 0, NULL); 68 if (!c2) { 73 if (!c2 [all...] |
H A D | snapshot.c | 58 struct lxc_container *c, *c2 = NULL; local 129 c2 = lxc_container_new(RESTNAME, NULL); 130 if (!c2 || !c2->is_defined(c2)) { 134 lxc_container_put(c2); 136 c2 = c->clone(c, MYNAME2, NULL, LXC_CLONE_SNAPSHOT, "overlayfs", NULL, 0, NULL); 137 if (!c2) { 142 if (c2->snapshot(c2, NUL [all...] |
/lxc/src/lxc/tools/ |
H A D | lxc_clone.c | 114 struct lxc_container *c1 = NULL, *c2 = NULL; local 203 c2 = c1->clone(c1, new, newpath, flags, bdevtype, NULL, newsize, 205 if (c2 == NULL) { 212 lxc_container_put(c2);
|
H A D | lxc_autostart.c | 321 struct lxc_container *c2 = *(struct lxc_container **)p2; local 324 int c2_order = get_config_integer(c2, "lxc.start.order"); 327 return strcmp(c1->name, c2->name);
|
/lxc/src/lxc/cgroups/ |
H A D | cgfsng.c | 392 char *c1, *c2; local 400 c2 = strrchr(maxcpus, '-'); 401 if (c2) 402 c2++; 404 if (!c1 && !c2) 406 else if (c1 > c2) 407 c2 = c1; 408 else if (c1 < c2) 409 c1 = c2; 410 else if (!c1 && c2) // Th [all...] |
/lxc/src/lxc/ |
H A D | lxccontainer.c | 3061 struct lxc_container *c2 = NULL; local 3143 c2 = lxc_container_new(newname, lxcpath); 3144 if (!c2) { 3151 ret = copy_storage(c, c2, bdevtype, flags, bdevdata, newsize); 3158 clear_unexp_config_line(c2->lxc_conf, "lxc.utsname", false); 3160 if (!set_config_item_locked(c2, "lxc.utsname", newname)) { 3167 ret = copyhooks(c, c2); 3173 if (copy_fstab(c, c2) < 0) { 3180 if (!network_new_hwaddrs(c2->lxc_conf)) { 3187 if (ovl_update_abs_paths(c2 3372 struct lxc_container *c2; local [all...] |
Completed in 1332 milliseconds