/arch/sh/include/asm/ |
D | unaligned-sh4a.h | 26 static inline u16 sh4a_get_unaligned_cpu16(const u8 *p) in sh4a_get_unaligned_cpu16() 35 static __always_inline u32 sh4a_get_unaligned_cpu32(const u8 *p) in sh4a_get_unaligned_cpu32() 53 static inline u64 sh4a_get_unaligned_cpu64(const u8 *p) in sh4a_get_unaligned_cpu64() 64 static inline u16 get_unaligned_le16(const void *p) in get_unaligned_le16() 69 static inline u32 get_unaligned_le32(const void *p) in get_unaligned_le32() 74 static inline u64 get_unaligned_le64(const void *p) in get_unaligned_le64() 79 static inline u16 get_unaligned_be16(const void *p) in get_unaligned_be16() 84 static inline u32 get_unaligned_be32(const void *p) in get_unaligned_be32() 89 static inline u64 get_unaligned_be64(const void *p) in get_unaligned_be64() 94 static inline void nonnative_put_le16(u16 val, u8 *p) in nonnative_put_le16() [all …]
|
/arch/c6x/include/asm/ |
D | unaligned.h | 22 static inline u16 get_unaligned_le16(const void *p) in get_unaligned_le16() 28 static inline u16 get_unaligned_be16(const void *p) in get_unaligned_be16() 34 static inline void put_unaligned_le16(u16 val, void *p) in put_unaligned_le16() 41 static inline void put_unaligned_be16(u16 val, void *p) in put_unaligned_be16() 48 static inline u32 get_unaligned32(const void *p) in get_unaligned32() 57 static inline void put_unaligned32(u32 val, void *p) in put_unaligned32() 63 static inline u64 get_unaligned64(const void *p) in get_unaligned64() 72 static inline void put_unaligned64(u64 val, const void *p) in put_unaligned64() 80 #define get_unaligned_le32(p) __swab32(get_unaligned32(p)) argument 81 #define get_unaligned_le64(p) __swab64(get_unaligned64(p)) argument [all …]
|
/arch/tile/lib/ |
D | memcpy_user_64.c | 28 #define _ST(p, inst, v) \ argument 40 #define _LD(p, inst) \ argument 55 #define ST1(p, v) _ST((p), st1, (v)) argument 56 #define ST2(p, v) _ST((p), st2, (v)) argument 57 #define ST4(p, v) _ST((p), st4, (v)) argument 58 #define ST8(p, v) _ST((p), st, (v)) argument 70 #define LD1(p) _LD((p), ld1u) argument 71 #define LD2(p) _LD((p), ld2u) argument 72 #define LD4(p) _LD((p), ld4u) argument 73 #define LD8(p) _LD((p), ld) argument [all …]
|
/arch/arm/include/asm/ |
D | bitops.h | 36 static inline void ____atomic_set_bit(unsigned int bit, volatile unsigned long *p) in ____atomic_set_bit() 48 static inline void ____atomic_clear_bit(unsigned int bit, volatile unsigned long *p) in ____atomic_clear_bit() 60 static inline void ____atomic_change_bit(unsigned int bit, volatile unsigned long *p) in ____atomic_change_bit() 73 ____atomic_test_and_set_bit(unsigned int bit, volatile unsigned long *p) in ____atomic_test_and_set_bit() 90 ____atomic_test_and_clear_bit(unsigned int bit, volatile unsigned long *p) in ____atomic_test_and_clear_bit() 107 ____atomic_test_and_change_bit(unsigned int bit, volatile unsigned long *p) in ____atomic_test_and_change_bit() 180 #define ATOMIC_BITOP(name,nr,p) \ argument 183 #define ATOMIC_BITOP(name,nr,p) _##name(nr,p) argument 189 #define set_bit(nr,p) ATOMIC_BITOP(set_bit,nr,p) argument 190 #define clear_bit(nr,p) ATOMIC_BITOP(clear_bit,nr,p) argument [all …]
|
D | sync_bitops.h | 17 #define sync_set_bit(nr, p) _set_bit(nr, p) argument 18 #define sync_clear_bit(nr, p) _clear_bit(nr, p) argument 19 #define sync_change_bit(nr, p) _change_bit(nr, p) argument 20 #define sync_test_and_set_bit(nr, p) _test_and_set_bit(nr, p) argument 21 #define sync_test_and_clear_bit(nr, p) _test_and_clear_bit(nr, p) argument 22 #define sync_test_and_change_bit(nr, p) _test_and_change_bit(nr, p) argument
|
/arch/ia64/kernel/ |
D | mca_drv.h | 43 #define peidx_head(p) (((p)->info)) argument 44 #define peidx_mid(p) (((p)->id)) argument 45 #define peidx_bottom(p) (((p)->regs)) argument 47 #define peidx_psp(p) (&(peidx_head(p)->proc_state_parameter)) argument 48 #define peidx_field_valid(p) (&(peidx_head(p)->valid)) argument 49 #define peidx_minstate_area(p) (&(peidx_bottom(p)->min_state_area)) argument 51 #define peidx_cache_check_num(p) (peidx_head(p)->valid.num_cache_check) argument 52 #define peidx_tlb_check_num(p) (peidx_head(p)->valid.num_tlb_check) argument 53 #define peidx_bus_check_num(p) (peidx_head(p)->valid.num_bus_check) argument 54 #define peidx_reg_file_check_num(p) (peidx_head(p)->valid.num_reg_file_check) argument [all …]
|
/arch/arm/mach-ixp4xx/include/mach/ |
D | io.h | 57 #define writeb(v, p) __indirect_writeb(v, p) argument 58 #define writew(v, p) __indirect_writew(v, p) argument 59 #define writel(v, p) __indirect_writel(v, p) argument 61 #define writeb_relaxed(v, p) __indirect_writeb(v, p) argument 62 #define writew_relaxed(v, p) __indirect_writew(v, p) argument 63 #define writel_relaxed(v, p) __indirect_writel(v, p) argument 65 #define writesb(p, v, l) __indirect_writesb(p, v, l) argument 66 #define writesw(p, v, l) __indirect_writesw(p, v, l) argument 67 #define writesl(p, v, l) __indirect_writesl(p, v, l) argument 69 #define readb(p) __indirect_readb(p) argument [all …]
|
/arch/blackfin/include/asm/ |
D | bfin_serial.h | 278 #define UART_GET_CHAR(p) bfin_read32(port_membase(p) + OFFSET_RBR) argument 279 #define UART_GET_CLK(p) bfin_read32(port_membase(p) + OFFSET_CLK) argument 280 #define UART_GET_CTL(p) bfin_read32(port_membase(p) + OFFSET_CTL) argument 281 #define UART_GET_GCTL(p) UART_GET_CTL(p) argument 282 #define UART_GET_LCR(p) UART_GET_CTL(p) argument 283 #define UART_GET_MCR(p) UART_GET_CTL(p) argument 285 #define UART_GET_STAT(p) \ argument 295 #define UART_GET_STAT(p) bfin_read32(port_membase(p) + OFFSET_STAT) argument 297 #define UART_GET_MSR(p) UART_GET_STAT(p) argument 299 #define UART_PUT_CHAR(p, v) bfin_write32(port_membase(p) + OFFSET_THR, v) argument [all …]
|
/arch/arm64/include/asm/ |
D | sync_bitops.h | 18 #define sync_set_bit(nr, p) set_bit(nr, p) argument 19 #define sync_clear_bit(nr, p) clear_bit(nr, p) argument 20 #define sync_change_bit(nr, p) change_bit(nr, p) argument 21 #define sync_test_and_set_bit(nr, p) test_and_set_bit(nr, p) argument 22 #define sync_test_and_clear_bit(nr, p) test_and_clear_bit(nr, p) argument 23 #define sync_test_and_change_bit(nr, p) test_and_change_bit(nr, p) argument
|
/arch/powerpc/boot/ |
D | xz_config.h | 14 static inline uint32_t swab32p(void *p) in swab32p() 22 #define get_le32(p) (*((uint32_t *) (p))) argument 24 static inline u32 be32_to_cpup(const u32 *p) in be32_to_cpup() 29 #define get_le32(p) swab32p(p) argument 31 static inline u32 be32_to_cpup(const u32 *p) in be32_to_cpup() 37 static inline uint32_t get_unaligned_be32(const void *p) in get_unaligned_be32() 42 static inline void put_unaligned_be32(u32 val, void *p) in put_unaligned_be32()
|
/arch/s390/kernel/ |
D | kprobes.c | 70 static void copy_instruction(struct kprobe *p) in copy_instruction() 110 static int s390_get_insn_slot(struct kprobe *p) in s390_get_insn_slot() 126 static void s390_free_insn_slot(struct kprobe *p) in s390_free_insn_slot() 138 int arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe() 152 int arch_check_ftrace_location(struct kprobe *p) in arch_check_ftrace_location() 158 struct kprobe *p; member 168 struct kprobe *p = args->p; in swap_instruction() local 195 void arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe() 203 void arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe() 211 void arch_remove_kprobe(struct kprobe *p) in arch_remove_kprobe() [all …]
|
/arch/arm/mach-s3c24xx/include/mach/ |
D | io.h | 196 #define inb(p) (__builtin_constant_p((p)) ? __inbc(p) : __inb(p)) argument 197 #define inw(p) (__builtin_constant_p((p)) ? __inwc(p) : __inw(p)) argument 198 #define inl(p) (__builtin_constant_p((p)) ? __inlc(p) : __inl(p)) argument 199 #define outb(v,p) (__builtin_constant_p((p)) ? __outbc(v,p) : __outb(v,p)) argument 200 #define outw(v,p) (__builtin_constant_p((p)) ? __outwc(v,p) : __outw(v,p)) argument 201 #define outl(v,p) (__builtin_constant_p((p)) ? __outlc(v,p) : __outl(v,p)) argument 202 #define __ioaddr(p) (__builtin_constant_p((p)) ? __ioaddr(p) : __ioaddrc(p)) argument 204 #define insb(p,d,l) __raw_readsb(__ioaddr(p),d,l) argument 205 #define insw(p,d,l) __raw_readsw(__ioaddr(p),d,l) argument 206 #define insl(p,d,l) __raw_readsl(__ioaddr(p),d,l) argument [all …]
|
/arch/powerpc/kernel/ |
D | kprobes.c | 48 struct kprobe *p = kprobe_running(); in is_current_kprobe_addr() local 131 int arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe() 165 void arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe() 171 void arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe() 177 void arch_remove_kprobe(struct kprobe *p) in arch_remove_kprobe() 186 static nokprobe_inline void prepare_singlestep(struct kprobe *p, struct pt_regs *regs) in prepare_singlestep() 213 static nokprobe_inline void set_current_kprobe(struct kprobe *p, struct pt_regs *regs, in set_current_kprobe() 242 int try_to_emulate(struct kprobe *p, struct pt_regs *regs) in try_to_emulate() 274 struct kprobe *p; in kprobe_handler() local 415 static int trampoline_probe_handler(struct kprobe *p, struct pt_regs *regs) in trampoline_probe_handler() [all …]
|
/arch/mips/kernel/ |
D | kprobes.c | 86 int __kprobes arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe() 147 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe() 153 void __kprobes arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe() 159 void __kprobes arch_remove_kprobe(struct kprobe *p) in arch_remove_kprobe() 185 static void set_current_kprobe(struct kprobe *p, struct pt_regs *regs, in set_current_kprobe() 206 static int evaluate_branch_instruction(struct kprobe *p, struct pt_regs *regs, in evaluate_branch_instruction() 240 static void prepare_singlestep(struct kprobe *p, struct pt_regs *regs, in prepare_singlestep() 273 static void __kprobes resume_execution(struct kprobe *p, in resume_execution() 287 struct kprobe *p; in kprobe_handler() local 471 int __kprobes setjmp_pre_handler(struct kprobe *p, struct pt_regs *regs) in setjmp_pre_handler() [all …]
|
/arch/arc/kernel/ |
D | kprobes.c | 26 int __kprobes arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe() 40 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe() 48 void __kprobes arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe() 56 void __kprobes arch_remove_kprobe(struct kprobe *p) in arch_remove_kprobe() 94 static inline void __kprobes set_current_kprobe(struct kprobe *p) in set_current_kprobe() 99 static void __kprobes resume_execution(struct kprobe *p, unsigned long addr, in resume_execution() 128 static void __kprobes setup_singlestep(struct kprobe *p, struct pt_regs *regs) in setup_singlestep() 198 struct kprobe *p; in arc_kprobe_handler() local 389 int __kprobes setjmp_pre_handler(struct kprobe *p, struct pt_regs *regs) in setjmp_pre_handler() 408 int __kprobes longjmp_break_handler(struct kprobe *p, struct pt_regs *regs) in longjmp_break_handler() [all …]
|
/arch/sh/kernel/ |
D | kprobes.c | 43 int __kprobes arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe() 55 void __kprobes arch_copy_kprobe(struct kprobe *p) in arch_copy_kprobe() 61 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe() 68 void __kprobes arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe() 75 int __kprobes arch_trampoline_kprobe(struct kprobe *p) in arch_trampoline_kprobe() 91 struct kprobe *p = get_kprobe((kprobe_opcode_t *) pc + 1); in kprobe_handle_illslot() local 103 void __kprobes arch_remove_kprobe(struct kprobe *p) in arch_remove_kprobe() 136 static void __kprobes set_current_kprobe(struct kprobe *p, struct pt_regs *regs, in set_current_kprobe() 147 static void __kprobes prepare_singlestep(struct kprobe *p, struct pt_regs *regs) in prepare_singlestep() 217 struct kprobe *p; in kprobe_handler() local [all …]
|
/arch/mn10300/kernel/ |
D | kprobes.c | 49 #define READ_BYTE(p, valp) \ argument 52 #define READ_WORD16(p, valp) \ argument 58 #define READ_WORD32(p, valp) \ argument 361 int __kprobes arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe() 366 void __kprobes arch_copy_kprobe(struct kprobe *p) in arch_copy_kprobe() 371 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe() 378 void __kprobes arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe() 386 void arch_remove_kprobe(struct kprobe *p) in arch_remove_kprobe() 391 void __kprobes disarm_kprobe(struct kprobe *p, struct pt_regs *regs) in disarm_kprobe() 402 void __kprobes prepare_singlestep(struct kprobe *p, struct pt_regs *regs) in prepare_singlestep() [all …]
|
/arch/metag/include/asm/ |
D | bitops.h | 13 static inline void set_bit(unsigned int bit, volatile unsigned long *p) in set_bit() 26 static inline void clear_bit(unsigned int bit, volatile unsigned long *p) in clear_bit() 39 static inline void change_bit(unsigned int bit, volatile unsigned long *p) in change_bit() 52 static inline int test_and_set_bit(unsigned int bit, volatile unsigned long *p) in test_and_set_bit() 72 volatile unsigned long *p) in test_and_clear_bit() 92 volatile unsigned long *p) in test_and_change_bit()
|
/arch/arm/mach-ebsa110/include/mach/ |
D | io.h | 41 #define inb(p) __inb16(p) argument 42 #define outb(v,p) __outb16(v,p) argument 44 #define inb(p) __inb8(p) argument 45 #define outb(v,p) __outb8(v,p) argument 48 #define inw(p) __inw(p) argument 49 #define outw(v,p) __outw(v,p) argument 51 #define inl(p) __inl(p) argument 52 #define outl(v,p) __outl(v,p) argument
|
/arch/sparc/kernel/ |
D | kprobes.c | 50 int __kprobes arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe() 65 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe() 71 void __kprobes arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe() 93 static void __kprobes set_current_kprobe(struct kprobe *p, struct pt_regs *regs, in set_current_kprobe() 101 static void __kprobes prepare_singlestep(struct kprobe *p, struct pt_regs *regs, in prepare_singlestep() 118 struct kprobe *p; in kprobe_handler() local 205 static unsigned long __kprobes relbranch_fixup(u32 insn, struct kprobe *p, in relbranch_fixup() 281 static void __kprobes resume_execution(struct kprobe *p, in resume_execution() 445 int __kprobes setjmp_pre_handler(struct kprobe *p, struct pt_regs *regs) in setjmp_pre_handler() 478 int __kprobes longjmp_break_handler(struct kprobe *p, struct pt_regs *regs) in longjmp_break_handler() [all …]
|
/arch/arm64/kvm/ |
D | vgic-sys-reg-v3.c | 21 static bool access_gic_ctlr(struct kvm_vcpu *vcpu, struct sys_reg_params *p, in access_gic_ctlr() 95 static bool access_gic_pmr(struct kvm_vcpu *vcpu, struct sys_reg_params *p, in access_gic_pmr() 111 static bool access_gic_bpr0(struct kvm_vcpu *vcpu, struct sys_reg_params *p, in access_gic_bpr0() 129 static bool access_gic_bpr1(struct kvm_vcpu *vcpu, struct sys_reg_params *p, in access_gic_bpr1() 155 static bool access_gic_grpen0(struct kvm_vcpu *vcpu, struct sys_reg_params *p, in access_gic_grpen0() 173 static bool access_gic_grpen1(struct kvm_vcpu *vcpu, struct sys_reg_params *p, in access_gic_grpen1() 192 struct sys_reg_params *p, u8 apr, u8 idx) in vgic_v3_access_apr_reg() 208 static bool access_gic_aprn(struct kvm_vcpu *vcpu, struct sys_reg_params *p, in access_gic_aprn() 225 static bool access_gic_ap0r(struct kvm_vcpu *vcpu, struct sys_reg_params *p, in access_gic_ap0r() 232 static bool access_gic_ap1r(struct kvm_vcpu *vcpu, struct sys_reg_params *p, in access_gic_ap1r() [all …]
|
/arch/tile/kernel/ |
D | kprobes.c | 85 int __kprobes arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe() 114 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe() 144 void __kprobes arch_remove_kprobe(struct kprobe *p) in arch_remove_kprobe() 166 static void __kprobes set_current_kprobe(struct kprobe *p, struct pt_regs *regs, in set_current_kprobe() 173 static void __kprobes prepare_singlestep(struct kprobe *p, struct pt_regs *regs) in prepare_singlestep() 185 struct kprobe *p; in kprobe_handler() local 281 static void __kprobes resume_execution(struct kprobe *p, in resume_execution() 372 int __kprobes setjmp_pre_handler(struct kprobe *p, struct pt_regs *regs) in setjmp_pre_handler() 399 int __kprobes longjmp_break_handler(struct kprobe *p, struct pt_regs *regs) in longjmp_break_handler() 445 static int __kprobes trampoline_probe_handler(struct kprobe *p, in trampoline_probe_handler() [all …]
|
/arch/powerpc/include/asm/ |
D | ide.h | 13 #define __ide_mm_insw(p, a, c) readsw((void __iomem *)(p), (a), (c)) argument 14 #define __ide_mm_insl(p, a, c) readsl((void __iomem *)(p), (a), (c)) argument 15 #define __ide_mm_outsw(p, a, c) writesw((void __iomem *)(p), (a), (c)) argument 16 #define __ide_mm_outsl(p, a, c) writesl((void __iomem *)(p), (a), (c)) argument
|
/arch/arm64/kernel/probes/ |
D | kprobes.c | 58 static void __kprobes arch_prepare_ss_slot(struct kprobe *p) in arch_prepare_ss_slot() 74 static void __kprobes arch_prepare_simulate(struct kprobe *p) in arch_prepare_simulate() 80 static void __kprobes arch_simulate_insn(struct kprobe *p, struct pt_regs *regs) in arch_simulate_insn() 91 int __kprobes arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe() 146 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe() 152 void __kprobes arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe() 157 void __kprobes arch_remove_kprobe(struct kprobe *p) in arch_remove_kprobe() 177 static void __kprobes set_current_kprobe(struct kprobe *p) in set_current_kprobe() 246 static void __kprobes setup_singlestep(struct kprobe *p, in setup_singlestep() 279 static int __kprobes reenter_kprobe(struct kprobe *p, in reenter_kprobe() [all …]
|
/arch/arm/probes/kprobes/ |
D | core.c | 56 int __kprobes arch_prepare_kprobe(struct kprobe *p) in arch_prepare_kprobe() 131 void __kprobes arch_arm_kprobe(struct kprobe *p) in arch_arm_kprobe() 174 struct patch *p = data; in __kprobes_remove_breakpoint() local 181 struct patch p = { in kprobes_remove_breakpoint() local 189 void __kprobes arch_disarm_kprobe(struct kprobe *p) in arch_disarm_kprobe() 195 void __kprobes arch_remove_kprobe(struct kprobe *p) in arch_remove_kprobe() 215 static void __kprobes set_current_kprobe(struct kprobe *p) in set_current_kprobe() 221 singlestep_skip(struct kprobe *p, struct pt_regs *regs) in singlestep_skip() 235 singlestep(struct kprobe *p, struct pt_regs *regs, struct kprobe_ctlblk *kcb) in singlestep() 249 struct kprobe *p, *cur; in kprobe_handler() local [all …]
|