Searched defs:c0 (Results 1 - 2 of 2) sorted by relevance

/lxc/src/lxc/bdev/
H A Dbdev.c295 struct bdev *bdev_copy(struct lxc_container *c0, const char *cname, argument
305 const char *src = c0->lxc_conf->rootfs.path;
306 const char *oldname = c0->name;
307 const char *oldpath = c0->config_path;
319 orig = bdev_init(c0->lxc_conf, src, NULL, NULL);
387 snap, newsize, c0->lxc_conf) < 0) {
392 if (am_unpriv() && chown_mapped_root(new->src, c0->lxc_conf) < 0)
440 ret = userns_exec_1(c0->lxc_conf, rsync_rootfs_wrapper, &data);
/lxc/src/lxc/
H A Dlxccontainer.c2094 static bool mod_rdep(struct lxc_container *c0, struct lxc_container *c, bool inc) argument
2106 if (container_disk_lock(c0))
2109 ret = snprintf(path, MAXPATHLEN, "%s/%s/lxc_snapshots", c0->config_path, c0->name);
2208 container_disk_unlock(c0);
2780 static void copy_rdepends(struct lxc_container *c, struct lxc_container *c0) argument
2785 ret = snprintf(path0, MAXPATHLEN, "%s/%s/lxc_rdepends", c0->config_path,
2786 c0->name);
2803 static bool add_rdepends(struct lxc_container *c, struct lxc_container *c0) argument
2819 if (fprintf(f, "%s\n%s\n", c0
2831 should_default_to_snapshot(struct lxc_container *c0, struct lxc_container *c1) argument
2852 copy_storage(struct lxc_container *c0, struct lxc_container *c, const char *newtype, int flags, const char *bdevdata, uint64_t newsize) argument
2917 struct lxc_container *c0; member in struct:clone_update_data
2925 struct lxc_container *c0 = data->c0; local
[all...]

Completed in 18 milliseconds