/Linux-v6.6/tools/lib/ |
D | rbtree.c | 230 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-v6.6/lib/ |
D | rbtree.c | 230 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-v6.6/kernel/ |
D | resource.c | 63 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 …]
|
/Linux-v6.6/arch/s390/kernel/ |
D | guarded_storage.c | 96 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()
|
D | Makefile | 33 CFLAGS_stacktrace.o += -fno-optimize-sibling-calls 34 CFLAGS_dumpstack.o += -fno-optimize-sibling-calls 35 CFLAGS_unwind_bc.o += -fno-optimize-sibling-calls
|
/Linux-v6.6/drivers/media/platform/amphion/ |
D | vpu_helpers.c | 66 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()
|
/Linux-v6.6/arch/sparc/kernel/ |
D | pci_psycho.c | 191 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()
|
/Linux-v6.6/arch/x86/kernel/ |
D | smpboot.c | 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() 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() 1394 cpumask_clear_cpu(cpu, topology_sibling_cpumask(sibling)); in remove_siblinginfo() 1395 if (cpumask_weight(topology_sibling_cpumask(sibling)) == 1) in remove_siblinginfo() 1396 cpu_data(sibling).smt_active = false; in remove_siblinginfo() [all …]
|
/Linux-v6.6/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 2542 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[0].prog = &self->root_prog; in FIXTURE_SETUP() 2586 self->sibling[0].metadata = _metadata; in FIXTURE_SETUP() [all …]
|
/Linux-v6.6/drivers/base/ |
D | arch_topology.c | 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()
|
D | cacheinfo.c | 422 unsigned int sibling, index, sib_index; in cache_shared_cpu_map_remove() local 426 for_each_cpu(sibling, &this_leaf->shared_cpu_map) { in cache_shared_cpu_map_remove() 428 get_cpu_cacheinfo(sibling); in cache_shared_cpu_map_remove() 430 if (sibling == cpu || !sib_cpu_ci->info_list) in cache_shared_cpu_map_remove() 433 for (sib_index = 0; sib_index < cache_leaves(sibling); sib_index++) { in cache_shared_cpu_map_remove() 434 sib_leaf = per_cpu_cacheinfo_idx(sibling, sib_index); in cache_shared_cpu_map_remove() 447 cpumask_clear_cpu(sibling, &this_leaf->shared_cpu_map); in cache_shared_cpu_map_remove()
|
/Linux-v6.6/drivers/gpu/drm/i915/gt/ |
D | intel_execlists_submission.c | 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() 3758 virtual_get_sibling(struct intel_engine_cs *engine, unsigned int sibling) in virtual_get_sibling() argument 3762 if (sibling >= ve->num_siblings) in virtual_get_sibling() 3765 return ve->siblings[sibling]; in virtual_get_sibling() 3829 struct intel_engine_cs *sibling = READ_ONCE(ve->siblings[n]); in virtual_submission_tasklet() local 3830 struct ve_node * const node = &ve->nodes[sibling->id]; in virtual_submission_tasklet() [all …]
|
/Linux-v6.6/drivers/powercap/ |
D | dtpm.c | 72 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()
|
/Linux-v6.6/Documentation/devicetree/ |
D | of_unittest.rst | 93 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 :)
|
/Linux-v6.6/kernel/sched/ |
D | topology.c | 908 struct sched_domain *sibling; in build_balance_mask() local 914 sibling = *per_cpu_ptr(sdd->sd, i); in build_balance_mask() 921 if (!sibling->child) in build_balance_mask() 925 if (!cpumask_equal(sg_span, sched_domain_span(sibling->child))) in build_balance_mask() 993 find_descended_sibling(struct sched_domain *sd, struct sched_domain *sibling) in find_descended_sibling() argument 999 while (sibling->child && in find_descended_sibling() 1000 !cpumask_subset(sched_domain_span(sibling->child), in find_descended_sibling() 1002 sibling = sibling->child; in find_descended_sibling() 1009 while (sibling->child && in find_descended_sibling() 1010 cpumask_equal(sched_domain_span(sibling->child), in find_descended_sibling() [all …]
|
/Linux-v6.6/Documentation/admin-guide/hw-vuln/ |
D | cross-thread-rsb.rst | 8 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
|
D | core-scheduling.rst | 105 During a schedule() event on any sibling of a core, the highest priority task on 106 the sibling's core is picked and assigned to the sibling calling schedule(), if 107 the sibling has the task enqueued. For rest of the siblings in the core, 114 switch to the new task immediately. If an idle task is selected for a sibling, 115 then the sibling is considered to be in a `forced idle` state. I.e., it may 127 task. If a sibling does not have a trusted task to run, it will be forced idle 131 the sibling to force it into idle. This results in 4 cases which need to be 189 sibling. Such attacks are possible for any combination of sibling CPU modes 212 sibling hyperthreads from one another. Prototypes of mitigations have been posted
|
/Linux-v6.6/drivers/pci/hotplug/ |
D | acpiphp_glue.c | 161 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() 539 list_for_each_entry(func, &slot->funcs, sibling) { in enable_slot() 572 list_for_each_entry(func, &slot->funcs, sibling) in disable_slot() 608 list_for_each_entry(func, &slot->funcs, sibling) { in get_slot_status() 1017 list_for_each_entry(func, &slot->funcs, sibling) in acpiphp_disable_and_eject_slot()
|
/Linux-v6.6/drivers/sh/clk/ |
D | core.c | 217 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-v6.6/drivers/perf/hisilicon/ |
D | hisi_pcie_pmu.c | 318 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() 390 struct perf_event *sibling; in hisi_pcie_pmu_find_related_event() local 394 sibling = pcie_pmu->hw_events[idx]; in hisi_pcie_pmu_find_related_event() 395 if (!sibling) in hisi_pcie_pmu_find_related_event() 398 if (!hisi_pcie_pmu_cmp_event(sibling, event)) in hisi_pcie_pmu_find_related_event() [all …]
|
/Linux-v6.6/drivers/perf/ |
D | qcom_l2_pmu.c | 442 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-v6.6/net/netfilter/ |
D | nf_conntrack_pptp.c | 133 struct nf_conn *sibling; in destroy_sibling_or_exp() local 141 sibling = nf_ct_tuplehash_to_ctrack(h); in destroy_sibling_or_exp() 142 pr_debug("setting timeout of conntrack %p to 0\n", sibling); in destroy_sibling_or_exp() 143 sibling->proto.gre.timeout = 0; in destroy_sibling_or_exp() 144 sibling->proto.gre.stream_timeout = 0; in destroy_sibling_or_exp() 145 nf_ct_kill(sibling); in destroy_sibling_or_exp() 146 nf_ct_put(sibling); in destroy_sibling_or_exp()
|
/Linux-v6.6/arch/powerpc/platforms/85xx/ |
D | smp.c | 390 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-v6.6/drivers/acpi/ |
D | dock.c | 36 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() 611 INIT_LIST_HEAD(&dock_station->sibling); in acpi_dock_add() 634 list_add(&dock_station->sibling, &dock_stations); in acpi_dock_add()
|
/Linux-v6.6/drivers/clk/renesas/ |
D | rzg2l-cpg.c | 887 struct mstp_clock *sibling; member 939 if (clock->sibling) { in rzg2l_mod_clock_enable() 945 enabled = clock->sibling->enabled; in rzg2l_mod_clock_enable() 959 if (clock->sibling) { in rzg2l_mod_clock_disable() 965 enabled = clock->sibling->enabled; in rzg2l_mod_clock_disable() 987 if (clock->sibling) in rzg2l_mod_clock_is_enabled() 1089 struct mstp_clock *sibling; in rzg2l_cpg_register_mod_clk() local 1092 sibling = rzg2l_mod_clock_get_sibling(clock, priv); in rzg2l_cpg_register_mod_clk() 1093 if (sibling) { in rzg2l_cpg_register_mod_clk() 1094 clock->sibling = sibling; in rzg2l_cpg_register_mod_clk() [all …]
|