/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/kernel/ |
H A D | cgroup_freezer.c | 19 #include <linux/cgroup.h> 38 struct cgroup *cgroup) 41 cgroup_subsys_state(cgroup, freezer_subsys_id), 58 if (!freezer->css.cgroup->parent) 59 state = CGROUP_THAWED; /* root cgroup can't be frozen */ 98 * cgroup code forces css_set_lock to be taken before task->alloc_lock 101 * cgroup_mutex [ by cgroup core ] 107 * task->alloc_lock (to get task's cgroup) 111 * sighand->siglock (if the cgroup i 37 cgroup_freezer( struct cgroup *cgroup) argument 137 freezer_create(struct cgroup_subsys *ss, struct cgroup *cgroup) argument 151 freezer_destroy(struct cgroup_subsys *ss, struct cgroup *cgroup) argument 239 update_freezer_state(struct cgroup *cgroup, struct freezer *freezer) argument 267 freezer_read(struct cgroup *cgroup, struct cftype *cft, struct seq_file *m) argument 293 try_to_freeze_cgroup(struct cgroup *cgroup, struct freezer *freezer) argument 314 unfreeze_cgroup(struct cgroup *cgroup, struct freezer *freezer) argument 328 freezer_change_state(struct cgroup *cgroup, enum freezer_state goal_state) argument 358 freezer_write(struct cgroup *cgroup, struct cftype *cft, const char *buffer) argument 387 freezer_populate(struct cgroup_subsys *ss, struct cgroup *cgroup) argument [all...] |
H A D | ns_cgroup.c | 2 * ns_cgroup.c - namespace cgroup subsystem 8 #include <linux/cgroup.h> 21 struct cgroup *cgroup) 23 return container_of(cgroup_subsys_state(cgroup, ns_subsys_id), 37 * 1. you can only enter a cgroup which is a descendant of your current 38 * cgroup 39 * 2. you can only place another process into a cgroup if 41 * b. your cgroup is an ancestor of task's destination cgroup 20 cgroup_to_ns( struct cgroup *cgroup) argument 79 ns_create(struct cgroup_subsys *ss, struct cgroup *cgroup) argument 95 ns_destroy(struct cgroup_subsys *ss, struct cgroup *cgroup) argument [all...] |
H A D | cgroup.c | 29 #include <linux/cgroup.h> 67 * Generate an array of cgroup subsystem pointers. At boot time, this is 80 * A cgroupfs_root represents the root of a cgroup hierarchy, 102 /* The root cgroup for this hierarchy */ 103 struct cgroup top_cgroup; 124 * single cgroup, and all tasks are part of that cgroup. 136 * after cgroup is populated. If cgroup is removed, this will be NULL. 167 struct cgroup *cgr 2045 struct cgroup *cgroup; member in struct:cgroup_seqfile_state [all...] |
H A D | cpuset.c | 61 #include <linux/cgroup.h> 78 /* Forward declare cgroup structures */ 112 /* Retrieve the cpuset for a cgroup */ 113 static inline struct cpuset *cgroup_cs(struct cgroup *cont) 213 * guidelines for accessing subsystem state in kernel/cgroup.c 232 * silently switch it to mount "cgroup" instead 238 struct file_system_type *cgroup_fs = get_fs_type("cgroup"); 395 struct cgroup *cont; 399 list_for_each_entry(cont, &cur->css.cgroup->children, sibling) { 418 list_for_each_entry(cont, &par->css.cgroup 1848 cpuset_post_clone(struct cgroup_subsys *ss, struct cgroup *cgroup) argument [all...] |
H A D | sched_debug.c | 118 cgroup_path(task_group(p)->css.cgroup, path, sizeof(path)); 154 /* may be NULL if the underlying cgroup isn't fully-created yet */ 155 if (!tg->css.cgroup) { 159 cgroup_path(tg->css.cgroup, buf, buflen);
|
H A D | Makefile | 62 obj-$(CONFIG_CGROUPS) += cgroup.o
|
H A D | sched.c | 252 #include <linux/cgroup.h> 622 * holds that lock for each task it moves into the cgroup. Therefore 623 * by holding that lock, we pin the task to the current cgroup. 2575 * The child is not yet in the pid-hash so no cgroup attach races, 2576 * and the cgroup is pinned to this child due to cgroup_fork() 7937 * In case of task-groups formed thr' the cgroup filesystem, it 8513 * We can't change the weight of the root cgroup. 8842 /* return corresponding task_group object of a cgroup */ 8843 static inline struct task_group *cgroup_tg(struct cgroup *cgrp) 8850 cpu_cgroup_create(struct cgroup_subsys *ss, struct cgroup *cgr 9153 cpuacct_percpu_seq_read(struct cgroup *cgroup, struct cftype *cft, struct seq_file *m) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/ |
H A D | cgroup.h | 4 * cgroup interface 25 struct cgroup; 32 extern bool cgroup_lock_live_group(struct cgroup *cgrp); 45 /* Define the enumeration of all builtin cgroup subsystems */ 59 /* Per-subsystem/per-cgroup state maintained by the system. */ 62 * The cgroup that this subsystem is attached to. Useful 63 * for subsystems that want to know about the cgroup 66 struct cgroup *cgroup; member in struct:cgroup_subsys_state 69 * State maintained by the cgroup syste 191 struct cgroup { struct [all...] |
H A D | memcontrol.h | 22 #include <linux/cgroup.h> 81 int mm_match_cgroup(const struct mm_struct *mm, const struct mem_cgroup *cgroup) argument 87 return cgroup == mem;
|
H A D | cpuset.h | 14 #include <linux/cgroup.h>
|
H A D | res_counter.h | 16 #include <linux/cgroup.h> 19 * The core object. the cgroup that wishes to account for some 171 * Helper function to detect if the cgroup is within it's limit or
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/security/ |
H A D | device_cgroup.c | 2 * device_cgroup.c - device cgroup subsystem 8 #include <linux/cgroup.h> 52 static inline struct dev_cgroup *cgroup_to_devcgroup(struct cgroup *cgroup) argument 54 return css_to_devcgroup(cgroup_subsys_state(cgroup, devices_subsys_id)); 65 struct cgroup *new_cgroup, struct task_struct *task, 165 * called from kernel/cgroup.c with cgroup_lock() held. 168 struct cgroup *cgroup) 171 struct cgroup *parent_cgrou 167 devcgroup_create(struct cgroup_subsys *ss, struct cgroup *cgroup) argument 206 devcgroup_destroy(struct cgroup_subsys *ss, struct cgroup *cgroup) argument 258 devcgroup_seq_read(struct cgroup *cgroup, struct cftype *cft, struct seq_file *m) argument 462 devcgroup_populate(struct cgroup_subsys *ss, struct cgroup *cgroup) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/block/ |
H A D | blk-cgroup.c | 2 * Common Block IO controller cgroup interface 20 #include "blk-cgroup.h" 32 struct cgroup *); 33 static int blkiocg_can_attach(struct cgroup_subsys *, struct cgroup *, 35 static void blkiocg_attach(struct cgroup_subsys *, struct cgroup *, 36 struct cgroup *, struct task_struct *, bool); 37 static void blkiocg_destroy(struct cgroup_subsys *, struct cgroup *); 38 static int blkiocg_populate(struct cgroup_subsys *, struct cgroup *); 48 /* note: blkio_subsys_id is otherwise defined in blk-cgroup.h */ 82 struct blkio_cgroup *cgroup_to_blkio_cgroup(struct cgroup *cgrou argument 425 blkiocg_weight_write(struct cgroup *cgroup, struct cftype *cftype, u64 val) argument 457 blkiocg_reset_stats(struct cgroup *cgroup, struct cftype *cftype, u64 val) argument 901 blkiocg_populate(struct cgroup_subsys *subsys, struct cgroup *cgroup) argument 907 blkiocg_destroy(struct cgroup_subsys *subsys, struct cgroup *cgroup) argument 957 blkiocg_create(struct cgroup_subsys *subsys, struct cgroup *cgroup) argument 990 blkiocg_can_attach(struct cgroup_subsys *subsys, struct cgroup *cgroup, struct task_struct *tsk, bool threadgroup) argument 1007 blkiocg_attach(struct cgroup_subsys *subsys, struct cgroup *cgroup, struct cgroup *prev, struct task_struct *tsk, bool threadgroup) argument [all...] |
H A D | Makefile | 11 obj-$(CONFIG_BLK_CGROUP) += blk-cgroup.o
|
H A D | blk-cgroup.h | 4 * Common Block IO controller cgroup interface 16 #include <linux/cgroup.h> 21 /* When blk-cgroup is a module, its subsys_id isn't a compile-time constant */ 28 * request completion for IOs doen by this cgroup. This may not be 111 /* Store cgroup path */ 213 extern struct blkio_cgroup *cgroup_to_blkio_cgroup(struct cgroup *cgroup); 232 struct cgroup; 234 cgroup_to_blkio_cgroup(struct cgroup *cgroup) { retur [all...] |
H A D | cfq-iosched.c | 174 /* This is per cgroup per device grouping structure */ 987 cfq_find_alloc_cfqg(struct cfq_data *cfqd, struct cgroup *cgroup, int create) argument 989 struct blkio_cgroup *blkcg = cgroup_to_blkio_cgroup(cgroup); 1016 * This can be thought of a joint reference by cgroup and 1018 * or cgroup deletion path depending on who is exiting first. 1023 * Add group onto cgroup list. It might happen that bdi->dev is 1051 struct cgroup *cgroup; local 1055 cgroup [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/sched/ |
H A D | cls_cgroup.c | 18 #include <linux/cgroup.h> 26 struct cgroup *cgrp); 27 static void cgrp_destroy(struct cgroup_subsys *ss, struct cgroup *cgrp); 28 static int cgrp_populate(struct cgroup_subsys *ss, struct cgroup *cgrp); 42 static inline struct cgroup_cls_state *cgrp_cls_state(struct cgroup *cgrp) 55 struct cgroup *cgrp) 68 static void cgrp_destroy(struct cgroup_subsys *ss, struct cgroup *cgrp) 73 static u64 read_classid(struct cgroup *cgrp, struct cftype *cft) 78 static int write_classid(struct cgroup *cgrp, struct cftype *cft, u64 value) 92 static int cgrp_populate(struct cgroup_subsys *ss, struct cgroup *cgr [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/ |
H A D | cls_cgroup.h | 16 #include <linux/cgroup.h>
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/mm/ |
H A D | memcontrol.c | 26 #include <linux/cgroup.h> 62 /* Turned on only when memory cgroup is enabled && really_do_swap_account = 1 */ 80 * Statistics for memory cgroup. 106 * spin_lock to protect the per cgroup LRU 187 * page cache and RSS per cgroup. We would eventually like to provide 193 * no reclaim occurs from a cgroup at it's low water mark, this is 207 * Per cgroup active and inactive list, similar to the 621 static struct mem_cgroup *mem_cgroup_from_cont(struct cgroup *cont) 650 * cgroup. We use css_tryget() here even if this looks 664 * Call callback function against all cgroup unde 3270 struct cgroup *cgroup; local 4526 mem_cgroup_can_attach(struct cgroup_subsys *ss, struct cgroup *cgroup, struct task_struct *p, bool threadgroup) argument 4580 mem_cgroup_cancel_attach(struct cgroup_subsys *ss, struct cgroup *cgroup, struct task_struct *p, bool threadgroup) argument 4698 mem_cgroup_can_attach(struct cgroup_subsys *ss, struct cgroup *cgroup, struct task_struct *p, bool threadgroup) argument 4705 mem_cgroup_cancel_attach(struct cgroup_subsys *ss, struct cgroup *cgroup, struct task_struct *p, bool threadgroup) argument [all...] |
H A D | page_cgroup.c | 10 #include <linux/cgroup.h> 150 printk(KERN_ERR "page cgroup allocation failure\n");
|
H A D | memory-failure.c | 141 if (!css->cgroup->dentry) 144 ino = css->cgroup->dentry->d_inode->i_ino;
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/libxml2-2.7.2/source/ |
H A D | catalog.c | 530 * @cgroup: group node for group members 536 xmlDocPtr doc, xmlNsPtr ns, xmlCatalogEntryPtr cgroup) { 544 if (cur->group == cgroup) { 1082 xmlCatalogEntryPtr parent, xmlCatalogEntryPtr cgroup); 1132 * @cgroup: the group which includes this node 1143 xmlCatalogEntryPtr cgroup) { 1184 ret = xmlNewCatalogEntry(type, nameValue, uriValue, URL, prefer, cgroup); 1205 * @cgroup: the group which includes this node 1213 xmlCatalogEntryPtr parent, xmlCatalogEntryPtr cgroup) 1240 entry = xmlNewCatalogEntry(XML_CATA_GROUP, prop, base, NULL, pref, cgroup); 535 xmlDumpXMLCatalogNode(xmlCatalogEntryPtr catal, xmlNodePtr catalog, xmlDocPtr doc, xmlNsPtr ns, xmlCatalogEntryPtr cgroup) argument 1140 xmlParseXMLCatalogOneNode(xmlNodePtr cur, xmlCatalogEntryType type, const xmlChar *name, const xmlChar *attrName, const xmlChar *uriAttrName, xmlCatalogPrefer prefer, xmlCatalogEntryPtr cgroup) argument 1212 xmlParseXMLCatalogNode(xmlNodePtr cur, xmlCatalogPrefer prefer, xmlCatalogEntryPtr parent, xmlCatalogEntryPtr cgroup) argument 1315 xmlParseXMLCatalogNodeList(xmlNodePtr cur, xmlCatalogPrefer prefer, xmlCatalogEntryPtr parent, xmlCatalogEntryPtr cgroup) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gnulib-local/lib/libxml/ |
H A D | catalog.c | 518 * @cgroup: group node for group members 524 xmlDocPtr doc, xmlNsPtr ns, xmlCatalogEntryPtr cgroup) { 532 if (cur->group == cgroup) { 1070 xmlCatalogEntryPtr parent, xmlCatalogEntryPtr cgroup); 1120 * @cgroup: the group which includes this node 1131 xmlCatalogEntryPtr cgroup) { 1172 ret = xmlNewCatalogEntry(type, nameValue, uriValue, URL, prefer, cgroup); 1193 * @cgroup: the group which includes this node 1201 xmlCatalogEntryPtr parent, xmlCatalogEntryPtr cgroup) 1228 entry = xmlNewCatalogEntry(XML_CATA_GROUP, prop, base, NULL, pref, cgroup); 523 xmlDumpXMLCatalogNode(xmlCatalogEntryPtr catal, xmlNodePtr catalog, xmlDocPtr doc, xmlNsPtr ns, xmlCatalogEntryPtr cgroup) argument 1128 xmlParseXMLCatalogOneNode(xmlNodePtr cur, xmlCatalogEntryType type, const xmlChar *name, const xmlChar *attrName, const xmlChar *uriAttrName, xmlCatalogPrefer prefer, xmlCatalogEntryPtr cgroup) argument 1200 xmlParseXMLCatalogNode(xmlNodePtr cur, xmlCatalogPrefer prefer, xmlCatalogEntryPtr parent, xmlCatalogEntryPtr cgroup) argument 1303 xmlParseXMLCatalogNodeList(xmlNodePtr cur, xmlCatalogPrefer prefer, xmlCatalogEntryPtr parent, xmlCatalogEntryPtr cgroup) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/libxml2-2.7.2/ |
H A D | catalog.c | 530 * @cgroup: group node for group members 536 xmlDocPtr doc, xmlNsPtr ns, xmlCatalogEntryPtr cgroup) { 544 if (cur->group == cgroup) { 1082 xmlCatalogEntryPtr parent, xmlCatalogEntryPtr cgroup); 1132 * @cgroup: the group which includes this node 1143 xmlCatalogEntryPtr cgroup) { 1184 ret = xmlNewCatalogEntry(type, nameValue, uriValue, URL, prefer, cgroup); 1205 * @cgroup: the group which includes this node 1213 xmlCatalogEntryPtr parent, xmlCatalogEntryPtr cgroup) 1240 entry = xmlNewCatalogEntry(XML_CATA_GROUP, prop, base, NULL, pref, cgroup); 535 xmlDumpXMLCatalogNode(xmlCatalogEntryPtr catal, xmlNodePtr catalog, xmlDocPtr doc, xmlNsPtr ns, xmlCatalogEntryPtr cgroup) argument 1140 xmlParseXMLCatalogOneNode(xmlNodePtr cur, xmlCatalogEntryType type, const xmlChar *name, const xmlChar *attrName, const xmlChar *uriAttrName, xmlCatalogPrefer prefer, xmlCatalogEntryPtr cgroup) argument 1212 xmlParseXMLCatalogNode(xmlNodePtr cur, xmlCatalogPrefer prefer, xmlCatalogEntryPtr parent, xmlCatalogEntryPtr cgroup) argument 1315 xmlParseXMLCatalogNodeList(xmlNodePtr cur, xmlCatalogPrefer prefer, xmlCatalogEntryPtr parent, xmlCatalogEntryPtr cgroup) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/libxml/ |
H A D | catalog.c | 518 * @cgroup: group node for group members 524 xmlDocPtr doc, xmlNsPtr ns, xmlCatalogEntryPtr cgroup) { 532 if (cur->group == cgroup) { 1070 xmlCatalogEntryPtr parent, xmlCatalogEntryPtr cgroup); 1120 * @cgroup: the group which includes this node 1131 xmlCatalogEntryPtr cgroup) { 1172 ret = xmlNewCatalogEntry(type, nameValue, uriValue, URL, prefer, cgroup); 1193 * @cgroup: the group which includes this node 1201 xmlCatalogEntryPtr parent, xmlCatalogEntryPtr cgroup) 1228 entry = xmlNewCatalogEntry(XML_CATA_GROUP, prop, base, NULL, pref, cgroup); 523 xmlDumpXMLCatalogNode(xmlCatalogEntryPtr catal, xmlNodePtr catalog, xmlDocPtr doc, xmlNsPtr ns, xmlCatalogEntryPtr cgroup) argument 1128 xmlParseXMLCatalogOneNode(xmlNodePtr cur, xmlCatalogEntryType type, const xmlChar *name, const xmlChar *attrName, const xmlChar *uriAttrName, xmlCatalogPrefer prefer, xmlCatalogEntryPtr cgroup) argument 1200 xmlParseXMLCatalogNode(xmlNodePtr cur, xmlCatalogPrefer prefer, xmlCatalogEntryPtr parent, xmlCatalogEntryPtr cgroup) argument 1303 xmlParseXMLCatalogNodeList(xmlNodePtr cur, xmlCatalogPrefer prefer, xmlCatalogEntryPtr parent, xmlCatalogEntryPtr cgroup) argument [all...] |