Home
last modified time | relevance | path

Searched refs:css (Results 1 – 25 of 27) sorted by relevance

12

/linux-4.19.296/drivers/s390/cio/
Dcss.c805 css_generate_pgid(struct channel_subsystem *css, u32 tod_high) in css_generate_pgid() argument
810 css->global_pgid.pgid_high.ext_cssid.version = 0x80; in css_generate_pgid()
811 css->global_pgid.pgid_high.ext_cssid.cssid = in css_generate_pgid()
812 (css->cssid < 0) ? 0 : css->cssid; in css_generate_pgid()
814 css->global_pgid.pgid_high.cpu_addr = stap(); in css_generate_pgid()
817 css->global_pgid.cpu_id = cpu_id.ident; in css_generate_pgid()
818 css->global_pgid.cpu_model = cpu_id.machine; in css_generate_pgid()
819 css->global_pgid.tod_high = tod_high; in css_generate_pgid()
824 struct channel_subsystem *css = to_css(dev); in channel_subsystem_release() local
826 mutex_destroy(&css->mutex); in channel_subsystem_release()
[all …]
Dchsc.c790 chsc_remove_cmg_attr(struct channel_subsystem *css) in chsc_remove_cmg_attr() argument
795 if (!css->chps[i]) in chsc_remove_cmg_attr()
797 chp_remove_cmg_attr(css->chps[i]); in chsc_remove_cmg_attr()
802 chsc_add_cmg_attr(struct channel_subsystem *css) in chsc_add_cmg_attr() argument
808 if (!css->chps[i]) in chsc_add_cmg_attr()
810 ret = chp_add_cmg_attr(css->chps[i]); in chsc_add_cmg_attr()
817 if (!css->chps[i]) in chsc_add_cmg_attr()
819 chp_remove_cmg_attr(css->chps[i]); in chsc_add_cmg_attr()
824 int __chsc_do_secm(struct channel_subsystem *css, int enable) in __chsc_do_secm() argument
853 secm_area->cub_addr1 = (u64)(unsigned long)css->cub_addr1; in __chsc_do_secm()
[all …]
Dcss.h141 #define for_each_css(css) \ argument
142 for ((css) = channel_subsystems[0]; (css); (css) = NULL)
Dchp.c157 struct channel_subsystem *css, in chp_measurement_copy_block() argument
165 area = css->cub_addr1; in chp_measurement_copy_block()
168 area = css->cub_addr2; in chp_measurement_copy_block()
183 struct channel_subsystem *css; in chp_measurement_read() local
189 css = to_css(chp->dev.parent); in chp_measurement_read()
196 chp_measurement_copy_block((struct cmg_entry *)buf, css, chp->chpid); in chp_measurement_read()
475 struct channel_subsystem *css = css_by_id(chpid.cssid); in chp_new() local
479 mutex_lock(&css->mutex); in chp_new()
491 chp->dev.parent = &css->device; in chp_new()
515 if (css->cm_enabled) { in chp_new()
[all …]
DMakefile10 obj-y += airq.o blacklist.o chsc.o cio.o css.o chp.o idset.o isc.o \
Dvfio_ccw_drv.c223 MODULE_DEVICE_TABLE(css, vfio_ccw_sch_ids);
Dchsc.h150 int __chsc_do_secm(struct channel_subsystem *css, int enable);
Deadm_sch.c359 MODULE_DEVICE_TABLE(css, eadm_subchannel_ids);
Ddevice.c975 struct channel_subsystem *css = to_css(sch->dev.parent); in ccw_device_move_to_orph() local
977 return ccw_device_move_to_sch(cdev, css->pseudo_subchannel); in ccw_device_move_to_orph()
/linux-4.19.296/include/linux/
Dcgroup.h100 bool css_has_online_children(struct cgroup_subsys_state *css);
141 struct cgroup_subsys_state *css);
144 struct cgroup_subsys_state *css);
151 void css_task_iter_start(struct cgroup_subsys_state *css, unsigned int flags,
234 #define css_for_each_descendant_pre(pos, css) \ argument
235 for ((pos) = css_next_descendant_pre(NULL, (css)); (pos); \
236 (pos) = css_next_descendant_pre((pos), (css)))
257 #define css_for_each_descendant_post(pos, css) \ argument
258 for ((pos) = css_next_descendant_post(NULL, (css)); (pos); \
259 (pos) = css_next_descendant_post((pos), (css)))
[all …]
Dblk-cgroup.h48 struct cgroup_subsys_state css; member
235 static inline struct blkcg *css_to_blkcg(struct cgroup_subsys_state *css) in css_to_blkcg() argument
237 return css ? container_of(css, struct blkcg, css) : NULL; in css_to_blkcg()
242 struct cgroup_subsys_state *css; in bio_blkcg() local
246 css = kthread_blkcg(); in bio_blkcg()
247 if (css) in bio_blkcg()
248 return css_to_blkcg(css); in bio_blkcg()
254 struct cgroup_subsys_state *css; in blk_cgroup_congested() local
258 css = kthread_blkcg(); in blk_cgroup_congested()
259 if (!css) in blk_cgroup_congested()
[all …]
Dcgroup-defs.h543 u64 (*read_u64)(struct cgroup_subsys_state *css, struct cftype *cft);
547 s64 (*read_s64)(struct cgroup_subsys_state *css, struct cftype *cft);
562 int (*write_u64)(struct cgroup_subsys_state *css, struct cftype *cft,
567 int (*write_s64)(struct cgroup_subsys_state *css, struct cftype *cft,
590 int (*css_online)(struct cgroup_subsys_state *css);
591 void (*css_offline)(struct cgroup_subsys_state *css);
592 void (*css_released)(struct cgroup_subsys_state *css);
593 void (*css_free)(struct cgroup_subsys_state *css);
594 void (*css_reset)(struct cgroup_subsys_state *css);
595 void (*css_rstat_flush)(struct cgroup_subsys_state *css, int cpu);
[all …]
Dmemcontrol.h198 struct cgroup_subsys_state css; member
403 struct mem_cgroup *mem_cgroup_from_css(struct cgroup_subsys_state *css){ in mem_cgroup_from_css() argument
404 return css ? container_of(css, struct mem_cgroup, css) : NULL; in mem_cgroup_from_css()
410 css_put(&memcg->css); in mem_cgroup_put()
464 return cgroup_is_descendant(memcg->css.cgroup, root->css.cgroup); in mem_cgroup_is_descendant()
488 return !!(memcg->css.flags & CSS_ONLINE); in mem_cgroup_online()
Dcgroup_rdma.h23 struct cgroup_subsys_state css; member
Dkthread.h205 void kthread_associate_blkcg(struct cgroup_subsys_state *css);
208 static inline void kthread_associate_blkcg(struct cgroup_subsys_state *css) { } in kthread_associate_blkcg() argument
Dperf_event.h841 struct cgroup_subsys_state css; member
856 struct perf_cgroup, css); in perf_cgroup_from_task()
Dswap.h630 if (mem_cgroup_disabled() || !memcg->css.parent) in mem_cgroup_swappiness()
/linux-4.19.296/include/net/
Dnetprio_cgroup.h30 struct cgroup_subsys_state *css; in task_netprioidx() local
34 css = task_css(p, net_prio_cgrp_id); in task_netprioidx()
35 idx = css->cgroup->id; in task_netprioidx()
Dcls_cgroup.h24 struct cgroup_subsys_state css; member
39 struct cgroup_cls_state, css)->classid; in task_cls_classid()
/linux-4.19.296/block/
Dblk-cgroup.c48 struct cgroup_subsys_state * const blkcg_root_css = &blkcg_root.css;
186 if (!css_tryget_online(&blkcg->css)) { in blkg_create()
192 blkcg->css.id, in blkg_create()
255 css_put(&blkcg->css); in blkg_create()
396 css_put(&blkg->blkcg->css); in __blkg_release_rcu()
441 static int blkcg_reset_stats(struct cgroup_subsys_state *css, in blkcg_reset_stats() argument
444 struct blkcg *blkcg = css_to_blkcg(css); in blkcg_reset_stats()
1092 static void blkcg_css_offline(struct cgroup_subsys_state *css) in blkcg_css_offline() argument
1094 struct blkcg *blkcg = css_to_blkcg(css); in blkcg_css_offline()
1136 static void blkcg_css_free(struct cgroup_subsys_state *css) in blkcg_css_free() argument
[all …]
Dcfq-iosched.c645 return cgroup_is_descendant(cfqg_to_blkg(cfqg)->blkcg->css.cgroup, in cfqg_is_descendant()
646 cfqg_to_blkg(ancestor)->blkcg->css.cgroup); in cfqg_is_descendant()
1528 static int __cfq_set_weight(struct cgroup_subsys_state *css, u64 val,
1611 WARN_ON_ONCE(__cfq_set_weight(&blkcg->css, weight, on_dfl, true, false)); in cfq_cpd_bind()
1612 WARN_ON_ONCE(__cfq_set_weight(&blkcg->css, weight, on_dfl, true, true)); in cfq_cpd_bind()
1820 static int __cfq_set_weight(struct cgroup_subsys_state *css, u64 val, in __cfq_set_weight() argument
1825 struct blkcg *blkcg = css_to_blkcg(css); in __cfq_set_weight()
1869 static int cfq_set_weight(struct cgroup_subsys_state *css, struct cftype *cft, in cfq_set_weight() argument
1872 return __cfq_set_weight(css, val, false, false, false); in cfq_set_weight()
1875 static int cfq_set_leaf_weight(struct cgroup_subsys_state *css, in cfq_set_leaf_weight() argument
[all …]
Dbfq-cgroup.c646 serial_nr = bio_blkcg(bio)->css.serial_nr; in bfq_bic_update_cgroup()
854 static int bfq_io_set_weight_legacy(struct cgroup_subsys_state *css, in bfq_io_set_weight_legacy() argument
858 struct blkcg *blkcg = css_to_blkcg(css); in bfq_io_set_weight_legacy()
Dblk-throttle.c306 if (!list_empty(&blkg->blkcg->css.children) || in tg_bps_limit()
336 if (!list_empty(&blkg->blkcg->css.children) || in tg_iops_limit()
1870 if (!list_empty(&tg_to_blkg(tg)->blkcg->css.children)) in throtl_can_upgrade()
1952 !list_empty(&tg_to_blkg(tg)->blkcg->css.children))) in throtl_tg_can_downgrade()
1979 if (!list_empty(&tg_to_blkg(tg)->blkcg->css.children)) in throtl_downgrade_check()
Dblk-iolatency.c415 bio_associate_blkcg(bio, &blkcg->css); in blkcg_iolatency_throttle()
/linux-4.19.296/fs/
Dfs-writeback.c734 struct cgroup_subsys_state *css; in wbc_account_io() local
746 css = mem_cgroup_css_from_page(page); in wbc_account_io()
748 if (!(css->flags & CSS_ONLINE)) in wbc_account_io()
751 id = css->id; in wbc_account_io()

12