| /linux/tools/lib/ |
| H A 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 in ____rb_erase_color() [all...] |
| /linux/lib/ |
| H A 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/tools/perf/pmu-events/arch/x86/sandybridge/ |
| H A D | cache.json | 654 …nd & prefetch code reads that hit in the LLC and the snoop to one of the sibling cores hits the li… 664 …"BriefDescription": "Counts demand & prefetch code reads that hit in the LLC and sibling core snoo… 674 … demand & prefetch code reads that hit in the LLC and the snoops sent to sibling cores return clea… 704 …nd & prefetch data reads that hit in the LLC and the snoop to one of the sibling cores hits the li… 714 …ounts demand & prefetch data reads that hit in the LLC and the snoops to sibling cores hit in eith… 724 …"BriefDescription": "Counts demand & prefetch data reads that hit in the LLC and sibling core snoo… 734 … demand & prefetch data reads that hit in the LLC and the snoops sent to sibling cores return clea… 754 …unts prefetch code reads that hit in the LLC and the snoop to one of the sibling cores hits the li… 764 …tion": "Counts prefetch code reads that hit in the LLC and the snoops to sibling cores hit in eith… 774 …"BriefDescription": "Counts prefetch code reads that hit in the LLC and sibling core snoops are no… [all …]
|
| /linux/kernel/ |
| H A D | resource.c | 72 while (!p->sibling && p->parent) { in next_resource() 77 return p->sibling; in next_resource() 205 new->sibling = tmp; in __request_resource() 210 p = &tmp->sibling; in __request_resource() 228 *p = tmp->sibling; in __release_resource() 230 for (chd = tmp->child;; chd = chd->sibling) { in __release_resource() 232 if (!(chd->sibling)) in __release_resource() 236 chd->sibling = tmp->sibling; in __release_resource() 241 p = &tmp->sibling; in __release_resource() 255 p = p->sibling; in __release_child_resources() [all …]
|
| /linux/security/landlock/ |
| H A D | tsync.c | 33 /* True if sibling tasks need to set the no_new_privs flag. */ 48 /* Sibling threads wait for completion. */ 138 * Make sure that all sibling tasks fulfill the no_new_privs prerequisite. in restrict_one_thread() 294 * count_additional_threads - counts the sibling threads that are not in works 324 * schedule_task_work - adds task_work for all eligible sibling threads 331 * true, if at least one eligible sibling thread was found 359 * We found a sibling thread that is not doing its task_work yet, and in schedule_task_work() 430 * restrict_sibling_threads - enables a Landlock policy for all sibling threads 452 * sibling threads. In the task work, each thread: in landlock_restrict_sibling_threads() 461 * calling task after ensuring that all sibling threads have done in landlock_restrict_sibling_threads() [all …]
|
| /linux/Documentation/admin-guide/hw-vuln/ |
| H A 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
|
| H A 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
|
| /linux/tools/perf/pmu-events/arch/x86/nehalemep/ |
| H A D | cache.json | 934 …"BriefDescription": "Retired loads that hit sibling core's L2 in modified or unmodified states (Pr… 952 …"BriefDescription": "Load instructions retired that HIT modified data in sibling core (Precise Eve… 1034 … "BriefDescription": "Offcore data reads satisfied by the LLC and not found in a sibling core", 1044 "BriefDescription": "Offcore data reads satisfied by the LLC and HIT in a sibling core", 1054 "BriefDescription": "Offcore data reads satisfied by the LLC and HITM in a sibling core", 1154 … "BriefDescription": "Offcore code reads satisfied by the LLC and not found in a sibling core", 1164 "BriefDescription": "Offcore code reads satisfied by the LLC and HIT in a sibling core", 1174 "BriefDescription": "Offcore code reads satisfied by the LLC and HITM in a sibling core", 1274 "BriefDescription": "Offcore requests satisfied by the LLC and not found in a sibling core", 1284 "BriefDescription": "Offcore requests satisfied by the LLC and HIT in a sibling core", [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/westmereex/ |
| H A D | cache.json | 814 …"BriefDescription": "Retired loads that hit sibling core's L2 in modified or unmodified states (Pr… 832 …"BriefDescription": "Load instructions retired that HIT modified data in sibling core (Precise Eve… 1030 … "BriefDescription": "Offcore data reads satisfied by the LLC and not found in a sibling core", 1040 "BriefDescription": "Offcore data reads satisfied by the LLC and HIT in a sibling core", 1050 "BriefDescription": "Offcore data reads satisfied by the LLC and HITM in a sibling core", 1150 … "BriefDescription": "Offcore code reads satisfied by the LLC and not found in a sibling core", 1160 "BriefDescription": "Offcore code reads satisfied by the LLC and HIT in a sibling core", 1170 "BriefDescription": "Offcore code reads satisfied by the LLC and HITM in a sibling core", 1270 "BriefDescription": "Offcore requests satisfied by the LLC and not found in a sibling core", 1280 "BriefDescription": "Offcore requests satisfied by the LLC and HIT in a sibling core", [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/nehalemex/ |
| H A D | cache.json | 934 …"BriefDescription": "Retired loads that hit sibling core's L2 in modified or unmodified states (Pr… 989 … "BriefDescription": "Offcore data reads satisfied by the LLC and not found in a sibling core", 999 "BriefDescription": "Offcore data reads satisfied by the LLC and HIT in a sibling core", 1009 "BriefDescription": "Offcore data reads satisfied by the LLC and HITM in a sibling core", 1109 … "BriefDescription": "Offcore code reads satisfied by the LLC and not found in a sibling core", 1119 "BriefDescription": "Offcore code reads satisfied by the LLC and HIT in a sibling core", 1129 "BriefDescription": "Offcore code reads satisfied by the LLC and HITM in a sibling core", 1229 "BriefDescription": "Offcore requests satisfied by the LLC and not found in a sibling core", 1239 "BriefDescription": "Offcore requests satisfied by the LLC and HIT in a sibling core", 1249 "BriefDescription": "Offcore requests satisfied by the LLC and HITM in a sibling core", [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/ivytown/ |
| H A D | cache.json | 717 …nd & prefetch data reads that hit in the LLC and the snoop to one of the sibling cores hits the li… 727 …ounts demand & prefetch data reads that hit in the LLC and the snoops to sibling cores hit in eith… 737 …"BriefDescription": "Counts demand & prefetch data reads that hit in the LLC and sibling core snoo… 747 …"BriefDescription": "Counts demand & prefetch data reads that hit in the LLC and sibling core snoo… 767 …unts prefetch data reads that hit in the LLC and the snoop to one of the sibling cores hits the li… 777 …tion": "Counts prefetch data reads that hit in the LLC and the snoops to sibling cores hit in eith… 787 …"BriefDescription": "Counts prefetch data reads that hit in the LLC and sibling core snoops are no… 797 …"BriefDescription": "Counts prefetch data reads that hit in the LLC and sibling core snoop returne… 817 …eads (demand & prefetch) that hit in the LLC and the snoop to one of the sibling cores hits the li… 827 …code/rfo reads (demand & prefetch) that hit in the LLC and the snoops to sibling cores hit in eith… [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/skylakex/ |
| H A D | cache.json | 768 …and & prefetch data reads that hit in the L3 and the snoop to one of the sibling cores hits the li… 778 …and & prefetch data reads that hit in the L3 and the snoop to one of the sibling cores hits the li… 788 …"BriefDescription": "Counts all demand & prefetch data reads that hit in the L3 and sibling core s… 828 …s all prefetch data reads that hit in the L3 and the snoop to one of the sibling cores hits the li… 838 …s all prefetch data reads that hit in the L3 and the snoop to one of the sibling cores hits the li… 848 …"BriefDescription": "Counts all prefetch data reads that hit in the L3 and sibling core snoops are… 888 …n": "Counts prefetch RFOs that hit in the L3 and the snoop to one of the sibling cores hits the li… 898 …n": "Counts prefetch RFOs that hit in the L3 and the snoop to one of the sibling cores hits the li… 908 …"BriefDescription": "Counts prefetch RFOs that hit in the L3 and sibling core snoops are not neede… 928 …EADS.L3_HIT.HIT_OTHER_CORE_FWD hit in the L3 and the snoop to one of the sibling cores hits the li… [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/westmereep-sp/ |
| H A D | cache.json | 814 …"BriefDescription": "Retired loads that hit sibling core's L2 in modified or unmodified states (Pr… 832 …"BriefDescription": "Load instructions retired that HIT modified data in sibling core (Precise Eve… 1038 … "BriefDescription": "Offcore data reads satisfied by the LLC and not found in a sibling core", 1048 "BriefDescription": "Offcore data reads satisfied by the LLC and HIT in a sibling core", 1058 "BriefDescription": "Offcore data reads satisfied by the LLC and HITM in a sibling core", 1158 … "BriefDescription": "Offcore code reads satisfied by the LLC and not found in a sibling core", 1168 "BriefDescription": "Offcore code reads satisfied by the LLC and HIT in a sibling core", 1178 "BriefDescription": "Offcore code reads satisfied by the LLC and HITM in a sibling core", 1278 "BriefDescription": "Offcore requests satisfied by the LLC and not found in a sibling core", 1288 "BriefDescription": "Offcore requests satisfied by the LLC and HIT in a sibling core", [all …]
|
| /linux/tools/testing/selftests/powerpc/pmu/event_code_tests/ |
| H A D | group_constraint_thresh_cmp_test.c | 52 /* Expected to fail as sibling and leader event request different thresh_cmp bits */ in group_constraint_thresh_cmp() 60 /* Add the same thresh_cmp value for leader and sibling event in config1 */ in group_constraint_thresh_cmp() 63 /* Expected to succeed as sibling and leader event request same thresh_cmp bits */ in group_constraint_thresh_cmp() 75 /* Expected to fail as sibling and leader event request different thresh_cmp bits */ in group_constraint_thresh_cmp() 83 /* Expected to succeed as sibling and leader event request same thresh_cmp bits */ in group_constraint_thresh_cmp()
|
| H A D | group_constraint_mmcra_sample_test.c | 30 * as sibling event. in group_constraint_mmcra_sample() 37 /* Expected to fail as sibling event doesn't use same sampling bits as leader */ in group_constraint_mmcra_sample() 42 /* Expected to pass as sibling event use same sampling bits as leader */ in group_constraint_mmcra_sample()
|
| H A D | group_constraint_repeat_test.c | 31 * for leader and sibling event which is expected in group_constraint_repeat() 39 /* Expected to fail since sibling event is requesting same PMC as leader */ in group_constraint_repeat() 44 /* Expected to pass since sibling event is requesting different PMC */ in group_constraint_repeat()
|
| /linux/arch/s390/kernel/ |
| H A D | guarded_storage.c | 97 struct task_struct *sibling; in gs_broadcast() local 100 for_each_thread(current, sibling) { in gs_broadcast() 101 if (!sibling->thread.gs_bc_cb) in gs_broadcast() 103 if (test_and_set_tsk_thread_flag(sibling, TIF_GUARDED_STORAGE)) in gs_broadcast() 104 kick_process(sibling); in gs_broadcast()
|
| /linux/tools/perf/pmu-events/arch/x86/jaketown/ |
| H A D | cache.json | 673 …nd & prefetch data reads that hit in the LLC and the snoop to one of the sibling cores hits the li… 683 …ounts demand & prefetch data reads that hit in the LLC and the snoops to sibling cores hit in eith… 693 …"BriefDescription": "Counts demand & prefetch data reads that hit in the LLC and sibling core snoo… 703 …"BriefDescription": "Counts demand & prefetch data reads that hit in the LLC and sibling core snoo… 723 …unts prefetch data reads that hit in the LLC and the snoop to one of the sibling cores hits the li… 733 …tion": "Counts prefetch data reads that hit in the LLC and the snoops to sibling cores hit in eith… 743 …"BriefDescription": "Counts prefetch data reads that hit in the LLC and sibling core snoops are no… 753 …"BriefDescription": "Counts prefetch data reads that hit in the LLC and sibling core snoop returne… 783 …eads (demand & prefetch) that hit in the LLC and the snoop to one of the sibling cores hits the li… 793 …code/rfo reads (demand & prefetch) that hit in the LLC and the snoops to sibling cores hit in eith… [all …]
|
| /linux/tools/testing/selftests/seccomp/ |
| H A D | seccomp_bpf.c | 2558 struct tsync_sibling sibling[TSYNC_SIBLINGS]; in FIXTURE() local 2580 memset(&self->sibling, 0, sizeof(self->sibling)); in FIXTURE_SETUP() 2595 self->sibling[0].tid = 0; in FIXTURE_SETUP() 2596 self->sibling[0].cond = &self->cond; in FIXTURE_SETUP() 2597 self->sibling[0].started = &self->started; in FIXTURE_SETUP() 2598 self->sibling[0].mutex = &self->mutex; in FIXTURE_SETUP() 2599 self->sibling[0].diverge = 0; in FIXTURE_SETUP() 2600 self->sibling[0].num_waits = 1; in FIXTURE_SETUP() 2601 self->sibling[0].prog = &self->root_prog; in FIXTURE_SETUP() 2602 self->sibling[0].metadata = _metadata; in FIXTURE_SETUP() [all …]
|
| /linux/drivers/base/ |
| H A D | cacheinfo.c | 455 unsigned int sibling, index, sib_index; in cache_shared_cpu_map_remove() local 459 for_each_cpu(sibling, &this_leaf->shared_cpu_map) { in cache_shared_cpu_map_remove() 460 if (sibling == cpu || !per_cpu_cacheinfo(sibling)) in cache_shared_cpu_map_remove() 463 for (sib_index = 0; sib_index < cache_leaves(sibling); sib_index++) { in cache_shared_cpu_map_remove() 464 sib_leaf = per_cpu_cacheinfo_idx(sibling, sib_index); in cache_shared_cpu_map_remove() 477 cpumask_clear_cpu(sibling, &this_leaf->shared_cpu_map); in cache_shared_cpu_map_remove() 938 unsigned int sibling; in cpu_map_shared_cache() local 953 /* shared_cpu_map of offlined CPU will be cleared, so use sibling map */ in cpu_map_shared_cache() 954 for_each_cpu(sibling, &llc->shared_cpu_map) { in cpu_map_shared_cache() 955 if (sibling == cpu || !last_level_cache_is_valid(sibling)) in cpu_map_shared_cache() [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/haswell/ |
| H A D | cache.json | 719 …"Counts all demand & prefetch code reads hit in the L3 and the snoops to sibling cores hit in eith… 729 …l demand & prefetch data reads hit in the L3 and the snoop to one of the sibling cores hits the li… 739 …"Counts all demand & prefetch data reads hit in the L3 and the snoops to sibling cores hit in eith… 749 …"BriefDescription": "hit in the L3 and the snoop to one of the sibling cores hits the line in M st… 759 …"BriefDescription": "hit in the L3 and the snoops to sibling cores hit in either E/S state and the… 779 …nts all demand & prefetch RFOs hit in the L3 and the snoop to one of the sibling cores hits the li… 789 …ion": "Counts all demand & prefetch RFOs hit in the L3 and the snoops to sibling cores hit in eith… 799 … "Counts all demand code reads hit in the L3 and the snoop to one of the sibling cores hits the li… 809 …"BriefDescription": "Counts all demand code reads hit in the L3 and the snoops to sibling cores hi… 819 …on": "Counts demand data reads hit in the L3 and the snoop to one of the sibling cores hits the li… [all …]
|
| /linux/arch/sparc/kernel/ |
| H A 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/drivers/gpu/drm/i915/gt/ |
| H A D | intel_execlists_submission.c | 563 * After this point, the rq may be transferred to a new sibling, so in kick_siblings() 1417 goto unlock; /* lost the race to a sibling */ in execlists_dequeue() 1430 return; /* leave this for another sibling */ in execlists_dequeue() 3627 * the rb_node into a sibling. in rcu_virtual_context_destroy() 3633 struct intel_engine_cs *sibling = ve->siblings[n]; in rcu_virtual_context_destroy() local 3634 struct rb_node *node = &ve->nodes[sibling->id].rb; in rcu_virtual_context_destroy() 3639 spin_lock_irq(&sibling->sched_engine->lock); in rcu_virtual_context_destroy() 3643 rb_erase_cached(node, &sibling->execlists.virtual); in rcu_virtual_context_destroy() 3645 spin_unlock_irq(&sibling->sched_engine->lock); in rcu_virtual_context_destroy() 3688 * Pick a random sibling on starting to help spread the load around. in virtual_engine_initial_hint() [all …]
|
| /linux/arch/x86/kernel/ |
| H A D | smpboot.c | 106 /* Representing CPUs for which sibling maps can be computed */ 330 "sched: CPU #%d's %s-sibling CPU #%d is not on the same node! " in topology_sane() 1296 int sibling; in remove_siblinginfo() local 1299 for_each_cpu(sibling, topology_core_cpumask(cpu)) { in remove_siblinginfo() 1300 cpumask_clear_cpu(cpu, topology_core_cpumask(sibling)); in remove_siblinginfo() 1302 * last thread sibling in this cpu core going down in remove_siblinginfo() 1305 cpu_data(sibling).booted_cores--; in remove_siblinginfo() 1308 for_each_cpu(sibling, topology_die_cpumask(cpu)) in remove_siblinginfo() 1309 cpumask_clear_cpu(cpu, topology_die_cpumask(sibling)); in remove_siblinginfo() 1311 for_each_cpu(sibling, topology_sibling_cpumask(cpu)) { in remove_siblinginfo() [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/haswellx/ |
| H A D | cache.json | 752 …"Counts all demand & prefetch code reads hit in the L3 and the snoops to sibling cores hit in eith… 762 …l demand & prefetch data reads hit in the L3 and the snoop to one of the sibling cores hits the li… 772 …"Counts all demand & prefetch data reads hit in the L3 and the snoops to sibling cores hit in eith… 782 …/rfo reads (demand & prefetch) hit in the L3 and the snoop to one of the sibling cores hits the li… 792 … data/code/rfo reads (demand & prefetch) hit in the L3 and the snoops to sibling cores hit in eith… 812 …nts all demand & prefetch RFOs hit in the L3 and the snoop to one of the sibling cores hits the li… 822 …ion": "Counts all demand & prefetch RFOs hit in the L3 and the snoops to sibling cores hit in eith… 832 … "Counts all demand code reads hit in the L3 and the snoop to one of the sibling cores hits the li… 842 …"BriefDescription": "Counts all demand code reads hit in the L3 and the snoops to sibling cores hi… 852 …on": "Counts demand data reads hit in the L3 and the snoop to one of the sibling cores hits the li… [all …]
|