Home
last modified time | relevance | path

Searched refs:bts (Results 1 – 20 of 20) sorted by relevance

/Linux-v6.6/tools/perf/util/
Dintel-bts.c67 struct intel_bts *bts; member
86 static void intel_bts_dump(struct intel_bts *bts __maybe_unused, in intel_bts_dump()
124 static void intel_bts_dump_event(struct intel_bts *bts, unsigned char *buf, in intel_bts_dump_event() argument
128 intel_bts_dump(bts, buf, len); in intel_bts_dump_event()
131 static int intel_bts_lost(struct intel_bts *bts, struct perf_sample *sample) in intel_bts_lost() argument
140 err = perf_session__deliver_synth_event(bts->session, &event, NULL); in intel_bts_lost()
148 static struct intel_bts_queue *intel_bts_alloc_queue(struct intel_bts *bts, in intel_bts_alloc_queue() argument
157 btsq->bts = bts; in intel_bts_alloc_queue()
166 static int intel_bts_setup_queue(struct intel_bts *bts, in intel_bts_setup_queue() argument
176 btsq = intel_bts_alloc_queue(bts, queue_nr); in intel_bts_setup_queue()
[all …]
DBuild119 perf-$(CONFIG_AUXTRACE) += intel-bts.o
/Linux-v6.6/arch/x86/events/intel/
Dbts.c183 static void bts_update(struct bts_ctx *bts) in bts_update() argument
187 struct bts_buffer *buf = perf_get_aux(&bts->handle); in bts_update()
201 perf_aux_output_flag(&bts->handle, in bts_update()
234 struct bts_ctx *bts = this_cpu_ptr(&bts_ctx); in __bts_event_start() local
235 struct bts_buffer *buf = perf_get_aux(&bts->handle); in __bts_event_start()
254 WRITE_ONCE(bts->state, BTS_STATE_ACTIVE); in __bts_event_start()
263 struct bts_ctx *bts = this_cpu_ptr(&bts_ctx); in bts_event_start() local
266 buf = perf_aux_output_begin(&bts->handle, event); in bts_event_start()
270 if (bts_buffer_reset(buf, &bts->handle)) in bts_event_start()
273 bts->ds_back.bts_buffer_base = cpuc->ds->bts_buffer_base; in bts_event_start()
[all …]
DMakefile2 obj-$(CONFIG_CPU_SUP_INTEL) += core.o bts.o
Dds.c572 if (!x86_pmu.bts) in alloc_bts_buffer()
599 if (!x86_pmu.bts) in release_bts_buffer()
627 if (!x86_pmu.bts && !x86_pmu.pebs) in release_ds_buffers()
656 if (!x86_pmu.bts && !x86_pmu.pebs) in reserve_ds_buffers()
659 if (!x86_pmu.bts) in reserve_ds_buffers()
695 if (x86_pmu.bts && !bts_err) in reserve_ds_buffers()
2333 x86_pmu.bts = boot_cpu_has(X86_FEATURE_BTS); in intel_ds_init()
2426 if (!x86_pmu.bts && !x86_pmu.pebs) in perf_restore_debug_store()
Dcore.c2210 static __always_inline void __intel_pmu_disable_all(bool bts) in __intel_pmu_disable_all() argument
2216 if (bts && test_bit(INTEL_PMC_IDX_FIXED_BTS, cpuc->active_mask)) in __intel_pmu_disable_all()
/Linux-v6.6/drivers/gpu/drm/lima/
Dlima_vm.c43 vm->bts[pbe].cpu[bte] = 0; in lima_vm_unmap_range()
52 if (!vm->bts[pbe].cpu) { in lima_vm_map_page()
57 vm->bts[pbe].cpu = dma_alloc_wc( in lima_vm_map_page()
59 &vm->bts[pbe].dma, GFP_KERNEL | __GFP_NOWARN | __GFP_ZERO); in lima_vm_map_page()
60 if (!vm->bts[pbe].cpu) in lima_vm_map_page()
63 pts = vm->bts[pbe].dma; in lima_vm_map_page()
71 vm->bts[pbe].cpu[bte] = pa | LIMA_VM_FLAGS_CACHE; in lima_vm_map_page()
243 if (vm->bts[i].cpu) in lima_vm_release()
245 vm->bts[i].cpu, vm->bts[i].dma); in lima_vm_release()
264 if (!vm->bts[i].cpu) in lima_vm_print()
[all …]
Dlima_vm.h38 struct lima_vm_page bts[LIMA_VM_NUM_BT]; member
/Linux-v6.6/arch/x86/include/asm/
Dsync_bitops.h34 asm volatile("lock; " __ASM_SIZE(bts) " %1,%0" in sync_set_bit()
85 return GEN_BINARY_RMWcc("lock; " __ASM_SIZE(bts), *addr, c, "Ir", nr); in sync_test_and_set_bit()
Dbitops.h60 asm volatile(LOCK_PREFIX __ASM_SIZE(bts) " %1,%0" in arch_set_bit()
68 asm volatile(__ASM_SIZE(bts) " %1,%0" : : ADDR, "Ir" (nr) : "memory"); in arch___set_bit()
138 return GEN_BINARY_RMWcc(LOCK_PREFIX __ASM_SIZE(bts), *addr, c, "Ir", nr); in arch_test_and_set_bit()
152 asm(__ASM_SIZE(bts) " %2,%1" in arch___test_and_set_bit()
Dnospec-branch.h88 bts $63, %rax; \
/Linux-v6.6/tools/arch/x86/include/asm/
Datomic.h76 GEN_BINARY_RMWcc(LOCK_PREFIX __ASM_SIZE(bts), *addr, "Ir", nr, "%0", "c"); in test_and_set_bit()
/Linux-v6.6/tools/perf/arch/x86/util/
DBuild24 perf-$(CONFIG_AUXTRACE) += intel-bts.o
/Linux-v6.6/arch/x86/realmode/rm/
Dtrampoline_64.S144 bts $MSR_AMD64_SYSCFG_MEM_ENCRYPT_BIT, %eax
/Linux-v6.6/arch/x86/entry/
Dcalling.h158 bts $X86_CR3_PCID_NOFLUSH_BIT, \reg
/Linux-v6.6/arch/x86/boot/compressed/
Dhead_64.S188 bts %eax, %edx /* Set encryption mask for page tables */
/Linux-v6.6/drivers/soc/mediatek/
Dmtk-svs.c464 u32 bts; member
1146 ts_calcs = FIELD_PREP(SVSB_TSCALCS_FLD_BTS, svsb->bts) | in svs_set_bank_phase()
1805 svsb->bts = (((500 * golden_temp + 250460) / 1000) - 25) * 4; in svs_mt8192_efuse_parsing()
1983 svsb->bts = (temp0 + temp2 - 250) * 4 / 10; in svs_mt8183_efuse_parsing()
/Linux-v6.6/arch/x86/events/
Dperf_event.h830 unsigned int bts :1, member
/Linux-v6.6/fs/btrfs/
Dsend.c710 struct btrfs_timespec bts; in tlv_put_btrfs_timespec() local
711 read_extent_buffer(eb, &bts, (unsigned long)ts, sizeof(bts)); in tlv_put_btrfs_timespec()
712 return tlv_put(sctx, attr, &bts, sizeof(bts)); in tlv_put_btrfs_timespec()
/Linux-v6.6/arch/x86/kvm/
Demulate.c1040 FASTOP2W(bts);