Home
last modified time | relevance | path

Searched refs:api (Results 1 – 25 of 28) sorted by relevance

12

/arch/arm64/kernel/probes/
Ddecode-insn.c76 arm_probe_decode_insn(probe_opcode_t insn, struct arch_probe_insn *api) in arm_probe_decode_insn() argument
86 api->handler = simulate_b_cond; in arm_probe_decode_insn()
89 api->handler = simulate_cbz_cbnz; in arm_probe_decode_insn()
92 api->handler = simulate_tbz_tbnz; in arm_probe_decode_insn()
94 api->handler = simulate_adr_adrp; in arm_probe_decode_insn()
97 api->handler = simulate_b_bl; in arm_probe_decode_insn()
101 api->handler = simulate_br_blr_ret; in arm_probe_decode_insn()
103 api->handler = simulate_ldr_literal; in arm_probe_decode_insn()
105 api->handler = simulate_ldrsw_literal; in arm_probe_decode_insn()
160 decoded = arm_probe_decode_insn(insn, &asi->api); in arm_kprobe_decode_insn()
Dkprobes.c46 kprobe_opcode_t *addr = p->ainsn.api.insn; in arch_prepare_ss_slot()
73 p->ainsn.api.restore = (unsigned long) p->addr + in arch_prepare_ss_slot()
80 p->ainsn.api.restore = 0; in arch_prepare_simulate()
87 if (p->ainsn.api.handler) in arch_simulate_insn()
88 p->ainsn.api.handler((u32)p->opcode, (long)p->addr, regs); in arch_simulate_insn()
113 p->ainsn.api.insn = NULL; in arch_prepare_kprobe()
117 p->ainsn.api.insn = get_insn_slot(); in arch_prepare_kprobe()
118 if (!p->ainsn.api.insn) in arch_prepare_kprobe()
124 if (p->ainsn.api.insn) in arch_prepare_kprobe()
158 if (p->ainsn.api.insn) { in arch_remove_kprobe()
[all …]
Duprobes.c47 switch (arm_probe_decode_insn(insn, &auprobe->api)) { in arch_uprobe_analyze_insn()
114 if (auprobe->api.handler) in arch_uprobe_skip_sstep()
115 auprobe->api.handler(insn, addr, regs); in arch_uprobe_skip_sstep()
/arch/riscv/kernel/probes/
Dkprobes.c29 p->ainsn.api.restore = (unsigned long)p->addr + offset; in arch_prepare_ss_slot()
31 patch_text(p->ainsn.api.insn, &p->opcode, 1); in arch_prepare_ss_slot()
32 patch_text((void *)((unsigned long)(p->ainsn.api.insn) + offset), in arch_prepare_ss_slot()
38 p->ainsn.api.restore = 0; in arch_prepare_simulate()
45 if (p->ainsn.api.handler) in arch_simulate_insn()
46 p->ainsn.api.handler((u32)p->opcode, in arch_simulate_insn()
83 switch (riscv_probe_decode_insn(p->addr, &p->ainsn.api)) { in arch_prepare_kprobe()
88 p->ainsn.api.insn = NULL; in arch_prepare_kprobe()
92 p->ainsn.api.insn = get_insn_slot(); in arch_prepare_kprobe()
93 if (!p->ainsn.api.insn) in arch_prepare_kprobe()
[all …]
Duprobes.c40 switch (riscv_probe_decode_insn(&opcode, &auprobe->api)) { in arch_uprobe_analyze_insn()
102 if (auprobe->api.handler) in arch_uprobe_skip_sstep()
103 auprobe->api.handler(insn, addr, regs); in arch_uprobe_skip_sstep()
Ddecode-insn.c17 riscv_probe_decode_insn(probe_opcode_t *addr, struct arch_probe_insn *api) in riscv_probe_decode_insn() argument
Dsimulate-insn.h18 api->handler = simulate_##name; \
Dftrace.c63 p->ainsn.api.insn = NULL; in arch_prepare_kprobe_ftrace()
/arch/csky/kernel/probes/
Dkprobes.c58 p->ainsn.api.restore = (unsigned long)p->addr + offset; in arch_prepare_ss_slot()
60 patch_text(p->ainsn.api.insn, p->opcode); in arch_prepare_ss_slot()
65 p->ainsn.api.restore = 0; in arch_prepare_simulate()
72 if (p->ainsn.api.handler) in arch_simulate_insn()
73 p->ainsn.api.handler((u32)p->opcode, (long)p->addr, regs); in arch_simulate_insn()
89 switch (csky_probe_decode_insn(p->addr, &p->ainsn.api)) { in arch_prepare_kprobe()
94 p->ainsn.api.insn = NULL; in arch_prepare_kprobe()
98 p->ainsn.api.insn = get_insn_slot(); in arch_prepare_kprobe()
99 if (!p->ainsn.api.insn) in arch_prepare_kprobe()
105 if (p->ainsn.api.insn) in arch_prepare_kprobe()
[all …]
Duprobes.c33 switch (csky_probe_decode_insn(&insn, &auprobe->api)) { in arch_uprobe_analyze_insn()
95 if (auprobe->api.handler) in arch_uprobe_skip_sstep()
96 auprobe->api.handler(insn, addr, regs); in arch_uprobe_skip_sstep()
Dsimulate-insn.h17 api->handler = simulate_##name; \
Ddecode-insn.c17 csky_probe_decode_insn(probe_opcode_t *addr, struct arch_probe_insn *api) in csky_probe_decode_insn() argument
Dftrace.c68 p->ainsn.api.insn = NULL; in arch_prepare_kprobe_ftrace()
/arch/powerpc/platforms/book3s/
DMakefile2 obj-$(CONFIG_PPC_VAS) += vas-api.o
/arch/csky/include/asm/
Dprobes.h20 struct arch_probe_insn api; member
Duprobes.h25 struct arch_probe_insn api; member
/arch/riscv/include/asm/
Dprobes.h20 struct arch_probe_insn api; member
Duprobes.h32 struct arch_probe_insn api; member
/arch/arm64/include/asm/
Dprobes.h26 struct arch_probe_insn api; member
Duprobes.h29 struct arch_probe_insn api; member
/arch/sh/drivers/dma/
DMakefile6 obj-$(CONFIG_SH_DMA_API) += dma-sh.o dma-api.o dma-sysfs.o
/arch/microblaze/include/asm/
Dmmu.h22 unsigned long api:6; /* Abbreviated page index */ member
/arch/ia64/kernel/
Dunwind.c144 } api; member
1890 STAT(local_irq_save(flags); ++unw.stat.api.unwinds; start = ia64_get_itc()); in unw_unwind()
1901 STAT(unw.stat.api.unwind_time += ia64_get_itc() - start; local_irq_restore(flags)); in unw_unwind()
1908 STAT(unw.stat.api.unwind_time += ia64_get_itc() - start; local_irq_restore(flags)); in unw_unwind()
1915 STAT(unw.stat.api.unwind_time += ia64_get_itc() - start; local_irq_restore(flags)); in unw_unwind()
1937 STAT(unw.stat.api.unwind_time += ia64_get_itc() - start; local_irq_restore(flags)); in unw_unwind()
1946 STAT(unw.stat.api.unwind_time += ia64_get_itc() - start; local_irq_restore(flags)); in unw_unwind()
1953 STAT(unw.stat.api.unwind_time += ia64_get_itc() - start; local_irq_restore(flags)); in unw_unwind()
1964 STAT(unw.stat.api.unwind_time += ia64_get_itc() - start; local_irq_restore(flags)); in unw_unwind()
2007 STAT(local_irq_save(flags); ++unw.stat.api.inits; start = ia64_get_itc()); in init_frame_info()
[all …]
/arch/powerpc/include/asm/book3s/32/
Dmmu-hash.h163 unsigned long api:6; /* Abbreviated page index */ member
/arch/
DKconfig153 See Documentation/core-api/unaligned-memory-access.rst for
172 See Documentation/core-api/unaligned-memory-access.rst for more
606 See Documentation/userspace-api/seccomp_filter.rst for details.

12