Lines Matching defs:name
45 * @group : name of the container group or NULL for default "lxc"
46 * @name : name of the container
49 const char *group, const char *name)
57 sprintf(relpath, "%s/%s", group ? group : "lxc", name);
59 if ((c = lxc_container_new(name, lxcpath)) == NULL) {
60 TSTERR("container %s couldn't instantiate", name);
64 TSTERR("container %s does not exist", name);
68 cgrelpath = lxc_cmd_get_cgroup_path(c->name, c->config_path, "freezer");
80 c->name, c->config_path);
87 ret = lxc_cgroup_set("memory.soft_limit_in_bytes", "512M", c->name, c->config_path);
93 c->name, c->config_path);
105 c->name, c->config_path);
122 const char *group, const char *name,
137 if ((c = lxc_container_new(name, lxcpath)) == NULL) {
138 TSTERR("instantiating container %s", name);
144 c = lxc_container_new(name, lxcpath);
148 TSTERR("creating container %s", name);
154 TSTERR("starting container %s", name);
158 ret = test_running_container(lxcpath, group, name);