Home
last modified time | relevance | path

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

1234567

/Linux-v5.4/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.4/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.4/kernel/
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 …]
/Linux-v5.4/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.4/arch/s390/numa/
Dtoptree.c42 INIT_LIST_HEAD(&res->sibling); in toptree_alloc()
60 list_del_init(&cand->sibling); in toptree_remove()
105 list_for_each_entry(child, &cand->children, sibling) in toptree_update_mask()
128 list_add_tail(&cand->sibling, &target->children); in toptree_insert()
265 list_for_each_entry(child, &context->children, sibling) { in toptree_first()
288 struct toptree, sibling)) in toptree_next_sibling()
290 return (struct toptree *) list_next_entry(cur, sibling); in toptree_next_sibling()
Dtoptree.h20 struct list_head sibling; member
37 list_for_each_entry(child, &ptree->children, sibling)
40 list_for_each_entry_safe(child, ptmp, &ptree->children, sibling)
44 (ptree->parent->children.prev == &ptree->sibling))
/Linux-v5.4/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.4/tools/testing/selftests/seccomp/
Dseccomp_bpf.c2314 struct tsync_sibling sibling[TSYNC_SIBLINGS]; in FIXTURE_DATA() local
2336 memset(&self->sibling, 0, sizeof(self->sibling)); in FIXTURE_SETUP()
2351 self->sibling[0].tid = 0; in FIXTURE_SETUP()
2352 self->sibling[0].cond = &self->cond; in FIXTURE_SETUP()
2353 self->sibling[0].started = &self->started; in FIXTURE_SETUP()
2354 self->sibling[0].mutex = &self->mutex; in FIXTURE_SETUP()
2355 self->sibling[0].diverge = 0; in FIXTURE_SETUP()
2356 self->sibling[0].num_waits = 1; in FIXTURE_SETUP()
2357 self->sibling[0].prog = &self->root_prog; in FIXTURE_SETUP()
2358 self->sibling[0].metadata = _metadata; in FIXTURE_SETUP()
[all …]
/Linux-v5.4/drivers/base/
Darch_topology.c510 int sibling; in remove_cpu_topology() local
512 for_each_cpu(sibling, topology_core_cpumask(cpu)) in remove_cpu_topology()
513 cpumask_clear_cpu(cpu, topology_core_cpumask(sibling)); in remove_cpu_topology()
514 for_each_cpu(sibling, topology_sibling_cpumask(cpu)) in remove_cpu_topology()
515 cpumask_clear_cpu(cpu, topology_sibling_cpumask(sibling)); in remove_cpu_topology()
516 for_each_cpu(sibling, topology_llc_cpumask(cpu)) in remove_cpu_topology()
517 cpumask_clear_cpu(cpu, topology_llc_cpumask(sibling)); in remove_cpu_topology()
/Linux-v5.4/drivers/gpu/drm/i915/gt/
Dintel_lrc.c3419 struct intel_engine_cs *sibling = ve->siblings[n]; in virtual_context_destroy() local
3420 struct rb_node *node = &ve->nodes[sibling->id].rb; in virtual_context_destroy()
3425 spin_lock_irq(&sibling->active.lock); in virtual_context_destroy()
3429 rb_erase_cached(node, &sibling->execlists.virtual); in virtual_context_destroy()
3431 spin_unlock_irq(&sibling->active.lock); in virtual_context_destroy()
3555 struct intel_engine_cs *sibling = ve->siblings[n]; in virtual_submission_tasklet() local
3556 struct ve_node * const node = &ve->nodes[sibling->id]; in virtual_submission_tasklet()
3560 if (unlikely(!(mask & sibling->mask))) { in virtual_submission_tasklet()
3562 spin_lock(&sibling->active.lock); in virtual_submission_tasklet()
3564 &sibling->execlists.virtual); in virtual_submission_tasklet()
[all …]
/Linux-v5.4/Documentation/devicetree/
Dof_unittest.txt65 struct device_node *sibling;
70 considering only child and sibling pointers. There exists another pointer,
72 a particular level the child node and all the sibling nodes will have a parent
135 replaces the current child and turns it into its sibling. So, when the testcase
176 sibling compared to the earlier structure (Figure 2). After attaching first
178 (i.e. test-child0) to become a sibling and makes itself a child node,
196 node's parent to its sibling or attaches the previous sibling to the given
197 node's sibling, as appropriate. That is it :)
/Linux-v5.4/drivers/pci/hotplug/
Dacpiphp_glue.c153 list_for_each_entry_safe(func, tmp, &slot->funcs, sibling) in free_bridge()
321 list_add_tail(&newfunc->sibling, &slot->funcs); in acpiphp_add_context()
336 list_for_each_entry(func, &slot->funcs, sibling) { in cleanup_bridge()
391 list_for_each_entry(func, &slot->funcs, sibling) { in acpiphp_set_acpi_region()
412 list_for_each_entry(func, &slot->funcs, sibling) { in check_hotplug_bridge()
424 list_for_each_entry(func, &slot->funcs, sibling) { in acpiphp_rescan_slot()
520 list_for_each_entry(func, &slot->funcs, sibling) { in enable_slot()
552 list_for_each_entry(func, &slot->funcs, sibling) in disable_slot()
588 list_for_each_entry(func, &slot->funcs, sibling) { in get_slot_status()
997 list_for_each_entry(func, &slot->funcs, sibling) in acpiphp_disable_and_eject_slot()
/Linux-v5.4/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.4/arch/powerpc/mm/
Dnuma.c507 int base, sibling, i; in verify_cpu_node_mapping() local
513 sibling = base + i; in verify_cpu_node_mapping()
515 if (sibling == cpu || cpu_is_offline(sibling)) in verify_cpu_node_mapping()
518 if (cpu_to_node(sibling) != node) { in verify_cpu_node_mapping()
520 " to the same node!\n", cpu, sibling); in verify_cpu_node_mapping()
1318 unsigned int cpu, sibling, changed = 0; in numa_update_cpu_topology() local
1366 for_each_cpu(sibling, cpu_sibling_mask(cpu)) { in numa_update_cpu_topology()
1369 ud->cpu = sibling; in numa_update_cpu_topology()
1371 ud->old_nid = numa_cpu_lookup_table[sibling]; in numa_update_cpu_topology()
1372 cpumask_set_cpu(sibling, &updated_cpus); in numa_update_cpu_topology()
/Linux-v5.4/drivers/net/ethernet/intel/ice/
Dice_sched.c343 if (p->sibling == node) { in ice_free_sched_node()
344 p->sibling = node->sibling; in ice_free_sched_node()
347 p = p->sibling; in ice_free_sched_node()
353 node->sibling; in ice_free_sched_node()
721 new_node->sibling = NULL; in ice_sched_add_elems()
728 while (prev->sibling) in ice_sched_add_elems()
729 prev = prev->sibling; in ice_sched_add_elems()
730 prev->sibling = new_node; in ice_sched_add_elems()
814 parent = parent->sibling; in ice_sched_add_nodes_to_layer()
1154 qgrp_node = qgrp_node->sibling; in ice_sched_get_free_qparent()
[all …]
/Linux-v5.4/net/netfilter/
Dnf_conntrack_pptp.c147 struct nf_conn *sibling; in destroy_sibling_or_exp() local
155 sibling = nf_ct_tuplehash_to_ctrack(h); in destroy_sibling_or_exp()
156 pr_debug("setting timeout of conntrack %p to 0\n", sibling); in destroy_sibling_or_exp()
157 sibling->proto.gre.timeout = 0; in destroy_sibling_or_exp()
158 sibling->proto.gre.stream_timeout = 0; in destroy_sibling_or_exp()
159 nf_ct_kill(sibling); in destroy_sibling_or_exp()
160 nf_ct_put(sibling); in destroy_sibling_or_exp()
/Linux-v5.4/arch/powerpc/platforms/85xx/
Dsmp.c381 int sibling = cpu_last_thread_sibling(cpu); in mpc85xx_smp_kexec_cpu_down() local
400 } else if (sibling != crashing_cpu && in mpc85xx_smp_kexec_cpu_down()
402 cpu_thread_in_core(sibling) != 0) { in mpc85xx_smp_kexec_cpu_down()
404 disable_cpu = sibling; in mpc85xx_smp_kexec_cpu_down()
/Linux-v5.4/arch/x86/kernel/
Dsmpboot.c1534 int sibling; in remove_siblinginfo() local
1537 for_each_cpu(sibling, topology_core_cpumask(cpu)) { in remove_siblinginfo()
1538 cpumask_clear_cpu(cpu, topology_core_cpumask(sibling)); in remove_siblinginfo()
1543 cpu_data(sibling).booted_cores--; in remove_siblinginfo()
1546 for_each_cpu(sibling, topology_die_cpumask(cpu)) in remove_siblinginfo()
1547 cpumask_clear_cpu(cpu, topology_die_cpumask(sibling)); in remove_siblinginfo()
1548 for_each_cpu(sibling, topology_sibling_cpumask(cpu)) in remove_siblinginfo()
1549 cpumask_clear_cpu(cpu, topology_sibling_cpumask(sibling)); in remove_siblinginfo()
1550 for_each_cpu(sibling, cpu_llc_shared_mask(cpu)) in remove_siblinginfo()
1551 cpumask_clear_cpu(cpu, cpu_llc_shared_mask(sibling)); in remove_siblinginfo()
/Linux-v5.4/drivers/perf/
Dqcom_l2_pmu.c484 struct perf_event *sibling; in l2_cache_event_init() local
521 for_each_sibling_event(sibling, event->group_leader) { in l2_cache_event_init()
522 if (sibling->pmu != event->pmu && in l2_cache_event_init()
523 !is_software_event(sibling)) { in l2_cache_event_init()
558 for_each_sibling_event(sibling, event->group_leader) { in l2_cache_event_init()
559 if ((sibling != event) && in l2_cache_event_init()
560 !is_software_event(sibling) && in l2_cache_event_init()
561 (L2_EVT_GROUP(sibling->attr.config) == in l2_cache_event_init()
565 sibling->attr.config, in l2_cache_event_init()
Dfsl_imx8_ddr_perf.c239 struct perf_event *sibling; in ddr_perf_event_init() local
264 for_each_sibling_event(sibling, event->group_leader) { in ddr_perf_event_init()
265 if (!ddr_perf_filters_compatible(event, sibling)) in ddr_perf_event_init()
270 for_each_sibling_event(sibling, event->group_leader) { in ddr_perf_event_init()
271 if (sibling->pmu != event->pmu && in ddr_perf_event_init()
272 !is_software_event(sibling)) in ddr_perf_event_init()
/Linux-v5.4/drivers/acpi/
Ddock.c38 struct list_head sibling; member
136 list_for_each_entry(ds, &dock_stations, sibling) in find_dock_station()
194 list_for_each_entry(dock_station, &dock_stations, sibling) in is_dock_device()
610 INIT_LIST_HEAD(&dock_station->sibling); in acpi_dock_add()
633 list_add(&dock_station->sibling, &dock_stations); in acpi_dock_add()
/Linux-v5.4/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.4/drivers/perf/hisilicon/
Dhisi_uncore_pmu.c64 struct perf_event *sibling, *leader = event->group_leader; in hisi_validate_event_group() local
82 for_each_sibling_event(sibling, event->group_leader) { in hisi_validate_event_group()
83 if (is_software_event(sibling)) in hisi_validate_event_group()
85 if (sibling->pmu != event->pmu) in hisi_validate_event_group()
/Linux-v5.4/drivers/of/
Ddynamic.c225 np->sibling = np->parent->child; in __of_attach_node()
266 parent->child = np->sibling; in __of_detach_node()
270 prevsib->sibling != np; in __of_detach_node()
271 prevsib = prevsib->sibling) in __of_detach_node()
273 prevsib->sibling = np->sibling; in __of_detach_node()

1234567