Home
last modified time | relevance | path

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

12345678910>>...12

/openbmc/u-boot/lib/
H A Drbtree.c207 if (rb_is_red(sibling)) { in ____rb_erase_color()
223 sibling = tmp1; in ____rb_erase_color()
225 tmp1 = sibling->rb_right; in ____rb_erase_color()
227 tmp2 = sibling->rb_left; in ____rb_erase_color()
275 tmp1 = sibling; in ____rb_erase_color()
276 sibling = tmp2; in ____rb_erase_color()
301 if (rb_is_red(sibling)) { in ____rb_erase_color()
309 sibling = tmp1; in ____rb_erase_color()
311 tmp1 = sibling->rb_left; in ____rb_erase_color()
336 tmp1 = sibling; in ____rb_erase_color()
[all …]
/openbmc/linux/tools/lib/
H A Drbtree.c242 if (rb_is_red(sibling)) { in ____rb_erase_color()
252 tmp1 = sibling->rb_left; in ____rb_erase_color()
259 sibling = tmp1; in ____rb_erase_color()
261 tmp1 = sibling->rb_right; in ____rb_erase_color()
327 tmp1 = sibling; in ____rb_erase_color()
328 sibling = tmp2; in ____rb_erase_color()
342 tmp2 = sibling->rb_left; in ____rb_erase_color()
363 sibling = tmp1; in ____rb_erase_color()
365 tmp1 = sibling->rb_left; in ____rb_erase_color()
391 tmp1 = sibling; in ____rb_erase_color()
[all …]
/openbmc/linux/lib/
H A Drbtree.c242 if (rb_is_red(sibling)) { in ____rb_erase_color()
252 tmp1 = sibling->rb_left; in ____rb_erase_color()
259 sibling = tmp1; in ____rb_erase_color()
261 tmp1 = sibling->rb_right; in ____rb_erase_color()
327 tmp1 = sibling; in ____rb_erase_color()
328 sibling = tmp2; in ____rb_erase_color()
342 tmp2 = sibling->rb_left; in ____rb_erase_color()
363 sibling = tmp1; in ____rb_erase_color()
365 tmp1 = sibling->rb_left; in ____rb_erase_color()
391 tmp1 = sibling; in ____rb_erase_color()
[all …]
/openbmc/qemu/util/
H A Dinterval-tree.c361 sibling = parent->rb_right; in rb_erase_color()
363 if (rb_is_red(sibling)) { in rb_erase_color()
379 sibling = tmp1; in rb_erase_color()
381 tmp1 = sibling->rb_right; in rb_erase_color()
447 tmp1 = sibling; in rb_erase_color()
448 sibling = tmp2; in rb_erase_color()
462 tmp2 = sibling->rb_left; in rb_erase_color()
482 sibling = tmp1; in rb_erase_color()
484 tmp1 = sibling->rb_left; in rb_erase_color()
510 tmp1 = sibling; in rb_erase_color()
[all …]
/openbmc/linux/kernel/
H A Dresource.c65 return p->sibling; in next_resource()
72 return p->sibling; in next_resource_skip_children()
192 p = &tmp->sibling; in __request_resource()
218 chd->sibling = tmp->sibling; in __release_resource()
223 p = &tmp->sibling; in __release_resource()
237 p = p->sibling; in __release_child_resources()
799 new->sibling = next->sibling; in __insert_resource()
942 if (res->sibling && (res->sibling->start <= end)) in __adjust_resource()
1383 new_res->sibling = res->sibling; in release_mem_region_adjustable()
1444 res->sibling = cur->sibling; in merge_system_ram_resource()
[all …]
/openbmc/linux/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
/openbmc/linux/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
87 sibling = vpu_helper_find_sibling(inst, type, fmta); in vpu_helper_match_format()
88 if (sibling && sibling->pixfmt == fmtb) in vpu_helper_match_format()
/openbmc/libbej/test/
H A Dbej_tree_test.cpp21 EXPECT_THAT(node.nodeAttr.sibling, nullptr); in TEST()
38 EXPECT_THAT(node.nodeAttr.sibling, nullptr); in TEST()
55 EXPECT_THAT(node.nodeAttr.sibling, nullptr); in TEST()
83 EXPECT_THAT(child1.leaf.nodeAttr.sibling, &child2); in TEST()
100 EXPECT_THAT(child.leaf.nodeAttr.sibling, nullptr); in TEST()
133 EXPECT_THAT(child.leaf.nodeAttr.sibling, nullptr); in TEST()
152 EXPECT_THAT(child.leaf.nodeAttr.sibling, nullptr); in TEST()
171 EXPECT_THAT(child.leaf.nodeAttr.sibling, nullptr); in TEST()
190 EXPECT_THAT(child.leaf.nodeAttr.sibling, nullptr); in TEST()
/openbmc/libbej/src/
H A Dbej_tree.c11 node->nodeAttr.sibling = NULL; in bejTreeInitParent()
49 node->nodeAttr.sibling = NULL; in bejTreeInitChildNode()
124 lastChild->sibling = child; in bejTreeLinkChildToParent()
148 parent->metaData.nextChild = currentChild->sibling; in bejParentGoToNextChild()
149 return currentChild->sibling; in bejParentGoToNextChild()
/openbmc/linux/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()
/openbmc/linux/arch/x86/kernel/
H A Dsmpboot.c1378 int sibling; in remove_siblinginfo() local
1381 for_each_cpu(sibling, topology_core_cpumask(cpu)) { 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_cpumask(cpu)) { in remove_siblinginfo()
1396 cpu_data(sibling).smt_active = false; in remove_siblinginfo()
1399 for_each_cpu(sibling, cpu_llc_shared_mask(cpu)) in remove_siblinginfo()
1400 cpumask_clear_cpu(cpu, cpu_llc_shared_mask(sibling)); in remove_siblinginfo()
1401 for_each_cpu(sibling, cpu_l2c_shared_mask(cpu)) in remove_siblinginfo()
[all …]
/openbmc/qemu/hw/core/
H A Dclock.c92 QLIST_FOREACH(child, &clk->children, sibling) { in clock_propagate_period()
124 QLIST_INSERT_HEAD(&src->children, clk, sibling); in clock_set_source()
138 QLIST_REMOVE(clk, sibling); in clock_disconnect()
172 QLIST_FOREACH_SAFE(child, &clk->children, sibling, next) { in clock_finalizefn()
H A Dqdev.c63 QTAILQ_FOREACH(kid, &bus->children, sibling) { in bus_remove_child()
68 QTAILQ_REMOVE_RCU(&bus->children, kid, sibling); in bus_remove_child()
92 QTAILQ_INSERT_HEAD_RCU(&bus->children, kid, sibling); in bus_add_child()
275 QLIST_FOREACH(bus, &dev->child_bus, sibling) { in device_reset_child_foreach()
348 QLIST_FOREACH(bus, &dev->child_bus, sibling) { in qdev_get_child_bus()
371 QLIST_FOREACH(bus, &dev->child_bus, sibling) { in qdev_walk_children()
396 QTAILQ_FOREACH_RCU(kid, &bus->children, sibling) { in qdev_find_recursive()
403 QLIST_FOREACH(child, &dev->child_bus, sibling) { in qdev_find_recursive()
549 QLIST_FOREACH(bus, &dev->child_bus, sibling) { in device_set_realized()
592 QLIST_FOREACH(bus, &dev->child_bus, sibling) { in device_set_realized()
[all …]
H A Dbus.c53 QTAILQ_FOREACH_RCU(kid, &bus->children, sibling) { in qbus_walk_children()
96 QTAILQ_FOREACH_RCU(kid, &bus->children, sibling) { in bus_reset_child_foreach()
128 QLIST_INSERT_HEAD(&bus->parent->child_bus, bus, sibling); in qbus_init_internal()
150 QLIST_REMOVE(bus, sibling); in bus_unparent()
203 QTAILQ_FOREACH_RCU(kid, &bus->children, sibling) { in bus_set_realized()
/openbmc/linux/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c2564 memset(&self->sibling, 0, sizeof(self->sibling)); in FIXTURE_SETUP()
2579 self->sibling[0].tid = 0; in FIXTURE_SETUP()
2583 self->sibling[0].diverge = 0; in FIXTURE_SETUP()
2584 self->sibling[0].num_waits = 1; in FIXTURE_SETUP()
2587 self->sibling[1].tid = 0; in FIXTURE_SETUP()
2591 self->sibling[1].diverge = 0; in FIXTURE_SETUP()
2656 pthread_create(&sibling->tid, NULL, tsync_sibling, (void *)sibling); in tsync_start_sibling()
2688 self->sibling[0].diverge = 1; in TEST_F()
2835 self->sibling[0].diverge = 1; in TEST_F()
2880 self->sibling[0].diverge = 1; in TEST_F()
[all …]
/openbmc/linux/drivers/base/
H A Darch_topology.c806 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()
/openbmc/linux/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()
/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dintel_execlists_submission.c3763 if (sibling >= ve->num_siblings) in virtual_get_sibling()
3766 return ve->siblings[sibling]; in virtual_get_sibling()
3843 &sibling->execlists.virtual); in virtual_submission_tasklet()
3881 &sibling->execlists.virtual, in virtual_submission_tasklet()
4006 if (sibling->mask & ve->base.mask) { in execlists_create_virtual()
4009 sibling->name); in execlists_create_virtual()
4031 ve->base.mask |= sibling->mask; in execlists_create_virtual()
4045 sibling->class, ve->base.class); in execlists_create_virtual()
4052 ve->base.class = sibling->class; in execlists_create_virtual()
4065 sibling->emit_fini_breadcrumb_dw; in execlists_create_virtual()
[all …]
/openbmc/linux/Documentation/devicetree/
H A Dof_unittest.rst93 struct device_node *sibling;
98 considering only child and sibling pointers. There exists another pointer,
100 a particular level the child node and all the sibling nodes will have a parent
163 replaces the current child and turns it into its sibling. So, when the testcase
204 sibling compared to the earlier structure (Figure 2). After attaching first
206 (i.e. test-child0) to become a sibling and makes itself a child node,
225 node's parent to its sibling or attaches the previous sibling to the given
226 node's sibling, as appropriate. That is it :)
/openbmc/linux/Documentation/admin-guide/hw-vuln/
H A Dcross-thread-rsb.rst8 predictions vulnerability. When running in SMT mode and one sibling thread
9 transitions out of C0 state, the other sibling thread could use return target
10 predictions from the sibling thread that transitioned out of C0.
16 being consumed by the sibling thread.
52 used by RET predictions in the sibling thread following a 1T/2T switch. In
/openbmc/linux/kernel/sched/
H A Dtopology.c908 struct sched_domain *sibling; in build_balance_mask() local
921 if (!sibling->child) in build_balance_mask()
999 while (sibling->child && in find_descended_sibling()
1002 sibling = sibling->child; in find_descended_sibling()
1009 while (sibling->child && in find_descended_sibling()
1011 sched_domain_span(sibling))) in find_descended_sibling()
1012 sibling = sibling->child; in find_descended_sibling()
1014 return sibling; in find_descended_sibling()
1024 struct sched_domain *sibling; in build_overlap_sched_groups() local
1081 if (sibling->child && in build_overlap_sched_groups()
[all …]
/openbmc/linux/drivers/pci/hotplug/
H A Dacpiphp_glue.c161 list_for_each_entry_safe(func, tmp, &slot->funcs, sibling) in free_bridge()
330 list_add_tail(&newfunc->sibling, &slot->funcs); in acpiphp_add_context()
345 list_for_each_entry(func, &slot->funcs, sibling) { in cleanup_bridge()
398 list_for_each_entry(func, &slot->funcs, sibling) { in acpiphp_set_acpi_region()
422 list_for_each_entry(func, &slot->funcs, sibling) { in check_hotplug_bridge()
434 list_for_each_entry(func, &slot->funcs, sibling) { in acpiphp_rescan_slot()
536 list_for_each_entry(func, &slot->funcs, sibling) { in enable_slot()
569 list_for_each_entry(func, &slot->funcs, sibling) in disable_slot()
605 list_for_each_entry(func, &slot->funcs, sibling) { in get_slot_status()
1014 list_for_each_entry(func, &slot->funcs, sibling) in acpiphp_disable_and_eject_slot()
/openbmc/linux/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()
/openbmc/linux/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, event)) in hisi_pcie_pmu_find_related_event()
[all …]

12345678910>>...12