Home
last modified time | relevance | path

Searched refs:sibling (Results 1 - 25 of 305) sorted by relevance

12345678910>>...13

/kernel/linux/linux-5.10/tools/lib/
H A Drbtree.c230 struct rb_node *node = NULL, *sibling, *tmp1, *tmp2; in ____rb_erase_color() local
240 sibling = parent->rb_right; in ____rb_erase_color()
241 if (node != sibling) { /* node == parent->rb_left */ in ____rb_erase_color()
242 if (rb_is_red(sibling)) { in ____rb_erase_color()
252 tmp1 = sibling->rb_left; in ____rb_erase_color()
254 WRITE_ONCE(sibling->rb_left, parent); in ____rb_erase_color()
256 __rb_rotate_set_parents(parent, sibling, root, in ____rb_erase_color()
258 augment_rotate(parent, sibling); in ____rb_erase_color()
259 sibling = tmp1; in ____rb_erase_color()
261 tmp1 = sibling in ____rb_erase_color()
[all...]
/kernel/linux/linux-5.10/lib/
H A Drbtree.c230 struct rb_node *node = NULL, *sibling, *tmp1, *tmp2; in ____rb_erase_color() local
240 sibling = parent->rb_right; in ____rb_erase_color()
241 if (node != sibling) { /* node == parent->rb_left */ in ____rb_erase_color()
242 if (rb_is_red(sibling)) { in ____rb_erase_color()
252 tmp1 = sibling->rb_left; in ____rb_erase_color()
254 WRITE_ONCE(sibling->rb_left, parent); in ____rb_erase_color()
256 __rb_rotate_set_parents(parent, sibling, root, in ____rb_erase_color()
258 augment_rotate(parent, sibling); in ____rb_erase_color()
259 sibling = tmp1; in ____rb_erase_color()
261 tmp1 = sibling in ____rb_erase_color()
[all...]
/kernel/linux/linux-6.6/tools/lib/
H A Drbtree.c230 struct rb_node *node = NULL, *sibling, *tmp1, *tmp2; in ____rb_erase_color() local
240 sibling = parent->rb_right; in ____rb_erase_color()
241 if (node != sibling) { /* node == parent->rb_left */ in ____rb_erase_color()
242 if (rb_is_red(sibling)) { in ____rb_erase_color()
252 tmp1 = sibling->rb_left; in ____rb_erase_color()
254 WRITE_ONCE(sibling->rb_left, parent); in ____rb_erase_color()
256 __rb_rotate_set_parents(parent, sibling, root, in ____rb_erase_color()
258 augment_rotate(parent, sibling); in ____rb_erase_color()
259 sibling = tmp1; in ____rb_erase_color()
261 tmp1 = sibling in ____rb_erase_color()
[all...]
/kernel/linux/linux-6.6/lib/
H A Drbtree.c230 struct rb_node *node = NULL, *sibling, *tmp1, *tmp2; in ____rb_erase_color() local
240 sibling = parent->rb_right; in ____rb_erase_color()
241 if (node != sibling) { /* node == parent->rb_left */ in ____rb_erase_color()
242 if (rb_is_red(sibling)) { in ____rb_erase_color()
252 tmp1 = sibling->rb_left; in ____rb_erase_color()
254 WRITE_ONCE(sibling->rb_left, parent); in ____rb_erase_color()
256 __rb_rotate_set_parents(parent, sibling, root, in ____rb_erase_color()
258 augment_rotate(parent, sibling); in ____rb_erase_color()
259 sibling = tmp1; in ____rb_erase_color()
261 tmp1 = sibling in ____rb_erase_color()
[all...]
/kernel/linux/linux-5.10/kernel/
H A Dresource.c68 return p->sibling; in next_resource()
72 while (!p->sibling && p->parent) in next_resource()
74 return p->sibling; in next_resource()
157 res->sibling = bootmem_resource_free; in free_resource()
172 bootmem_resource_free = res->sibling; in alloc_resource()
201 new->sibling = tmp; in __request_resource()
206 p = &tmp->sibling; in __request_resource()
224 *p = tmp->sibling; in __release_resource()
226 for (chd = tmp->child;; chd = chd->sibling) { in __release_resource()
228 if (!(chd->sibling)) in __release_resource()
[all...]
/kernel/linux/linux-6.6/kernel/
H A 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 in __release_resource()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/amphion/
H A Dvpu_helpers.c66 const struct vpu_format *sibling; in vpu_helper_find_sibling() local
69 if (!fmt || !fmt->sibling) in vpu_helper_find_sibling()
72 sibling = vpu_helper_find_format(inst, type, fmt->sibling); in vpu_helper_find_sibling()
73 if (!sibling || sibling->sibling != fmt->pixfmt || in vpu_helper_find_sibling()
74 sibling->comp_planes != fmt->comp_planes) in vpu_helper_find_sibling()
77 return sibling; in vpu_helper_find_sibling()
82 const struct vpu_format *sibling; in vpu_helper_match_format() local
[all...]
/kernel/linux/linux-5.10/arch/s390/kernel/
H A Dguarded_storage.c96 struct task_struct *sibling; in gs_broadcast() local
99 for_each_thread(current, sibling) { in gs_broadcast()
100 if (!sibling->thread.gs_bc_cb) in gs_broadcast()
102 if (test_and_set_tsk_thread_flag(sibling, TIF_GUARDED_STORAGE)) in gs_broadcast()
103 kick_process(sibling); in gs_broadcast()
H A DMakefile32 CFLAGS_stacktrace.o += -fno-optimize-sibling-calls
33 CFLAGS_dumpstack.o += -fno-optimize-sibling-calls
34 CFLAGS_unwind_bc.o += -fno-optimize-sibling-calls
/kernel/linux/linux-6.6/arch/s390/kernel/
H A Dguarded_storage.c96 struct task_struct *sibling; in gs_broadcast() local
99 for_each_thread(current, sibling) { in gs_broadcast()
100 if (!sibling->thread.gs_bc_cb) in gs_broadcast()
102 if (test_and_set_tsk_thread_flag(sibling, TIF_GUARDED_STORAGE)) in gs_broadcast()
103 kick_process(sibling); in gs_broadcast()
H A DMakefile33 CFLAGS_stacktrace.o += -fno-optimize-sibling-calls
34 CFLAGS_dumpstack.o += -fno-optimize-sibling-calls
35 CFLAGS_unwind_bc.o += -fno-optimize-sibling-calls
/kernel/linux/linux-5.10/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c2476 struct tsync_sibling sibling[TSYNC_SIBLINGS]; in FIXTURE() local
2498 memset(&self->sibling, 0, sizeof(self->sibling)); in FIXTURE_SETUP()
2513 self->sibling[0].tid = 0; in FIXTURE_SETUP()
2514 self->sibling[0].cond = &self->cond; in FIXTURE_SETUP()
2515 self->sibling[0].started = &self->started; in FIXTURE_SETUP()
2516 self->sibling[0].mutex = &self->mutex; in FIXTURE_SETUP()
2517 self->sibling[0].diverge = 0; in FIXTURE_SETUP()
2518 self->sibling[0].num_waits = 1; in FIXTURE_SETUP()
2519 self->sibling[ in FIXTURE_SETUP()
2588 tsync_start_sibling(struct tsync_sibling *sibling) tsync_start_sibling() argument
[all...]
/kernel/linux/linux-5.10/arch/sparc/kernel/
H A Dpci_psycho.c189 if (pbm->sibling) in psycho_ue_intr()
190 psycho_check_iommu_error(pbm->sibling, afsr, afar, UE_ERR); in psycho_ue_intr()
526 pbm->sibling = psycho_find_sibling(upa_portid); in psycho_probe()
527 if (pbm->sibling) { in psycho_probe()
528 iommu = pbm->sibling->iommu; in psycho_probe()
563 if (!pbm->sibling) { in psycho_probe()
579 if (pbm->sibling) in psycho_probe()
580 pbm->sibling->sibling = pbm; in psycho_probe()
587 if (!pbm->sibling) in psycho_probe()
[all...]
/kernel/linux/linux-6.6/arch/sparc/kernel/
H A Dpci_psycho.c191 if (pbm->sibling) in psycho_ue_intr()
192 psycho_check_iommu_error(pbm->sibling, afsr, afar, UE_ERR); in psycho_ue_intr()
528 pbm->sibling = psycho_find_sibling(upa_portid); in psycho_probe()
529 if (pbm->sibling) { in psycho_probe()
530 iommu = pbm->sibling->iommu; in psycho_probe()
565 if (!pbm->sibling) { in psycho_probe()
581 if (pbm->sibling) in psycho_probe()
582 pbm->sibling->sibling = pbm; in psycho_probe()
589 if (!pbm->sibling) in psycho_probe()
[all...]
/kernel/linux/linux-6.6/arch/x86/kernel/
H A Dsmpboot.c110 /* Representing CPUs for which sibling maps can be computed */
463 "sched: CPU #%d's %s-sibling CPU #%d is not on the same node! " in topology_sane()
1378 int sibling; in remove_siblinginfo() local
1381 for_each_cpu(sibling, topology_core_cpumask(cpu)) { in remove_siblinginfo()
1382 cpumask_clear_cpu(cpu, topology_core_cpumask(sibling)); in remove_siblinginfo()
1384 * last thread sibling in this cpu core going down in remove_siblinginfo()
1387 cpu_data(sibling).booted_cores--; in remove_siblinginfo()
1390 for_each_cpu(sibling, topology_die_cpumask(cpu)) in remove_siblinginfo()
1391 cpumask_clear_cpu(cpu, topology_die_cpumask(sibling)); in remove_siblinginfo()
1393 for_each_cpu(sibling, topology_sibling_cpumas in remove_siblinginfo()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c2542 struct tsync_sibling sibling[TSYNC_SIBLINGS]; in FIXTURE() local
2564 memset(&self->sibling, 0, sizeof(self->sibling)); in FIXTURE_SETUP()
2579 self->sibling[0].tid = 0; in FIXTURE_SETUP()
2580 self->sibling[0].cond = &self->cond; in FIXTURE_SETUP()
2581 self->sibling[0].started = &self->started; in FIXTURE_SETUP()
2582 self->sibling[0].mutex = &self->mutex; in FIXTURE_SETUP()
2583 self->sibling[0].diverge = 0; in FIXTURE_SETUP()
2584 self->sibling[0].num_waits = 1; in FIXTURE_SETUP()
2585 self->sibling[ in FIXTURE_SETUP()
2654 tsync_start_sibling(struct tsync_sibling *sibling) tsync_start_sibling() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/
H A Dintel_execlists_submission.c566 * After this point, the rq may be transferred to a new sibling, so in kick_siblings()
1420 goto unlock; /* lost the race to a sibling */ in execlists_dequeue()
1433 return; /* leave this for another sibling */ in execlists_dequeue()
3633 * the rb_node into a sibling. in rcu_virtual_context_destroy()
3639 struct intel_engine_cs *sibling = ve->siblings[n]; in rcu_virtual_context_destroy() local
3640 struct rb_node *node = &ve->nodes[sibling->id].rb; in rcu_virtual_context_destroy()
3645 spin_lock_irq(&sibling->sched_engine->lock); in rcu_virtual_context_destroy()
3649 rb_erase_cached(node, &sibling->execlists.virtual); in rcu_virtual_context_destroy()
3651 spin_unlock_irq(&sibling->sched_engine->lock); in rcu_virtual_context_destroy()
3694 * Pick a random sibling o in virtual_engine_initial_hint()
3758 virtual_get_sibling(struct intel_engine_cs *engine, unsigned int sibling) virtual_get_sibling() argument
3829 struct intel_engine_cs *sibling = READ_ONCE(ve->siblings[n]); virtual_submission_tasklet() local
4002 struct intel_engine_cs *sibling = siblings[n]; execlists_create_virtual() local
[all...]
/kernel/linux/linux-6.6/drivers/base/
H A Darch_topology.c741 /* update core and thread sibling masks */ in update_siblings_masks()
806 int sibling; in remove_cpu_topology() local
808 for_each_cpu(sibling, topology_core_cpumask(cpu)) in remove_cpu_topology()
809 cpumask_clear_cpu(cpu, topology_core_cpumask(sibling)); in remove_cpu_topology()
810 for_each_cpu(sibling, topology_sibling_cpumask(cpu)) in remove_cpu_topology()
811 cpumask_clear_cpu(cpu, topology_sibling_cpumask(sibling)); in remove_cpu_topology()
812 for_each_cpu(sibling, topology_cluster_cpumask(cpu)) in remove_cpu_topology()
813 cpumask_clear_cpu(cpu, topology_cluster_cpumask(sibling)); in remove_cpu_topology()
814 for_each_cpu(sibling, topology_llc_cpumask(cpu)) in remove_cpu_topology()
815 cpumask_clear_cpu(cpu, topology_llc_cpumask(sibling)); in remove_cpu_topology()
[all...]
/kernel/linux/linux-5.10/kernel/sched/
H A Dtopology.c864 struct sched_domain *sibling; in build_balance_mask() local
870 sibling = *per_cpu_ptr(sdd->sd, i); in build_balance_mask()
877 if (!sibling->child) in build_balance_mask()
881 if (!cpumask_equal(sg_span, sched_domain_span(sibling->child))) in build_balance_mask()
947 find_descended_sibling(struct sched_domain *sd, struct sched_domain *sibling) in find_descended_sibling() argument
953 while (sibling->child && in find_descended_sibling()
954 !cpumask_subset(sched_domain_span(sibling->child), in find_descended_sibling()
956 sibling = sibling->child; in find_descended_sibling()
963 while (sibling in find_descended_sibling()
978 struct sched_domain *sibling; build_overlap_sched_groups() local
[all...]
/kernel/linux/linux-6.6/kernel/sched/
H A Dtopology.c912 struct sched_domain *sibling; in build_balance_mask() local
918 sibling = *per_cpu_ptr(sdd->sd, i); in build_balance_mask()
925 if (!sibling->child) in build_balance_mask()
929 if (!cpumask_equal(sg_span, sched_domain_span(sibling->child))) in build_balance_mask()
997 find_descended_sibling(struct sched_domain *sd, struct sched_domain *sibling) in find_descended_sibling() argument
1003 while (sibling->child && in find_descended_sibling()
1004 !cpumask_subset(sched_domain_span(sibling->child), in find_descended_sibling()
1006 sibling = sibling->child; in find_descended_sibling()
1013 while (sibling in find_descended_sibling()
1028 struct sched_domain *sibling; build_overlap_sched_groups() local
[all...]
/kernel/linux/linux-5.10/drivers/base/
H A Darch_topology.c514 /* update core and thread sibling masks */ in update_siblings_masks()
568 int sibling; in remove_cpu_topology() local
570 for_each_cpu(sibling, topology_core_cpumask(cpu)) in remove_cpu_topology()
571 cpumask_clear_cpu(cpu, topology_core_cpumask(sibling)); in remove_cpu_topology()
572 for_each_cpu(sibling, topology_sibling_cpumask(cpu)) in remove_cpu_topology()
573 cpumask_clear_cpu(cpu, topology_sibling_cpumask(sibling)); in remove_cpu_topology()
574 for_each_cpu(sibling, topology_llc_cpumask(cpu)) in remove_cpu_topology()
575 cpumask_clear_cpu(cpu, topology_llc_cpumask(sibling)); in remove_cpu_topology()
/kernel/linux/linux-5.10/drivers/sh/clk/
H A Dcore.c217 list_del_init(&child->sibling); in clk_reparent()
219 list_add(&child->sibling, &parent->children); in clk_reparent()
230 list_for_each_entry(clkp, &tclk->children, sibling) { in propagate_rate()
321 list_for_each_entry(clkp, &root_clks, sibling) { in recalculate_root_clocks()
434 list_add(&clk->sibling, &clk->parent->children); in clk_register()
436 list_add(&clk->sibling, &root_clks); in clk_register()
455 list_del(&clk->sibling); in clk_unregister()
/kernel/linux/linux-6.6/drivers/sh/clk/
H A Dcore.c217 list_del_init(&child->sibling); in clk_reparent()
219 list_add(&child->sibling, &parent->children); in clk_reparent()
230 list_for_each_entry(clkp, &tclk->children, sibling) { in propagate_rate()
321 list_for_each_entry(clkp, &root_clks, sibling) { in recalculate_root_clocks()
434 list_add(&clk->sibling, &clk->parent->children); in clk_register()
436 list_add(&clk->sibling, &root_clks); in clk_register()
455 list_del(&clk->sibling); in clk_unregister()
/kernel/linux/linux-6.6/drivers/powercap/
H A Ddtpm.c72 list_for_each_entry(child, &dtpm->children, sibling) { in __get_power_uw()
91 list_for_each_entry(child, &dtpm->children, sibling) { in __dtpm_rebalance_weight()
178 list_del(&dtpm->sibling); in dtpm_release_zone()
231 list_for_each_entry(child, &dtpm->children, sibling) { in __set_power_limit_uw()
323 INIT_LIST_HEAD(&dtpm->sibling); in dtpm_init()
398 list_add_tail(&dtpm->sibling, &parent->children); in dtpm_register()
622 list_for_each_entry_safe(child, aux, &dtpm->children, sibling) in __dtpm_destroy_hierarchy()
/kernel/linux/linux-6.6/drivers/perf/hisilicon/
H A Dhisi_pcie_pmu.c318 struct perf_event *sibling, *leader = event->group_leader; in hisi_pcie_pmu_validate_event_group() local
332 for_each_sibling_event(sibling, event->group_leader) { in hisi_pcie_pmu_validate_event_group()
333 if (is_software_event(sibling)) in hisi_pcie_pmu_validate_event_group()
336 if (sibling->pmu != event->pmu) in hisi_pcie_pmu_validate_event_group()
340 if (hisi_pcie_pmu_cmp_event(event_group[num], sibling)) in hisi_pcie_pmu_validate_event_group()
345 event_group[counters++] = sibling; in hisi_pcie_pmu_validate_event_group()
391 struct perf_event *sibling; in hisi_pcie_pmu_find_related_event() local
395 sibling = pcie_pmu->hw_events[idx]; in hisi_pcie_pmu_find_related_event()
396 if (!sibling) in hisi_pcie_pmu_find_related_event()
399 if (!hisi_pcie_pmu_cmp_event(sibling, even in hisi_pcie_pmu_find_related_event()
[all...]

Completed in 33 milliseconds

12345678910>>...13