/linux/kernel/cgroup/ |
H A D | debug.c | 43 struct css_set *cset; in current_css_set_read() local 53 cset = task_css_set(current); in current_css_set_read() 54 refcnt = refcount_read(&cset->refcount); in current_css_set_read() 55 seq_printf(seq, "css_set %pK %d", cset, refcnt); in current_css_set_read() 56 if (refcnt > cset->nr_tasks) in current_css_set_read() 57 seq_printf(seq, " +%d", refcnt - cset->nr_tasks); in current_css_set_read() 64 css = cset->subsys[ss->id]; in current_css_set_read() 90 struct css_set *cset; in current_css_set_cg_links_read() local 99 cset = task_css_set(current); in current_css_set_cg_links_read() 100 list_for_each_entry(link, &cset->cgrp_links, cgrp_link) { in current_css_set_cg_links_read() [all …]
|
H A D | cgroup.c | 616 count += link->cset->nr_tasks; in __cgroup_task_count() 752 static bool css_set_threaded(struct css_set *cset) in css_set_threaded() argument 754 return cset->dom_cset != cset; in css_set_threaded() 766 static bool css_set_populated(struct css_set *cset) in css_set_populated() argument 770 return !list_empty(&cset->tasks) || !list_empty(&cset->mg_tasks); in css_set_populated() 830 static void css_set_update_populated(struct css_set *cset, bool populated) in css_set_update_populated() argument 836 list_for_each_entry(link, &cset->cgrp_links, cgrp_link) in css_set_update_populated() 846 static void css_set_skip_task_iters(struct css_set *cset, in css_set_skip_task_iters() argument 851 list_for_each_entry_safe(it, pos, &cset->task_iters, iters_node) in css_set_skip_task_iters() 925 void put_css_set_locked(struct css_set *cset) in put_css_set_locked() argument [all …]
|
H A D | cgroup-internal.h | 99 struct css_set *cset; member 196 void put_css_set_locked(struct css_set *cset); 198 static inline void put_css_set(struct css_set *cset) in put_css_set() argument 207 if (refcount_dec_not_one(&cset->refcount)) in put_css_set() 211 put_css_set_locked(cset); in put_css_set() 218 static inline void get_css_set(struct css_set *cset) in get_css_set() argument 220 refcount_inc(&cset->refcount); in get_css_set()
|
H A D | namespace.c | 56 struct css_set *cset; in copy_cgroup_ns() local 75 cset = task_css_set(current); in copy_cgroup_ns() 76 get_css_set(cset); in copy_cgroup_ns() 81 put_css_set(cset); in copy_cgroup_ns() 88 new_ns->root_cset = cset; in copy_cgroup_ns()
|
H A D | pids.c | 273 static int pids_can_fork(struct task_struct *task, struct css_set *cset) in pids_can_fork() argument 278 pids = css_pids(cset->subsys[pids_cgrp_id]); in pids_can_fork() 286 static void pids_cancel_fork(struct task_struct *task, struct css_set *cset) in pids_cancel_fork() argument 290 pids = css_pids(cset->subsys[pids_cgrp_id]); in pids_cancel_fork()
|
H A D | cpuset.c | 3522 static int cpuset_can_fork(struct task_struct *task, struct css_set *cset) in cpuset_can_fork() argument 3524 struct cpuset *cs = css_cs(cset->subsys[cpuset_cgrp_id]); in cpuset_can_fork() 3561 static void cpuset_cancel_fork(struct task_struct *task, struct css_set *cset) in cpuset_cancel_fork() argument 3563 struct cpuset *cs = css_cs(cset->subsys[cpuset_cgrp_id]); in cpuset_cancel_fork()
|
H A D | cgroup-v1.c | 122 cgroup_migrate_add_src(link->cset, to, &mgctx); in cgroup_transfer_tasks()
|
/linux/drivers/of/ |
H A D | overlay.c | 79 struct of_changeset cset; member 352 ret = of_changeset_add_property(&ovcs->cset, target->np, in add_changeset_property() 355 ret = of_changeset_update_property(&ovcs->cset, target->np, in add_changeset_property() 434 ret = of_changeset_attach_node(&ovcs->cset, tchild); in add_changeset_node() 534 list_for_each_entry_continue(ce_2, &ovcs->cset.entries, node) { in find_dup_cset_node_entry() 568 list_for_each_entry_continue(ce_2, &ovcs->cset.entries, node) { in find_dup_cset_prop() 606 list_for_each_entry(ce_1, &ovcs->cset.entries, node) { in changeset_dup_entry_check() 850 if (ovcs->cset.entries.next) in free_overlay_changeset() 851 of_changeset_destroy(&ovcs->cset); in free_overlay_changeset() 935 ret = __of_changeset_apply_entries(&ovcs->cset, &ret_revert); in of_overlay_apply() [all …]
|
/linux/arch/arm64/boot/dts/renesas/ |
H A D | rz-smarc-common.dtsi | 16 * amixer cset name='Left Input Mixer L2 Switch' on 17 * amixer cset name='Right Input Mixer R2 Switch' on 18 * amixer cset name='Headphone Playback Volume' 100 19 * amixer cset name='PCM Volume' 100% 20 * amixer cset name='Input PGA Volume' 25
|
/linux/sound/soc/qcom/qdsp6/ |
H A D | q6afe.c | 1112 struct afe_clk_set cset = {0,}; in q6afe_set_lpass_clock() local 1114 cset.clk_set_minor_version = AFE_API_VERSION_CLOCK_SET; in q6afe_set_lpass_clock() 1115 cset.clk_id = clk_id; in q6afe_set_lpass_clock() 1116 cset.clk_freq_in_hz = freq; in q6afe_set_lpass_clock() 1117 cset.clk_attri = attri; in q6afe_set_lpass_clock() 1118 cset.clk_root = clk_root; in q6afe_set_lpass_clock() 1119 cset.enable = !!freq; in q6afe_set_lpass_clock() 1121 return q6afe_set_param(afe, NULL, &cset, AFE_PARAM_ID_CLOCK_SET, in q6afe_set_lpass_clock() 1122 AFE_MODULE_CLOCK_SET, sizeof(cset), in q6afe_set_lpass_clock() 1132 struct afe_clk_set cset = {0,}; in q6afe_port_set_sysclk() local [all …]
|
/linux/drivers/xen/ |
H A D | sys-hypervisor.c | 274 char *cset; in changeset_show() local 276 cset = kmalloc(XEN_CHANGESET_INFO_LEN, GFP_KERNEL); in changeset_show() 277 if (cset) { in changeset_show() 278 ret = HYPERVISOR_xen_version(XENVER_changeset, cset); in changeset_show() 280 ret = sprintf(buffer, "%s\n", cset); in changeset_show() 281 kfree(cset); in changeset_show()
|
/linux/drivers/video/console/ |
H A D | newport_con.c | 189 npregs->cset.topscan = 0x3ff; in newport_reset() 190 npregs->cset.xywin = (4096 << 16) | 4096; in newport_reset() 251 rex3_rev = npregs->cset.status & NPORT_STAT_VERS; in newport_get_revisions() 304 npregs->cset.config = NPORT_CFG_GD0; in newport_startup() 467 npregs->cset.topscan = 0x3ff; in newport_switch() 599 npregs->cset.topscan = (topscan - 1) & 0x3ff; in newport_scroll()
|
/linux/include/video/ |
H A D | newport.h | 291 struct newport_cregs cset; member 458 if (!(regs->cset.status & NPORT_STAT_GBUSY)) in newport_wait() 468 if(!(regs->cset.status & NPORT_STAT_BBUSY)) in newport_bfwait()
|
/linux/arch/arm64/kernel/ |
H A D | signal32.c | 51 compat_sigset_t cset; in put_sigset_t() local 53 cset.sig[0] = set->sig[0] & 0xffffffffull; in put_sigset_t() 54 cset.sig[1] = set->sig[0] >> 32; in put_sigset_t() 56 return copy_to_user(uset, &cset, sizeof(*uset)); in put_sigset_t()
|
/linux/include/linux/ |
H A D | cgroup-defs.h | 725 struct css_set *cset); 726 void (*cancel_fork)(struct task_struct *task, struct css_set *cset);
|
H A D | cgroup.h | 550 struct css_set *cset = task_css_set(task); in task_under_cgroup_hierarchy() local 552 return cgroup_is_descendant(cset->dfl_cgrp, ancestor); in task_under_cgroup_hierarchy()
|
/linux/include/linux/sched/ |
H A D | task.h | 45 struct css_set *cset; member
|
/linux/arch/arm64/lib/ |
H A D | memcmp.S | 112 cset result, ne
|
H A D | strncmp.S | 132 cset result, ne
|
/linux/Documentation/admin-guide/ |
H A D | bcache.rst | 92 You can also control them through /sys/fs//bcache/<cset-uuid>/ . 407 (if attached) /sys/fs/bcache/<cset-uuid>/bdev* 514 Available at /sys/fs/bcache/<cset-uuid>
|
/linux/drivers/cxl/core/ |
H A D | region.c | 2378 int cset = 0; in cxl_region_update_coordinates() local 2390 cset++; in cxl_region_update_coordinates() 2394 if (!cset) in cxl_region_update_coordinates()
|
/linux/kernel/sched/ |
H A D | core.c | 4801 tg = container_of(kargs->cset->subsys[cpu_cgrp_id], in sched_cgroup_fork()
|