/linux-4.19.296/drivers/s390/cio/ |
D | css.c | 805 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 …]
|
D | chsc.c | 790 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 …]
|
D | css.h | 141 #define for_each_css(css) \ argument 142 for ((css) = channel_subsystems[0]; (css); (css) = NULL)
|
D | chp.c | 157 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 …]
|
D | Makefile | 10 obj-y += airq.o blacklist.o chsc.o cio.o css.o chp.o idset.o isc.o \
|
D | vfio_ccw_drv.c | 223 MODULE_DEVICE_TABLE(css, vfio_ccw_sch_ids);
|
D | chsc.h | 150 int __chsc_do_secm(struct channel_subsystem *css, int enable);
|
D | eadm_sch.c | 359 MODULE_DEVICE_TABLE(css, eadm_subchannel_ids);
|
D | device.c | 975 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/ |
D | cgroup.h | 100 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 …]
|
D | blk-cgroup.h | 48 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 …]
|
D | cgroup-defs.h | 543 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 …]
|
D | memcontrol.h | 198 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()
|
D | cgroup_rdma.h | 23 struct cgroup_subsys_state css; member
|
D | kthread.h | 205 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
|
D | perf_event.h | 841 struct cgroup_subsys_state css; member 856 struct perf_cgroup, css); in perf_cgroup_from_task()
|
D | swap.h | 630 if (mem_cgroup_disabled() || !memcg->css.parent) in mem_cgroup_swappiness()
|
/linux-4.19.296/include/net/ |
D | netprio_cgroup.h | 30 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()
|
D | cls_cgroup.h | 24 struct cgroup_subsys_state css; member 39 struct cgroup_cls_state, css)->classid; in task_cls_classid()
|
/linux-4.19.296/block/ |
D | blk-cgroup.c | 48 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 …]
|
D | cfq-iosched.c | 645 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 …]
|
D | bfq-cgroup.c | 646 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()
|
D | blk-throttle.c | 306 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()
|
D | blk-iolatency.c | 415 bio_associate_blkcg(bio, &blkcg->css); in blkcg_iolatency_throttle()
|
/linux-4.19.296/fs/ |
D | fs-writeback.c | 734 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()
|