Home
last modified time | relevance | path

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

12345678

/Linux-v5.15/tools/lib/
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->rb_right; in ____rb_erase_color()
[all …]
/Linux-v5.15/lib/
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->rb_right; in ____rb_erase_color()
[all …]
/Linux-v5.15/kernel/
Dresource.c71 while (!p->sibling && p->parent) in next_resource()
73 return p->sibling; in next_resource()
156 res->sibling = bootmem_resource_free; in free_resource()
171 bootmem_resource_free = res->sibling; in alloc_resource()
200 new->sibling = tmp; in __request_resource()
205 p = &tmp->sibling; in __request_resource()
223 *p = tmp->sibling; in __release_resource()
225 for (chd = tmp->child;; chd = chd->sibling) { in __release_resource()
227 if (!(chd->sibling)) in __release_resource()
231 chd->sibling = tmp->sibling; in __release_resource()
[all …]
/Linux-v5.15/arch/s390/kernel/
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()
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
/Linux-v5.15/arch/sparc/kernel/
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()
/Linux-v5.15/tools/testing/selftests/seccomp/
Dseccomp_bpf.c2474 struct tsync_sibling sibling[TSYNC_SIBLINGS]; in FIXTURE() local
2496 memset(&self->sibling, 0, sizeof(self->sibling)); in FIXTURE_SETUP()
2511 self->sibling[0].tid = 0; in FIXTURE_SETUP()
2512 self->sibling[0].cond = &self->cond; in FIXTURE_SETUP()
2513 self->sibling[0].started = &self->started; in FIXTURE_SETUP()
2514 self->sibling[0].mutex = &self->mutex; in FIXTURE_SETUP()
2515 self->sibling[0].diverge = 0; in FIXTURE_SETUP()
2516 self->sibling[0].num_waits = 1; in FIXTURE_SETUP()
2517 self->sibling[0].prog = &self->root_prog; in FIXTURE_SETUP()
2518 self->sibling[0].metadata = _metadata; in FIXTURE_SETUP()
[all …]
/Linux-v5.15/drivers/powercap/
Ddtpm.c71 list_for_each_entry(child, &dtpm->children, sibling) { in __get_power_uw()
97 list_for_each_entry(child, &dtpm->children, sibling) { in __dtpm_rebalance_weight()
201 list_del(&dtpm->sibling); in dtpm_release_zone()
270 list_for_each_entry(child, &dtpm->children, sibling) { in __set_power_limit_uw()
374 INIT_LIST_HEAD(&dtpm->sibling); in dtpm_alloc()
452 list_add_tail(&dtpm->sibling, &parent->children); in dtpm_register()
/Linux-v5.15/Documentation/devicetree/
Dof_unittest.rst72 struct device_node *sibling;
77 considering only child and sibling pointers. There exists another pointer,
79 a particular level the child node and all the sibling nodes will have a parent
142 replaces the current child and turns it into its sibling. So, when the testcase
183 sibling compared to the earlier structure (Figure 2). After attaching first
185 (i.e. test-child0) to become a sibling and makes itself a child node,
204 node's parent to its sibling or attaches the previous sibling to the given
205 node's sibling, as appropriate. That is it :)
/Linux-v5.15/drivers/gpu/drm/i915/gt/
Dintel_execlists_submission.c3493 struct intel_engine_cs *sibling = ve->siblings[n]; in rcu_virtual_context_destroy() local
3494 struct rb_node *node = &ve->nodes[sibling->id].rb; in rcu_virtual_context_destroy()
3499 spin_lock_irq(&sibling->sched_engine->lock); in rcu_virtual_context_destroy()
3503 rb_erase_cached(node, &sibling->execlists.virtual); in rcu_virtual_context_destroy()
3505 spin_unlock_irq(&sibling->sched_engine->lock); in rcu_virtual_context_destroy()
3612 virtual_get_sibling(struct intel_engine_cs *engine, unsigned int sibling) in virtual_get_sibling() argument
3616 if (sibling >= ve->num_siblings) in virtual_get_sibling()
3619 return ve->siblings[sibling]; in virtual_get_sibling()
3683 struct intel_engine_cs *sibling = READ_ONCE(ve->siblings[n]); in virtual_submission_tasklet() local
3684 struct ve_node * const node = &ve->nodes[sibling->id]; in virtual_submission_tasklet()
[all …]
/Linux-v5.15/drivers/base/
Darch_topology.c662 int sibling; in remove_cpu_topology() local
664 for_each_cpu(sibling, topology_core_cpumask(cpu)) in remove_cpu_topology()
665 cpumask_clear_cpu(cpu, topology_core_cpumask(sibling)); in remove_cpu_topology()
666 for_each_cpu(sibling, topology_sibling_cpumask(cpu)) in remove_cpu_topology()
667 cpumask_clear_cpu(cpu, topology_sibling_cpumask(sibling)); in remove_cpu_topology()
668 for_each_cpu(sibling, topology_llc_cpumask(cpu)) in remove_cpu_topology()
669 cpumask_clear_cpu(cpu, topology_llc_cpumask(sibling)); in remove_cpu_topology()
/Linux-v5.15/kernel/sched/
Dtopology.c874 struct sched_domain *sibling; in build_balance_mask() local
880 sibling = *per_cpu_ptr(sdd->sd, i); in build_balance_mask()
887 if (!sibling->child) in build_balance_mask()
891 if (!cpumask_equal(sg_span, sched_domain_span(sibling->child))) in build_balance_mask()
957 find_descended_sibling(struct sched_domain *sd, struct sched_domain *sibling) in find_descended_sibling() argument
963 while (sibling->child && in find_descended_sibling()
964 !cpumask_subset(sched_domain_span(sibling->child), in find_descended_sibling()
966 sibling = sibling->child; in find_descended_sibling()
973 while (sibling->child && in find_descended_sibling()
974 cpumask_equal(sched_domain_span(sibling->child), in find_descended_sibling()
[all …]
/Linux-v5.15/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_submission.c732 guc_virtual_get_sibling(struct intel_engine_cs *ve, unsigned int sibling) in guc_virtual_get_sibling() argument
739 if (num_siblings++ == sibling) in guc_virtual_get_sibling()
2196 struct intel_engine_cs *sibling; in guc_irq_enable_breadcrumbs() local
2200 for_each_engine_masked(sibling, b->irq_engine->gt, mask, tmp) in guc_irq_enable_breadcrumbs()
2201 result |= intel_engine_irq_enable(sibling); in guc_irq_enable_breadcrumbs()
2209 struct intel_engine_cs *sibling; in guc_irq_disable_breadcrumbs() local
2212 for_each_engine_masked(sibling, b->irq_engine->gt, mask, tmp) in guc_irq_disable_breadcrumbs()
2213 intel_engine_irq_disable(sibling); in guc_irq_disable_breadcrumbs()
2229 struct intel_engine_cs *sibling = in guc_init_breadcrumbs() local
2232 if (sibling) { in guc_init_breadcrumbs()
[all …]
/Linux-v5.15/drivers/pci/hotplug/
Dacpiphp_glue.c161 list_for_each_entry_safe(func, tmp, &slot->funcs, sibling) in free_bridge()
329 list_add_tail(&newfunc->sibling, &slot->funcs); in acpiphp_add_context()
344 list_for_each_entry(func, &slot->funcs, sibling) { in cleanup_bridge()
397 list_for_each_entry(func, &slot->funcs, sibling) { in acpiphp_set_acpi_region()
413 list_for_each_entry(func, &slot->funcs, sibling) { in check_hotplug_bridge()
425 list_for_each_entry(func, &slot->funcs, sibling) { in acpiphp_rescan_slot()
527 list_for_each_entry(func, &slot->funcs, sibling) { in enable_slot()
560 list_for_each_entry(func, &slot->funcs, sibling) in disable_slot()
596 list_for_each_entry(func, &slot->funcs, sibling) { in get_slot_status()
1005 list_for_each_entry(func, &slot->funcs, sibling) in acpiphp_disable_and_eject_slot()
/Linux-v5.15/drivers/sh/clk/
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()
/Linux-v5.15/drivers/perf/
Dqcom_l2_pmu.c442 struct perf_event *sibling; in l2_cache_event_init() local
479 for_each_sibling_event(sibling, event->group_leader) { in l2_cache_event_init()
480 if (sibling->pmu != event->pmu && in l2_cache_event_init()
481 !is_software_event(sibling)) { in l2_cache_event_init()
516 for_each_sibling_event(sibling, event->group_leader) { in l2_cache_event_init()
517 if ((sibling != event) && in l2_cache_event_init()
518 !is_software_event(sibling) && in l2_cache_event_init()
519 (L2_EVT_GROUP(sibling->attr.config) == in l2_cache_event_init()
523 sibling->attr.config, in l2_cache_event_init()
/Linux-v5.15/net/netfilter/
Dnf_conntrack_pptp.c155 struct nf_conn *sibling; in destroy_sibling_or_exp() local
163 sibling = nf_ct_tuplehash_to_ctrack(h); in destroy_sibling_or_exp()
164 pr_debug("setting timeout of conntrack %p to 0\n", sibling); in destroy_sibling_or_exp()
165 sibling->proto.gre.timeout = 0; in destroy_sibling_or_exp()
166 sibling->proto.gre.stream_timeout = 0; in destroy_sibling_or_exp()
167 nf_ct_kill(sibling); in destroy_sibling_or_exp()
168 nf_ct_put(sibling); in destroy_sibling_or_exp()
/Linux-v5.15/arch/powerpc/platforms/85xx/
Dsmp.c390 int sibling = cpu_last_thread_sibling(cpu); in mpc85xx_smp_kexec_cpu_down() local
409 } else if (sibling != crashing_cpu && in mpc85xx_smp_kexec_cpu_down()
411 cpu_thread_in_core(sibling) != 0) { in mpc85xx_smp_kexec_cpu_down()
413 disable_cpu = sibling; in mpc85xx_smp_kexec_cpu_down()
/Linux-v5.15/Documentation/admin-guide/hw-vuln/
Dcore-scheduling.rst104 During a schedule() event on any sibling of a core, the highest priority task on
105 the sibling's core is picked and assigned to the sibling calling schedule(), if
106 the sibling has the task enqueued. For rest of the siblings in the core,
113 switch to the new task immediately. If an idle task is selected for a sibling,
114 then the sibling is considered to be in a `forced idle` state. I.e., it may
126 task. If a sibling does not have a trusted task to run, it will be forced idle
130 the sibling to force it into idle. This results in 4 cases which need to be
188 sibling. Such attacks are possible for any combination of sibling CPU modes
211 sibling hyperthreads from one another. Prototypes of mitigations have been posted
/Linux-v5.15/arch/x86/kernel/
Dsmpboot.c1544 int sibling; in remove_siblinginfo() local
1547 for_each_cpu(sibling, topology_core_cpumask(cpu)) { in remove_siblinginfo()
1548 cpumask_clear_cpu(cpu, topology_core_cpumask(sibling)); in remove_siblinginfo()
1553 cpu_data(sibling).booted_cores--; in remove_siblinginfo()
1556 for_each_cpu(sibling, topology_die_cpumask(cpu)) in remove_siblinginfo()
1557 cpumask_clear_cpu(cpu, topology_die_cpumask(sibling)); in remove_siblinginfo()
1559 for_each_cpu(sibling, topology_sibling_cpumask(cpu)) { in remove_siblinginfo()
1560 cpumask_clear_cpu(cpu, topology_sibling_cpumask(sibling)); in remove_siblinginfo()
1561 if (cpumask_weight(topology_sibling_cpumask(sibling)) == 1) in remove_siblinginfo()
1562 cpu_data(sibling).smt_active = false; in remove_siblinginfo()
[all …]
/Linux-v5.15/drivers/acpi/
Ddock.c36 struct list_head sibling; member
134 list_for_each_entry(ds, &dock_stations, sibling) in find_dock_station()
192 list_for_each_entry(dock_station, &dock_stations, sibling) in is_dock_device()
612 INIT_LIST_HEAD(&dock_station->sibling); in acpi_dock_add()
635 list_add(&dock_station->sibling, &dock_stations); in acpi_dock_add()
/Linux-v5.15/arch/arm/mach-omap1/
Dclock.c739 list_del_init(&child->sibling); in clk_reparent()
741 list_add(&child->sibling, &parent->children); in clk_reparent()
753 list_for_each_entry(clkp, &tclk->children, sibling) { in propagate_rate()
773 list_for_each_entry(clkp, &root_clks, sibling) { in recalculate_root_clocks()
805 list_add(&clk->sibling, &clk->parent->children); in clk_register()
807 list_add(&clk->sibling, &root_clks); in clk_register()
824 list_del(&clk->sibling); in clk_unregister()
/Linux-v5.15/drivers/of/
Ddynamic.c226 np->sibling = np->parent->child; in __of_attach_node()
268 parent->child = np->sibling; in __of_detach_node()
272 prevsib->sibling != np; in __of_detach_node()
273 prevsib = prevsib->sibling) in __of_detach_node()
275 prevsib->sibling = np->sibling; in __of_detach_node()
/Linux-v5.15/net/sched/
Dsch_cbq.c100 struct cbq_class *sibling; /* Sibling chain */ member
878 } while ((cl = cl->sibling) != this->children); in cbq_adjust_levels()
986 clp = &this->sibling; in cbq_unlink_class()
990 *clp = cl->sibling; in cbq_unlink_class()
993 clp = &cl->sibling; in cbq_unlink_class()
994 } while ((cl = *clp) != this->sibling); in cbq_unlink_class()
997 this->tparent->children = this->sibling; in cbq_unlink_class()
998 if (this->sibling == this) in cbq_unlink_class()
1002 WARN_ON(this->sibling != this); in cbq_unlink_class()
1011 this->sibling = this; in cbq_link_class()
[all …]
/Linux-v5.15/arch/arm/mm/
Dcache-l2x0-pmu.c276 struct perf_event *sibling; in l2x0_pmu_group_is_valid() local
284 for_each_sibling_event(sibling, leader) { in l2x0_pmu_group_is_valid()
285 if (sibling->pmu == pmu) in l2x0_pmu_group_is_valid()
287 else if (!is_software_event(sibling)) in l2x0_pmu_group_is_valid()

12345678