Home
last modified time | relevance | path

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

/Linux-v5.10/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 …]
DBuild109 perf-$(CONFIG_AUXTRACE) += intel-bts.o
/Linux-v5.10/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()
228 struct bts_ctx *bts = this_cpu_ptr(&bts_ctx); in __bts_event_start() local
229 struct bts_buffer *buf = perf_get_aux(&bts->handle); in __bts_event_start()
248 WRITE_ONCE(bts->state, BTS_STATE_ACTIVE); in __bts_event_start()
257 struct bts_ctx *bts = this_cpu_ptr(&bts_ctx); in bts_event_start() local
260 buf = perf_aux_output_begin(&bts->handle, event); in bts_event_start()
264 if (bts_buffer_reset(buf, &bts->handle)) in bts_event_start()
267 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.c398 if (!x86_pmu.bts) in alloc_bts_buffer()
425 if (!x86_pmu.bts) in release_bts_buffer()
453 if (!x86_pmu.bts && !x86_pmu.pebs) in release_ds_buffers()
482 if (!x86_pmu.bts && !x86_pmu.pebs) in reserve_ds_buffers()
485 if (!x86_pmu.bts) in reserve_ds_buffers()
521 if (x86_pmu.bts && !bts_err) in reserve_ds_buffers()
2021 x86_pmu.bts = boot_cpu_has(X86_FEATURE_BTS); in intel_ds_init()
2110 if (!x86_pmu.bts && !x86_pmu.pebs) in perf_restore_debug_store()
Dcore.c2722 bool bts = false; in intel_pmu_handle_irq_v4() local
2730 bts = true; in intel_pmu_handle_irq_v4()
2781 if (bts) in intel_pmu_handle_irq_v4()
/Linux-v5.10/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-v5.10/arch/x86/include/asm/
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()
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()
/Linux-v5.10/tools/perf/arch/x86/util/
DBuild19 perf-$(CONFIG_AUXTRACE) += intel-bts.o
/Linux-v5.10/arch/x86/boot/compressed/
Dmem_encrypt.S85 bts %rax, sme_me_mask(%rip) /* Create the encryption mask */
Dhead_64.S178 bts %eax, %edx /* Set encryption mask for page tables */
/Linux-v5.10/arch/x86/realmode/rm/
Dtrampoline_64.S128 bts $MSR_K8_SYSCFG_MEM_ENCRYPT_BIT, %eax
/Linux-v5.10/arch/x86/entry/
Dcalling.h190 bts $X86_CR3_PCID_NOFLUSH_BIT, \reg
/Linux-v5.10/arch/x86/events/
Dperf_event.h720 unsigned int bts :1, member
/Linux-v5.10/fs/btrfs/
Dsend.c616 struct btrfs_timespec bts; in tlv_put_btrfs_timespec() local
617 read_extent_buffer(eb, &bts, (unsigned long)ts, sizeof(bts)); in tlv_put_btrfs_timespec()
618 return tlv_put(sctx, attr, &bts, sizeof(bts)); in tlv_put_btrfs_timespec()
/Linux-v5.10/arch/x86/kvm/
Demulate.c1031 FASTOP2W(bts);