Searched defs:subsystem (Results 1 - 6 of 6) sorted by relevance

/lxc/src/lxc/cgroups/
H A Dcgroup.c108 const char *cgroup_get_cgroup(struct lxc_handler *handler, const char *subsystem) argument
111 return ops->get_cgroup(handler->cgroup_data, subsystem);
231 * Return true if this is a subsystem which we cannot do
H A Dcgfs.c138 static struct cgroup_process_info *find_info_for_subsystem(struct cgroup_process_info *info, const char *subsystem);
581 /* if the subsystem whitelist is not specified, include all
652 static struct cgroup_hierarchy *lxc_cgroup_find_hierarchy(struct cgroup_meta_data *meta_data, const char *subsystem) argument
659 if (h && lxc_string_in_array(subsystem, (const char **)h->subsystems))
713 static char *lxc_cgroup_find_abs_path(const char *subsystem, const char *group, bool should_be_writable, const char *suffix) argument
725 h = lxc_cgroup_find_hierarchy(meta_data, subsystem);
1091 /* ignore legacy 'ns' subsystem here, lxc_cgroup_create_legacy
1293 static char *lxc_cgroup_get_hierarchy_path_data(const char *subsystem, struct cgfs_data *d) argument
1296 info = find_info_for_subsystem(info, subsystem);
1303 static char *lxc_cgroup_get_hierarchy_abs_path_data(const char *subsystem, struc argument
1321 lxc_cgroup_get_hierarchy_abs_path(const char *subsystem, const char *name, const char *lxcpath) argument
1355 char *subsystem = NULL, *p, *path; local
1376 char *subsystem = NULL, *p, *path; local
1394 char *subsystem = NULL, *p, *path; local
1947 find_info_for_subsystem(struct cgroup_process_info *info, const char *subsystem) argument
2431 cgfs_get_cgroup(void *hdata, const char *subsystem) argument
[all...]
H A Dcgfsng.c206 * kernel subsystem, we prefix 'name='. Any which is both a kernel and
207 * named subsystem, we refuse to use because we're not sure which we
221 ERROR("It is both a named and kernel subsystem");
1038 printf("kernel subsystem %d: %s\n", k, *it);
1040 printf("named subsystem %d: %s\n", k, *it);
1799 static const char *cgfsng_get_cgroup(void *hdata, const char *subsystem) argument
1801 struct hierarchy *h = get_hierarchy(subsystem);
1863 char *subsystem, *p, *path; local
1867 subsystem = alloca(strlen(filename) + 1);
1868 strcpy(subsystem, filenam
1895 char *subsystem, *p, *path; local
1926 char *subsystem = NULL, *p; local
[all...]
H A Dcgmanager.c740 static const char *cgm_get_cgroup(void *hdata, const char *subsystem) argument
1216 ERROR("code error: dropping invalid subsystem index\n");
1294 ERROR("Cannot write to crucial subsystem %s\n",
1299 ERROR("Cannot write to subsystem %s which is requested in lxc.cgroup.use\n",
1303 WARN("Cannot write to subsystem %s, continuing with out it\n",
1502 if (do_devices != !strncmp("devices", cg->subsystem, 7))
1504 if (strlen(cg->subsystem) > 100) // i smell a rat
1506 strcpy(controller, cg->subsystem);
1511 d->cgroup_path, cg->subsystem, cg->value) != 0) {
1518 d->cgroup_path, cg->subsystem);
[all...]
/lxc/src/lxc/
H A Dcommands.c442 * particular subsystem. This is the cgroup path relative to the root
447 * @subsystem : the subsystem being asked about
453 const char *subsystem)
459 .datalen = strlen(subsystem)+1,
460 .data = subsystem,
452 lxc_cmd_get_cgroup_path(const char *name, const char *lxcpath, const char *subsystem) argument
H A Dconf.h143 * It is up to the programmer to specify the right subsystem.
144 * @subsystem : the targeted subsystem
148 char *subsystem; member in struct:lxc_cgroup

Completed in 997 milliseconds