Home
last modified time | relevance | path

Searched refs:fbtp_patchpoint (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/cddl/dev/fbt/powerpc/
H A Dfbt_isa.c56 if ((uintptr_t)fbt->fbtp_patchpoint == addr) { in fbt_invop()
74 frame->srr0 = (uintptr_t)fbt->fbtp_patchpoint; in fbt_invop()
99 *fbt->fbtp_patchpoint = val; in fbt_patch_tracepoint()
100 __syncicache(fbt->fbtp_patchpoint, 4); in fbt_patch_tracepoint()
144 fbt->fbtp_patchpoint = instr; in fbt_provide_module_function()
213 fbt->fbtp_patchpoint = instr; in fbt_provide_module_function()
/freebsd/sys/cddl/dev/fbt/arm/
H A Dfbt_isa.c53 if ((uintptr_t)fbt->fbtp_patchpoint != addr) in fbt_invop()
83 *fbt->fbtp_patchpoint = val; in fbt_patch_tracepoint()
84 icache_sync((vm_offset_t)fbt->fbtp_patchpoint, sizeof(val)); in fbt_patch_tracepoint()
121 fbt->fbtp_patchpoint = instr; in fbt_provide_module_function()
172 fbt->fbtp_patchpoint = instr; in fbt_provide_module_function()
/freebsd/sys/cddl/dev/fbt/riscv/
H A Dfbt_isa.c55 if ((uintptr_t)fbt->fbtp_patchpoint == addr) { in fbt_invop()
81 *(uint16_t *)fbt->fbtp_patchpoint = (uint16_t)val; in fbt_patch_tracepoint()
85 *fbt->fbtp_patchpoint = val; in fbt_patch_tracepoint()
149 fbt->fbtp_patchpoint = instr; in fbt_provide_module_function()
197 fbt->fbtp_patchpoint = instr; in fbt_provide_module_function()
/freebsd/sys/cddl/dev/fbt/aarch64/
H A Dfbt_isa.c51 if ((uintptr_t)fbt->fbtp_patchpoint != addr) in fbt_invop()
76 if (!arm64_get_writable_addr(fbt->fbtp_patchpoint, &addr)) in fbt_patch_tracepoint()
80 cpu_icache_sync_range(fbt->fbtp_patchpoint, 4); in fbt_patch_tracepoint()
157 fbt->fbtp_patchpoint = instr; in fbt_provide_module_function()
204 fbt->fbtp_patchpoint = instr; in fbt_provide_module_function()
/freebsd/sys/cddl/dev/fbt/x86/
H A Dfbt_isa.c80 if ((uintptr_t)fbt->fbtp_patchpoint != addr) in fbt_invop()
172 *fbt->fbtp_patchpoint = val; in fbt_patch_tracepoint()
237 fbt->fbtp_patchpoint = instr; in fbt_provide_module_function()
247 if (hash->fbtp_patchpoint == fbt->fbtp_patchpoint) { in fbt_provide_module_function()
337 fbt->fbtp_patchpoint = instr; in fbt_provide_module_function()
/freebsd/sys/cddl/dev/fbt/
H A Dfbt.h49 fbt_patchval_t *fbtp_patchpoint; member
H A Dfbt.c230 ndx = FBT_ADDR2NDX(fbt->fbtp_patchpoint); in fbt_destroy_one()
243 } else if (hash->fbtp_patchpoint == fbt->fbtp_patchpoint) { in fbt_destroy_one()
319 for (hash = fbt_probetab[FBT_ADDR2NDX(fbt->fbtp_patchpoint)]; in fbt_disable()
321 if (hash->fbtp_patchpoint == fbt->fbtp_patchpoint) { in fbt_disable()