Home
last modified time | relevance | path

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

/Linux-v5.4/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 …]
DBuild101 perf-$(CONFIG_AUXTRACE) += intel-bts.o
/Linux-v5.4/arch/x86/events/intel/
Dbts.c177 static void bts_update(struct bts_ctx *bts) in bts_update() argument
181 struct bts_buffer *buf = perf_get_aux(&bts->handle); in bts_update()
195 perf_aux_output_flag(&bts->handle, in bts_update()
222 struct bts_ctx *bts = this_cpu_ptr(&bts_ctx); in __bts_event_start() local
223 struct bts_buffer *buf = perf_get_aux(&bts->handle); in __bts_event_start()
242 WRITE_ONCE(bts->state, BTS_STATE_ACTIVE); in __bts_event_start()
251 struct bts_ctx *bts = this_cpu_ptr(&bts_ctx); in bts_event_start() local
254 buf = perf_aux_output_begin(&bts->handle, event); in bts_event_start()
258 if (bts_buffer_reset(buf, &bts->handle)) in bts_event_start()
261 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.c397 if (!x86_pmu.bts) in alloc_bts_buffer()
424 if (!x86_pmu.bts) in release_bts_buffer()
452 if (!x86_pmu.bts && !x86_pmu.pebs) in release_ds_buffers()
481 if (!x86_pmu.bts && !x86_pmu.pebs) in reserve_ds_buffers()
484 if (!x86_pmu.bts) in reserve_ds_buffers()
520 if (x86_pmu.bts && !bts_err) in reserve_ds_buffers()
2007 x86_pmu.bts = boot_cpu_has(X86_FEATURE_BTS); in intel_ds_init()
2096 if (!x86_pmu.bts && !x86_pmu.pebs) in perf_restore_debug_store()
Dcore.c2448 bool bts = false; in intel_pmu_handle_irq_v4() local
2456 bts = true; in intel_pmu_handle_irq_v4()
2507 if (bts) in intel_pmu_handle_irq_v4()
/Linux-v5.4/drivers/gpu/drm/lima/
Dlima_vm.c43 vm->bts[pbe].cpu[bte] = 0; in lima_vm_unmap_page_table()
57 if (!vm->bts[pbe].cpu) { in lima_vm_map_page_table()
62 vm->bts[pbe].cpu = dma_alloc_wc( in lima_vm_map_page_table()
64 &vm->bts[pbe].dma, GFP_KERNEL | __GFP_ZERO); in lima_vm_map_page_table()
65 if (!vm->bts[pbe].cpu) { in lima_vm_map_page_table()
71 pts = vm->bts[pbe].dma; in lima_vm_map_page_table()
79 vm->bts[pbe].cpu[bte] = dma[i++] | LIMA_VM_FLAGS_CACHE; in lima_vm_map_page_table()
244 if (vm->bts[i].cpu) in lima_vm_release()
246 vm->bts[i].cpu, vm->bts[i].dma); in lima_vm_release()
265 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.4/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.4/tools/perf/arch/x86/util/
DBuild19 perf-$(CONFIG_AUXTRACE) += intel-bts.o
/Linux-v5.4/arch/x86/boot/compressed/
Dmem_encrypt.S82 bts %rax, sme_me_mask(%rip) /* Create the encryption mask */
Dhead_64.S145 bts %eax, %edx /* Set encryption mask for page tables */
/Linux-v5.4/arch/x86/realmode/rm/
Dtrampoline_64.S106 bts $MSR_K8_SYSCFG_MEM_ENCRYPT_BIT, %eax
/Linux-v5.4/arch/x86/entry/
Dcalling.h188 bts $X86_CR3_PCID_NOFLUSH_BIT, \reg
/Linux-v5.4/arch/x86/events/
Dperf_event.h653 unsigned int bts :1, member
/Linux-v5.4/fs/btrfs/
Dsend.c614 struct btrfs_timespec bts; in tlv_put_btrfs_timespec() local
615 read_extent_buffer(eb, &bts, (unsigned long)ts, sizeof(bts)); in tlv_put_btrfs_timespec()
616 return tlv_put(sctx, attr, &bts, sizeof(bts)); in tlv_put_btrfs_timespec()
/Linux-v5.4/arch/x86/kvm/
Demulate.c1025 FASTOP2W(bts);