Home
last modified time | relevance | path

Searched defs:css (Results 1 – 25 of 54) sorted by relevance

123

/Linux-v4.19/net/core/
Dnetclassid_cgroup.c20 static inline struct cgroup_cls_state *css_cls_state(struct cgroup_subsys_state *css) in css_cls_state()
44 static int cgrp_css_online(struct cgroup_subsys_state *css) in cgrp_css_online()
55 static void cgrp_css_free(struct cgroup_subsys_state *css) in cgrp_css_free()
76 struct cgroup_subsys_state *css; in cgrp_attach() local
87 static u64 read_classid(struct cgroup_subsys_state *css, struct cftype *cft) in read_classid()
92 static int write_classid(struct cgroup_subsys_state *css, struct cftype *cft, in write_classid()
Dnetprio_cgroup.c97 static u32 netprio_prio(struct cgroup_subsys_state *css, struct net_device *dev) in netprio_prio()
116 static int netprio_set_prio(struct cgroup_subsys_state *css, in netprio_set_prio()
140 struct cgroup_subsys_state *css; in cgrp_css_alloc() local
149 static int cgrp_css_online(struct cgroup_subsys_state *css) in cgrp_css_online()
177 static void cgrp_css_free(struct cgroup_subsys_state *css) in cgrp_css_free()
182 static u64 read_prioidx(struct cgroup_subsys_state *css, struct cftype *cft) in read_prioidx()
241 struct cgroup_subsys_state *css; in net_prio_attach() local
/Linux-v4.19/kernel/cgroup/
Ddebug.c17 struct cgroup_subsys_state *css = kzalloc(sizeof(*css), GFP_KERNEL); in debug_css_alloc() local
25 static void debug_css_free(struct cgroup_subsys_state *css) in debug_css_free()
34 static u64 debug_taskcount_read(struct cgroup_subsys_state *css, in debug_taskcount_read()
45 struct cgroup_subsys_state *css; in current_css_set_read() local
76 static u64 current_css_set_refcount_read(struct cgroup_subsys_state *css, in current_css_set_refcount_read()
116 struct cgroup_subsys_state *css = seq_css(seq); in cgroup_css_links_read() local
208 struct cgroup_subsys_state *css; in cgroup_subsys_states_read() local
271 static u64 releasable_read(struct cgroup_subsys_state *css, struct cftype *cft) in releasable_read()
Dfreezer.c44 struct cgroup_subsys_state css; member
50 static inline struct freezer *css_freezer(struct cgroup_subsys_state *css) in css_freezer()
105 static int freezer_css_online(struct cgroup_subsys_state *css) in freezer_css_online()
130 static void freezer_css_offline(struct cgroup_subsys_state *css) in freezer_css_offline()
144 static void freezer_css_free(struct cgroup_subsys_state *css) in freezer_css_free()
244 static void update_if_frozen(struct cgroup_subsys_state *css) in update_if_frozen()
293 struct cgroup_subsys_state *css = seq_css(m), *pos; in freezer_read() local
437 static u64 freezer_self_freezing_read(struct cgroup_subsys_state *css, in freezer_self_freezing_read()
445 static u64 freezer_parent_freezing_read(struct cgroup_subsys_state *css, in freezer_parent_freezing_read()
Dpids.c44 struct cgroup_subsys_state css; member
60 static struct pids_cgroup *css_pids(struct cgroup_subsys_state *css) in css_pids()
85 static void pids_css_free(struct cgroup_subsys_state *css) in pids_css_free()
221 struct cgroup_subsys_state *css; in pids_can_fork() local
242 struct cgroup_subsys_state *css; in pids_cancel_fork() local
260 struct cgroup_subsys_state *css = of_css(of); in pids_max_write() local
289 struct cgroup_subsys_state *css = seq_css(sf); in pids_max_show() local
301 static s64 pids_current_read(struct cgroup_subsys_state *css, in pids_current_read()
Dcgroup.c483 struct cgroup_subsys_state *css; in cgroup_tryget_css() local
539 struct cgroup_subsys_state *css; in cgroup_get_e_css() local
592 #define for_each_css(css, ssid, cgrp) \ argument
607 #define for_each_e_css(css, ssid, cgrp) \ argument
849 static unsigned long css_set_hash(struct cgroup_subsys_state *css[]) in css_set_hash()
1175 struct cgroup_subsys_state *css = cset->subsys[ssid]; in find_css_set() local
1557 struct cgroup_subsys_state *css = cgroup_css(cgrp, cft->ss); in cgroup_rm_file() local
1574 static void css_clear_dir(struct cgroup_subsys_state *css) in css_clear_dir()
1603 static int css_populate_dir(struct cgroup_subsys_state *css) in css_populate_dir()
1669 struct cgroup_subsys_state *css = cgroup_css(scgrp, ss); in rebind_subsystems() local
[all …]
Dcpuset.c80 struct cgroup_subsys_state css; member
139 static inline struct cpuset *css_cs(struct cgroup_subsys_state *css) in css_cs()
482 struct cgroup_subsys_state *css; in validate_change() local
1461 struct cgroup_subsys_state *css; in cpuset_can_attach() local
1500 struct cgroup_subsys_state *css; in cpuset_cancel_attach() local
1524 struct cgroup_subsys_state *css; in cpuset_attach() local
1607 static int cpuset_write_u64(struct cgroup_subsys_state *css, struct cftype *cft, in cpuset_write_u64()
1654 static int cpuset_write_s64(struct cgroup_subsys_state *css, struct cftype *cft, in cpuset_write_s64()
1781 static u64 cpuset_read_u64(struct cgroup_subsys_state *css, struct cftype *cft) in cpuset_read_u64()
1812 static s64 cpuset_read_s64(struct cgroup_subsys_state *css, struct cftype *cft) in cpuset_read_s64()
[all …]
Drdma.c70 static struct rdma_cgroup *css_rdmacg(struct cgroup_subsys_state *css) in css_rdmacg()
581 static void rdmacg_css_free(struct cgroup_subsys_state *css) in rdmacg_css_free()
597 static void rdmacg_css_offline(struct cgroup_subsys_state *css) in rdmacg_css_offline()
Dcgroup-v1.c607 static u64 cgroup_read_notify_on_release(struct cgroup_subsys_state *css, in cgroup_read_notify_on_release()
613 static int cgroup_write_notify_on_release(struct cgroup_subsys_state *css, in cgroup_write_notify_on_release()
623 static u64 cgroup_clone_children_read(struct cgroup_subsys_state *css, in cgroup_clone_children_read()
629 static int cgroup_clone_children_write(struct cgroup_subsys_state *css, in cgroup_clone_children_write()
Drstat.c163 struct cgroup_subsys_state *css; in cgroup_rstat_flush_locked() local
/Linux-v4.19/kernel/sched/
Dcpuacct.c29 struct cgroup_subsys_state css; member
35 static inline struct cpuacct *css_ca(struct cgroup_subsys_state *css) in css_ca()
89 static void cpuacct_css_free(struct cgroup_subsys_state *css) in cpuacct_css_free()
155 static u64 __cpuusage_read(struct cgroup_subsys_state *css, in __cpuusage_read()
168 static u64 cpuusage_user_read(struct cgroup_subsys_state *css, in cpuusage_user_read()
174 static u64 cpuusage_sys_read(struct cgroup_subsys_state *css, in cpuusage_sys_read()
180 static u64 cpuusage_read(struct cgroup_subsys_state *css, struct cftype *cft) in cpuusage_read()
185 static int cpuusage_write(struct cgroup_subsys_state *css, struct cftype *cft, in cpuusage_write()
Dcore.c6371 static inline struct task_group *css_tg(struct cgroup_subsys_state *css) in css_tg()
6395 static int cpu_cgroup_css_online(struct cgroup_subsys_state *css) in cpu_cgroup_css_online()
6405 static void cpu_cgroup_css_released(struct cgroup_subsys_state *css) in cpu_cgroup_css_released()
6412 static void cpu_cgroup_css_free(struct cgroup_subsys_state *css) in cpu_cgroup_css_free()
6442 struct cgroup_subsys_state *css; in cpu_cgroup_can_attach() local
6477 struct cgroup_subsys_state *css; in cpu_cgroup_attach() local
6484 static int cpu_shares_write_u64(struct cgroup_subsys_state *css, in cpu_shares_write_u64()
6490 static u64 cpu_shares_read_u64(struct cgroup_subsys_state *css, in cpu_shares_read_u64()
6628 static s64 cpu_cfs_quota_read_s64(struct cgroup_subsys_state *css, in cpu_cfs_quota_read_s64()
6634 static int cpu_cfs_quota_write_s64(struct cgroup_subsys_state *css, in cpu_cfs_quota_write_s64()
[all …]
/Linux-v4.19/include/linux/
Dcgroup.h227 #define css_for_each_descendant_pre(pos, css) \ argument
250 #define css_for_each_descendant_post(pos, css) \ argument
304 static inline void css_get(struct cgroup_subsys_state *css) in css_get()
317 static inline void css_get_many(struct cgroup_subsys_state *css, unsigned int n) in css_get_many()
334 static inline bool css_tryget(struct cgroup_subsys_state *css) in css_tryget()
351 static inline bool css_tryget_online(struct cgroup_subsys_state *css) in css_tryget_online()
373 static inline bool css_is_dying(struct cgroup_subsys_state *css) in css_is_dying()
384 static inline void css_put(struct cgroup_subsys_state *css) in css_put()
397 static inline void css_put_many(struct cgroup_subsys_state *css, unsigned int n) in css_put_many()
492 struct cgroup_subsys_state *css; in task_get_css() local
[all …]
Dcgroup_rdma.h23 struct cgroup_subsys_state css; member
Dblk-cgroup.h47 struct cgroup_subsys_state css; member
234 static inline struct blkcg *css_to_blkcg(struct cgroup_subsys_state *css) in css_to_blkcg()
241 struct cgroup_subsys_state *css; in bio_blkcg() local
253 struct cgroup_subsys_state *css; in blk_cgroup_congested() local
Dkthread.h205 static inline void kthread_associate_blkcg(struct cgroup_subsys_state *css) { } in kthread_associate_blkcg()
/Linux-v4.19/drivers/s390/cio/
Dcss.c783 css_generate_pgid(struct channel_subsystem *css, u32 tod_high) in css_generate_pgid()
802 struct channel_subsystem *css = to_css(dev); in channel_subsystem_release() local
811 struct channel_subsystem *css = to_css(dev); in real_cssid_show() local
823 struct channel_subsystem *css = to_css(dev); in cm_enable_show() local
835 struct channel_subsystem *css = to_css(dev); in cm_enable_store() local
891 struct channel_subsystem *css; in setup_css() local
949 struct channel_subsystem *css; in css_reboot_event() local
977 struct channel_subsystem *css; in css_power_event() local
1074 struct channel_subsystem *css = channel_subsystems[i]; in css_bus_init() local
1090 struct channel_subsystem *css; in css_bus_cleanup() local
Dchp.c157 struct channel_subsystem *css, in chp_measurement_copy_block()
183 struct channel_subsystem *css; in chp_measurement_read() local
472 struct channel_subsystem *css = css_by_id(chpid.cssid); in chp_new() local
/Linux-v4.19/mm/
Dhugetlb_cgroup.c23 struct cgroup_subsys_state css; member
109 static void hugetlb_cgroup_css_free(struct cgroup_subsys_state *css) in hugetlb_cgroup_css_free()
161 static void hugetlb_cgroup_css_offline(struct cgroup_subsys_state *css) in hugetlb_cgroup_css_offline()
264 static u64 hugetlb_cgroup_read_u64(struct cgroup_subsys_state *css, in hugetlb_cgroup_read_u64()
Dmemcontrol.c915 struct cgroup_subsys_state *css = NULL; in mem_cgroup_iter() local
2920 static u64 mem_cgroup_hierarchy_read(struct cgroup_subsys_state *css, in mem_cgroup_hierarchy_read()
2926 static int mem_cgroup_hierarchy_write(struct cgroup_subsys_state *css, in mem_cgroup_hierarchy_write()
3017 static u64 mem_cgroup_read_u64(struct cgroup_subsys_state *css, in mem_cgroup_read_u64()
3091 struct cgroup_subsys_state *css; in memcg_offline_kmem() local
3290 static u64 mem_cgroup_move_charge_read(struct cgroup_subsys_state *css, in mem_cgroup_move_charge_read()
3297 static int mem_cgroup_move_charge_write(struct cgroup_subsys_state *css, in mem_cgroup_move_charge_write()
3315 static int mem_cgroup_move_charge_write(struct cgroup_subsys_state *css, in mem_cgroup_move_charge_write()
3476 static u64 mem_cgroup_swappiness_read(struct cgroup_subsys_state *css, in mem_cgroup_swappiness_read()
3484 static int mem_cgroup_swappiness_write(struct cgroup_subsys_state *css, in mem_cgroup_swappiness_write()
[all …]
/Linux-v4.19/security/
Ddevice_cgroup.c41 struct cgroup_subsys_state css; member
174 static int devcgroup_online(struct cgroup_subsys_state *css) in devcgroup_online()
195 static void devcgroup_offline(struct cgroup_subsys_state *css) in devcgroup_offline()
221 static void devcgroup_css_free(struct cgroup_subsys_state *css) in devcgroup_css_free()
/Linux-v4.19/include/net/
Dnetprio_cgroup.h30 struct cgroup_subsys_state *css; in task_netprioidx() local
Dcls_cgroup.h24 struct cgroup_subsys_state css; member
/Linux-v4.19/drivers/gpu/drm/i915/
Dintel_uc_fw.c45 struct uc_css_header *css; in intel_uc_fw_fetch() local
/Linux-v4.19/block/
Dblk-cgroup.c441 static int blkcg_reset_stats(struct cgroup_subsys_state *css, in blkcg_reset_stats()
1074 static void blkcg_css_offline(struct cgroup_subsys_state *css) in blkcg_css_offline()
1118 static void blkcg_css_free(struct cgroup_subsys_state *css) in blkcg_css_free()
1728 struct cgroup_subsys_state *css; in blkcg_maybe_throttle_current() local

123