Lines Matching defs:cgroup_subsys
486 struct cgroup_subsys { struct
487 struct cgroup_subsys_state *(*create)(struct cgroup_subsys *ss, argument
489 int (*pre_destroy)(struct cgroup_subsys *ss, struct cgroup *cgrp); argument
490 void (*destroy)(struct cgroup_subsys *ss, struct cgroup *cgrp); argument
491 int (*can_attach)(struct cgroup_subsys *ss, struct cgroup *cgrp, argument
493 void (*cancel_attach)(struct cgroup_subsys *ss, struct cgroup *cgrp, argument
495 void (*attach)(struct cgroup_subsys *ss, struct cgroup *cgrp, argument
497 void (*fork)(struct cgroup_subsys *ss, struct task_struct *task); argument
498 void (*exit)(struct cgroup_subsys *ss, struct cgroup *cgrp, argument
500 int (*populate)(struct cgroup_subsys *ss, argument
502 void (*post_clone)(struct cgroup_subsys *ss, struct cgroup *cgrp); argument
503 void (*bind)(struct cgroup_subsys *ss, struct cgroup *root); argument
505 int subsys_id;
506 int active;
507 int disabled;
508 int early_init;
513 bool use_id;
515 const char *name;
544 #define SUBSYS(_x) extern struct cgroup_subsys _x ## _subsys; argument