Home
last modified time | relevance | path

Searched refs:sibling (Results 1 – 8 of 8) sorted by relevance

/kernel/
Dresource.c63 while (!p->sibling && p->parent) in next_resource()
65 return p->sibling; in next_resource()
70 while (!p->sibling && p->parent) in next_resource_skip_children()
72 return p->sibling; in next_resource_skip_children()
187 new->sibling = tmp; in __request_resource()
192 p = &tmp->sibling; in __request_resource()
210 *p = tmp->sibling; in __release_resource()
212 for (chd = tmp->child;; chd = chd->sibling) { in __release_resource()
214 if (!(chd->sibling)) in __release_resource()
218 chd->sibling = tmp->sibling; in __release_resource()
[all …]
Dexit.c134 list_del_init(&p->sibling); in __unhash_process()
469 list_for_each_entry(c, &p->children, sibling) { in mm_update_next_owner()
477 list_for_each_entry(c, &p->real_parent->children, sibling) { in mm_update_next_owner()
701 list_for_each_entry(p, &father->children, sibling) { in forget_original_parent()
1500 list_for_each_entry(p, &tsk->children, sibling) { in do_wait_thread()
Dfork.c2255 INIT_LIST_HEAD(&p->sibling); in copy_process()
2573 list_add_tail(&p->sibling, &p->real_parent->children); in copy_process()
3100 list_for_each_entry(child, &parent->children, sibling) { in walk_process_tree()
/kernel/sched/
Dtopology.c895 struct sched_domain *sibling; in build_balance_mask() local
901 sibling = *per_cpu_ptr(sdd->sd, i); in build_balance_mask()
908 if (!sibling->child) in build_balance_mask()
912 if (!cpumask_equal(sg_span, sched_domain_span(sibling->child))) in build_balance_mask()
980 find_descended_sibling(struct sched_domain *sd, struct sched_domain *sibling) in find_descended_sibling() argument
986 while (sibling->child && in find_descended_sibling()
987 !cpumask_subset(sched_domain_span(sibling->child), in find_descended_sibling()
989 sibling = sibling->child; in find_descended_sibling()
996 while (sibling->child && in find_descended_sibling()
997 cpumask_equal(sched_domain_span(sibling->child), in find_descended_sibling()
[all …]
Dfair.c1706 int sibling; in is_core_idle() local
1708 for_each_cpu(sibling, cpu_smt_mask(cpu)) { in is_core_idle()
1709 if (cpu == sibling) in is_core_idle()
1712 if (!idle_cpu(sibling)) in is_core_idle()
/kernel/events/
Dcore.c654 struct perf_event *sibling; in perf_event_update_sibling_time() local
656 for_each_sibling_event(sibling, leader) in perf_event_update_sibling_time()
657 perf_event_update_time(sibling); in perf_event_update_sibling_time()
1938 struct perf_event *sibling, *group_leader = event->group_leader; in perf_event_validate_size() local
1958 for_each_sibling_event(sibling, group_leader) { in perf_event_validate_size()
1959 if (__perf_event_read_size(sibling->attr.read_format, in perf_event_validate_size()
2164 struct perf_event *sibling, *tmp; in perf_group_detach() local
2194 list_for_each_entry_safe(sibling, tmp, &event->sibling_list, sibling_list) { in perf_group_detach()
2196 if (sibling->event_caps & PERF_EV_CAP_SIBLING) in perf_group_detach()
2197 perf_remove_sibling_event(sibling); in perf_group_detach()
[all …]
/kernel/cgroup/
Dcpuset.c1771 struct cpuset *sibling; in update_sibling_cpumasks() local
1785 cpuset_for_each_child(sibling, pos_css, parent) { in update_sibling_cpumasks()
1786 if (sibling == cs) in update_sibling_cpumasks()
1788 if (!sibling->use_parent_ecpus) in update_sibling_cpumasks()
1790 if (!css_tryget_online(&sibling->css)) in update_sibling_cpumasks()
1794 update_cpumasks_hier(sibling, tmp, false); in update_sibling_cpumasks()
1796 css_put(&sibling->css); in update_sibling_cpumasks()
Dcgroup.c732 list_for_each_entry((child), &(cgrp)->self.children, self.sibling) \
2019 INIT_LIST_HEAD(&cgrp->self.sibling); in init_cgroup_housekeeping()
4577 next = list_entry_rcu(parent->children.next, struct cgroup_subsys_state, sibling); in css_next_child()
4579 next = list_entry_rcu(pos->sibling.next, struct cgroup_subsys_state, sibling); in css_next_child()
4581 list_for_each_entry_rcu(next, &parent->children, sibling, in css_next_child()
4591 if (&next->sibling != &parent->children) in css_next_child()
5426 list_del_rcu(&css->sibling); in css_release_work_fn()
5490 INIT_LIST_HEAD(&css->sibling); in init_and_link_css()
5584 list_add_tail_rcu(&css->sibling, &parent_css->children); in css_create()
5594 list_del_rcu(&css->sibling); in css_create()
[all …]