/Linux-v5.10/tools/perf/util/ |
D | intel-bts.c | 67 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 …]
|
D | Build | 109 perf-$(CONFIG_AUXTRACE) += intel-bts.o
|
/Linux-v5.10/arch/x86/events/intel/ |
D | bts.c | 183 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 …]
|
D | Makefile | 2 obj-$(CONFIG_CPU_SUP_INTEL) += core.o bts.o
|
D | ds.c | 398 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()
|
D | core.c | 2722 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/ |
D | lima_vm.c | 43 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 …]
|
D | lima_vm.h | 38 struct lima_vm_page bts[LIMA_VM_NUM_BT]; member
|
/Linux-v5.10/arch/x86/include/asm/ |
D | bitops.h | 60 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()
|
D | sync_bitops.h | 34 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/ |
D | Build | 19 perf-$(CONFIG_AUXTRACE) += intel-bts.o
|
/Linux-v5.10/arch/x86/boot/compressed/ |
D | mem_encrypt.S | 85 bts %rax, sme_me_mask(%rip) /* Create the encryption mask */
|
D | head_64.S | 178 bts %eax, %edx /* Set encryption mask for page tables */
|
/Linux-v5.10/arch/x86/realmode/rm/ |
D | trampoline_64.S | 128 bts $MSR_K8_SYSCFG_MEM_ENCRYPT_BIT, %eax
|
/Linux-v5.10/arch/x86/entry/ |
D | calling.h | 190 bts $X86_CR3_PCID_NOFLUSH_BIT, \reg
|
/Linux-v5.10/arch/x86/events/ |
D | perf_event.h | 720 unsigned int bts :1, member
|
/Linux-v5.10/fs/btrfs/ |
D | send.c | 616 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/ |
D | emulate.c | 1031 FASTOP2W(bts);
|