Searched refs:cgrp (Results 1 - 8 of 8) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dcgroup.h32 extern bool cgroup_lock_live_group(struct cgroup *cgrp);
327 ssize_t (*read)(struct cgroup *cgrp, struct cftype *cft,
334 u64 (*read_u64)(struct cgroup *cgrp, struct cftype *cft);
338 s64 (*read_s64)(struct cgroup *cgrp, struct cftype *cft);
354 ssize_t (*write)(struct cgroup *cgrp, struct cftype *cft,
363 int (*write_u64)(struct cgroup *cgrp, struct cftype *cft, u64 val);
367 int (*write_s64)(struct cgroup *cgrp, struct cftype *cft, s64 val);
374 int (*write_string)(struct cgroup *cgrp, struct cftype *cft,
382 int (*trigger)(struct cgroup *cgrp, unsigned int event);
392 int (*register_event)(struct cgroup *cgrp, struc
522 cgroup_subsys_state( struct cgroup *cgrp, int subsys_id) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/kernel/
H A Dcgroup.c167 struct cgroup *cgrp; member in struct:cgroup_event
224 inline int cgroup_is_removed(const struct cgroup *cgrp) argument
226 return test_bit(CGRP_REMOVED, &cgrp->flags);
234 static int cgroup_is_releasable(const struct cgroup *cgrp) argument
239 return (cgrp->flags & bits) == bits;
242 static int notify_on_release(const struct cgroup *cgrp) argument
244 return test_bit(CGRP_NOTIFY_ON_RELEASE, &cgrp->flags);
264 static void check_for_release(struct cgroup *cgrp);
273 struct cgroup *cgrp; member in struct:cg_cgroup_link
360 struct cgroup *cgrp local
480 find_existing_css_set( struct css_set *oldcg, struct cgroup *cgrp, struct cgroup_subsys_state *template[]) argument
560 link_css_set(struct list_head *tmp_cg_links, struct css_set *cg, struct cgroup *cgrp) argument
586 find_css_set( struct css_set *oldcg, struct cgroup *cgrp) argument
794 cgroup_call_pre_destroy(struct cgroup *cgrp) argument
811 struct cgroup *cgrp = container_of(obj, struct cgroup, rcu_head); local
820 struct cgroup *cgrp = dentry->d_fsdata; local
916 cgroup_wakeup_rmdir_waiter(struct cgroup *cgrp) argument
942 struct cgroup *cgrp = &root->top_cgroup; local
1222 struct cgroup *cgrp = &root->top_cgroup; local
1269 init_cgroup_housekeeping(struct cgroup *cgrp) argument
1283 struct cgroup *cgrp = &root->top_cgroup; local
1577 struct cgroup *cgrp = &root->top_cgroup; local
1648 cgroup_path(const struct cgroup *cgrp, char *buf, int buflen) argument
1699 cgroup_attach_task(struct cgroup *cgrp, struct task_struct *tsk) argument
1821 attach_task_by_pid(struct cgroup *cgrp, u64 pid) argument
1854 cgroup_tasks_write(struct cgroup *cgrp, struct cftype *cft, u64 pid) argument
1871 cgroup_lock_live_group(struct cgroup *cgrp) argument
1882 cgroup_release_agent_write(struct cgroup *cgrp, struct cftype *cft, const char *buffer) argument
1893 cgroup_release_agent_show(struct cgroup *cgrp, struct cftype *cft, struct seq_file *seq) argument
1907 cgroup_write_X64(struct cgroup *cgrp, struct cftype *cft, struct file *file, const char __user *userbuf, size_t nbytes, loff_t *unused_ppos) argument
1940 cgroup_write_string(struct cgroup *cgrp, struct cftype *cft, struct file *file, const char __user *userbuf, size_t nbytes, loff_t *unused_ppos) argument
1979 struct cgroup *cgrp = __d_cgrp(file->f_dentry->d_parent); local
1996 cgroup_read_u64(struct cgroup *cgrp, struct cftype *cft, struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) argument
2008 cgroup_read_s64(struct cgroup *cgrp, struct cftype *cft, struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) argument
2024 struct cgroup *cgrp = __d_cgrp(file->f_dentry->d_parent); local
2204 cgroup_create_dir(struct cgroup *cgrp, struct dentry *dentry, mode_t mode) argument
2250 cgroup_add_file(struct cgroup *cgrp, struct cgroup_subsys *subsys, const struct cftype *cft) argument
2280 cgroup_add_files(struct cgroup *cgrp, struct cgroup_subsys *subsys, const struct cftype cft[], int count) argument
2301 cgroup_task_count(const struct cgroup *cgrp) argument
2318 cgroup_advance_iter(struct cgroup *cgrp, struct cgroup_iter *it) argument
2367 cgroup_iter_start(struct cgroup *cgrp, struct cgroup_iter *it) argument
2382 cgroup_iter_next(struct cgroup *cgrp, struct cgroup_iter *it) argument
2406 cgroup_iter_end(struct cgroup *cgrp, struct cgroup_iter *it) argument
2674 cgroup_pidlist_find(struct cgroup *cgrp, enum cgroup_filetype type) argument
2717 pidlist_array_load(struct cgroup *cgrp, enum cgroup_filetype type, struct cgroup_pidlist **lp) argument
2783 struct cgroup *cgrp; local
2962 struct cgroup *cgrp = __d_cgrp(file->f_dentry->d_parent); local
2994 cgroup_read_notify_on_release(struct cgroup *cgrp, struct cftype *cft) argument
3000 cgroup_write_notify_on_release(struct cgroup *cgrp, struct cftype *cft, u64 val) argument
3021 struct cgroup *cgrp = event->cgrp; local
3040 struct cgroup *cgrp = event->cgrp; local
3074 cgroup_write_event_control(struct cgroup *cgrp, struct cftype *cft, const char *buffer) argument
3218 cgroup_populate_dir(struct cgroup *cgrp) argument
3254 init_cgroup_css(struct cgroup_subsys_state *css, struct cgroup_subsys *ss, struct cgroup *cgrp) argument
3310 struct cgroup *cgrp; local
3405 cgroup_has_css_refs(struct cgroup *cgrp) argument
3447 cgroup_clear_css_refs(struct cgroup *cgrp) argument
3496 struct cgroup *cgrp = dentry->d_fsdata; local
3960 struct cgroup *cgrp; local
4308 cgroup_is_descendant(const struct cgroup *cgrp, struct task_struct *task) argument
4323 check_for_release(struct cgroup *cgrp) argument
4348 struct cgroup *cgrp = css->cgroup; local
4396 struct cgroup *cgrp = list_entry(release_list.next, local
4822 releasable_read(struct cgroup *cgrp, struct cftype *cft) argument
[all...]
H A Dsched.c8843 static inline struct task_group *cgroup_tg(struct cgroup *cgrp) argument
8845 return container_of(cgroup_subsys_state(cgrp, cpu_cgroup_subsys_id),
8850 cpu_cgroup_create(struct cgroup_subsys *ss, struct cgroup *cgrp) argument
8854 if (!cgrp->parent) {
8859 parent = cgroup_tg(cgrp->parent);
8868 cpu_cgroup_destroy(struct cgroup_subsys *ss, struct cgroup *cgrp) argument
8870 struct task_group *tg = cgroup_tg(cgrp);
8876 cpu_cgroup_can_attach_task(struct cgroup *cgrp, struct task_struct *tsk) argument
8879 if (!sched_rt_can_attach(cgroup_tg(cgrp), tsk))
8890 cpu_cgroup_can_attach(struct cgroup_subsys *ss, struct cgroup *cgrp, argument
8912 cpu_cgroup_attach(struct cgroup_subsys *ss, struct cgroup *cgrp, struct cgroup *old_cont, struct task_struct *tsk, bool threadgroup) argument
8928 cpu_shares_write_u64(struct cgroup *cgrp, struct cftype *cftype, u64 shareval) argument
8934 cpu_shares_read_u64(struct cgroup *cgrp, struct cftype *cft) argument
8943 cpu_rt_runtime_write(struct cgroup *cgrp, struct cftype *cft, s64 val) argument
8949 cpu_rt_runtime_read(struct cgroup *cgrp, struct cftype *cft) argument
8954 cpu_rt_period_write_uint(struct cgroup *cgrp, struct cftype *cftype, u64 rt_period_us) argument
8960 cpu_rt_period_read_uint(struct cgroup *cgrp, struct cftype *cft) argument
9027 cgroup_ca(struct cgroup *cgrp) argument
9041 cpuacct_create( struct cgroup_subsys *ss, struct cgroup *cgrp) argument
9075 cpuacct_destroy(struct cgroup_subsys *ss, struct cgroup *cgrp) argument
9122 cpuusage_read(struct cgroup *cgrp, struct cftype *cft) argument
9134 cpuusage_write(struct cgroup *cgrp, struct cftype *cftype, u64 reset) argument
9173 cpuacct_stats_show(struct cgroup *cgrp, struct cftype *cft, struct cgroup_map_cb *cb) argument
9203 cpuacct_populate(struct cgroup_subsys *ss, struct cgroup *cgrp) argument
[all...]
H A Dcpuset.c1499 static int cpuset_write_u64(struct cgroup *cgrp, struct cftype *cft, u64 val) argument
1502 struct cpuset *cs = cgroup_cs(cgrp);
1505 if (!cgroup_lock_live_group(cgrp))
1544 static int cpuset_write_s64(struct cgroup *cgrp, struct cftype *cft, s64 val) argument
1547 struct cpuset *cs = cgroup_cs(cgrp);
1550 if (!cgroup_lock_live_group(cgrp))
1568 static int cpuset_write_resmask(struct cgroup *cgrp, struct cftype *cft, argument
1572 struct cpuset *cs = cgroup_cs(cgrp);
1575 if (!cgroup_lock_live_group(cgrp))
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/sched/
H A Dcls_cgroup.c26 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) argument
44 return container_of(cgroup_subsys_state(cgrp, net_cls_subsys_id),
55 struct cgroup *cgrp)
62 if (cgrp->parent)
63 cs->classid = cgrp_cls_state(cgrp->parent)->classid;
68 static void cgrp_destroy(struct cgroup_subsys *ss, struct cgroup *cgrp) argument
70 kfree(cgrp_cls_state(cgrp));
54 cgrp_create(struct cgroup_subsys *ss, struct cgroup *cgrp) argument
73 read_classid(struct cgroup *cgrp, struct cftype *cft) argument
78 write_classid(struct cgroup *cgrp, struct cftype *cft, u64 value) argument
92 cgrp_populate(struct cgroup_subsys *ss, struct cgroup *cgrp) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/mm/
H A Dmemcontrol.c1041 struct cgroup *cgrp = memcg->css.cgroup; local
1045 if (cgrp->parent == NULL)
3022 struct cgroup *cgrp = mem->css.cgroup; local
3033 if (cgroup_task_count(cgrp) || !list_empty(&cgrp->children))
3068 if (cgroup_task_count(cgrp) || !list_empty(&cgrp->children) || shrink) {
3321 static u64 mem_cgroup_move_charge_read(struct cgroup *cgrp, argument
3324 return mem_cgroup_from_cont(cgrp)->move_charge_at_immigrate;
3328 static int mem_cgroup_move_charge_write(struct cgroup *cgrp, argument
3347 mem_cgroup_move_charge_write(struct cgroup *cgrp, struct cftype *cft, u64 val) argument
3499 mem_cgroup_swappiness_read(struct cgroup *cgrp, struct cftype *cft) argument
3506 mem_cgroup_swappiness_write(struct cgroup *cgrp, struct cftype *cft, u64 val) argument
3622 mem_cgroup_usage_register_event(struct cgroup *cgrp, struct cftype *cft, struct eventfd_ctx *eventfd, const char *args) argument
3704 mem_cgroup_usage_unregister_event(struct cgroup *cgrp, struct cftype *cft, struct eventfd_ctx *eventfd) argument
3780 mem_cgroup_oom_register_event(struct cgroup *cgrp, struct cftype *cft, struct eventfd_ctx *eventfd, const char *args) argument
3805 mem_cgroup_oom_unregister_event(struct cgroup *cgrp, struct cftype *cft, struct eventfd_ctx *eventfd) argument
3826 mem_cgroup_oom_control_read(struct cgroup *cgrp, struct cftype *cft, struct cgroup_map_cb *cb) argument
3840 mem_cgroup_oom_control_write(struct cgroup *cgrp, struct cftype *cft, u64 val) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/security/
H A Ddevice_cgroup.c432 static int devcgroup_access_write(struct cgroup *cgrp, struct cftype *cft, argument
438 retval = devcgroup_update_access(cgroup_to_devcgroup(cgrp),
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/block/
H A Dblk-cgroup.c732 static int blkiocg_weight_device_write(struct cgroup *cgrp, struct cftype *cft, argument
758 blkcg = cgroup_to_blkio_cgroup(cgrp);
808 static int blkiocg_weight_device_read(struct cgroup *cgrp, struct cftype *cft, argument
816 blkcg = cgroup_to_blkio_cgroup(cgrp);

Completed in 142 milliseconds