/linux-5.19.10/arch/x86/kernel/ |
D | probe_roms.c | 103 if (get_kernel_nofault(device, rom_list) != 0) in probe_list() 129 if (get_kernel_nofault(offset, rom + 0x18) != 0) in find_oprom() 132 if (get_kernel_nofault(vendor, rom + offset + 0x4) != 0) in find_oprom() 135 if (get_kernel_nofault(device, rom + offset + 0x6) != 0) in find_oprom() 143 if (get_kernel_nofault(list, rom + offset + 0x8) == 0 && in find_oprom() 144 get_kernel_nofault(rev, rom + offset + 0xc) == 0 && in find_oprom() 187 return get_kernel_nofault(sig, ptr) == 0 && sig == ROMSIGNATURE; in romsignature() 194 for (sum = 0; length && get_kernel_nofault(c, rom++) == 0; length--) in romchecksum() 225 if (get_kernel_nofault(c, rom + 2) != 0) in probe_roms() 263 if (get_kernel_nofault(c, rom + 2) != 0) in probe_roms()
|
D | alternative.c | 599 if (WARN_ON_ONCE(get_kernel_nofault(endbr, addr))) in apply_ibt_endbr()
|
/linux-5.19.10/arch/mips/kernel/ |
D | access-helper.h | 8 get_kernel_nofault(*a, p); in __get_addr() 13 return user ? get_user(*i, (u16 __user *)p) : get_kernel_nofault(*i, p); in __get_inst16() 18 return user ? get_user(*i, (u32 __user *)p) : get_kernel_nofault(*i, p); in __get_inst32()
|
/linux-5.19.10/arch/loongarch/kernel/ |
D | access-helper.h | 7 return user ? get_user(*i, (u32 __user *)p) : get_kernel_nofault(*i, p); in __get_inst() 12 return user ? get_user(*a, (unsigned long __user *)p) : get_kernel_nofault(*a, p); in __get_addr()
|
/linux-5.19.10/arch/s390/kernel/ |
D | ftrace.c | 159 if (get_kernel_nofault(opc, &trampoline->brasl_opc)) in ftrace_get_trampoline() 175 if (get_kernel_nofault(old, &trampoline->interceptor)) in ftrace_modify_call() 188 if (get_kernel_nofault(old, addr)) in ftrace_patch_branch_mask()
|
/linux-5.19.10/arch/riscv/kernel/ |
D | traps.c | 153 if (get_kernel_nofault(insn, (bug_insn_t *)pc)) in get_break_insn_length() 198 if (get_kernel_nofault(insn, (bug_insn_t *)pc)) in is_valid_bugaddr()
|
D | kgdb.c | 65 if (get_kernel_nofault(op_code, (void *)pc)) in get_step_address() 149 error = get_kernel_nofault(stepped_opcode, (void *)addr); in do_single_step()
|
/linux-5.19.10/lib/ |
D | test_lockup.c | 427 if (get_kernel_nofault(buf, ptr) || in test_kernel_ptr() 428 get_kernel_nofault(buf, ptr + size - 1)) { in test_kernel_ptr() 445 if (get_kernel_nofault(magic, ptr) || magic != expected) { in test_magic()
|
/linux-5.19.10/kernel/ |
D | extable.c | 148 if (!get_kernel_nofault(p, (void *)&desc->addr)) in dereference_function_descriptor()
|
/linux-5.19.10/arch/arm/kernel/ |
D | traps.c | 155 if (!get_kernel_nofault(val, (unsigned long *)p)) in dump_mem() 184 bad = get_kernel_nofault(val16, &((u16 *)addr)[i]); in dump_instr() 187 bad = get_kernel_nofault(val, &((u32 *)addr)[i]); in dump_instr() 402 if (get_kernel_nofault(bkpt, (void *)pc)) in is_valid_bugaddr()
|
/linux-5.19.10/arch/sh/kernel/ |
D | traps.c | 121 if (get_kernel_nofault(opcode, (insn_size_t *)addr)) in is_valid_bugaddr()
|
/linux-5.19.10/arch/x86/mm/ |
D | fault.c | 100 if (get_kernel_nofault(opcode, instr)) in check_prefetch_opcode() 155 if (get_kernel_nofault(opcode, instr)) in is_prefetch() 345 return get_kernel_nofault(dummy, (unsigned long *)p); in bad_address()
|
/linux-5.19.10/fs/ |
D | inode.c | 567 if (get_kernel_nofault(host, &mapping->host) || in dump_mapping() 568 get_kernel_nofault(a_ops, &mapping->a_ops)) { in dump_mapping() 578 if (get_kernel_nofault(dentry_first, &host->i_dentry.first) || in dump_mapping() 579 get_kernel_nofault(ino, &host->i_ino)) { in dump_mapping() 590 if (get_kernel_nofault(dentry, dentry_ptr)) { in dump_mapping()
|
/linux-5.19.10/arch/x86/pci/ |
D | pcbios.c | 305 if (get_kernel_nofault(sig, &check->fields.signature)) in pci_find_bios()
|
/linux-5.19.10/include/linux/ |
D | uaccess.h | 379 #define get_kernel_nofault(val, ptr) ({ \ macro
|
/linux-5.19.10/arch/arm/mm/ |
D | alignment.c | 777 fault = get_kernel_nofault(instr, ip); in alignment_get_arm() 792 fault = get_kernel_nofault(instr, ip); in alignment_get_thumb()
|
/linux-5.19.10/arch/powerpc/kernel/ |
D | kgdb.c | 423 err = get_kernel_nofault(instr, addr); in kgdb_arch_set_breakpoint()
|
D | kprobes.c | 318 if (get_kernel_nofault(instr, addr)) in kprobe_handler()
|
D | process.c | 1380 get_kernel_nofault(instr, (const void *)pc)) { in show_instructions()
|
/linux-5.19.10/arch/x86/kernel/kprobes/ |
D | opt.c | 287 if (get_kernel_nofault(ops, (void *)addr) < 0 || in is_padding_int3()
|
/linux-5.19.10/arch/s390/mm/ |
D | fault.c | 103 return get_kernel_nofault(dummy, (unsigned long *)p); in bad_address()
|
/linux-5.19.10/arch/arm64/kernel/ |
D | traps.c | 406 if (get_kernel_nofault(instr_le, (__le32 *)pc)) in call_undef_hook()
|
/linux-5.19.10/arch/m68k/kernel/ |
D | traps.c | 917 if (get_kernel_nofault(c, cp + i) && i >= 0) { in show_registers()
|
/linux-5.19.10/arch/powerpc/sysdev/ |
D | fsl_pci.c | 1081 ret = get_kernel_nofault(inst, (void *)regs->nip); in fsl_pci_mcheck_exception()
|