Home
last modified time | relevance | path

Searched refs:get_kernel_nofault (Results 1 – 22 of 22) sorted by relevance

/Linux-v5.10/arch/x86/kernel/
Dprobe_roms.c102 if (get_kernel_nofault(device, rom_list) != 0) in probe_list()
128 if (get_kernel_nofault(offset, rom + 0x18) != 0) in find_oprom()
131 if (get_kernel_nofault(vendor, rom + offset + 0x4) != 0) in find_oprom()
134 if (get_kernel_nofault(device, rom + offset + 0x6) != 0) in find_oprom()
142 if (get_kernel_nofault(list, rom + offset + 0x8) == 0 && in find_oprom()
143 get_kernel_nofault(rev, rom + offset + 0xc) == 0 && in find_oprom()
186 return get_kernel_nofault(sig, ptr) == 0 && sig == ROMSIGNATURE; in romsignature()
193 for (sum = 0; length && get_kernel_nofault(c, rom++) == 0; length--) in romchecksum()
214 if (get_kernel_nofault(c, rom + 2) != 0) in probe_roms()
252 if (get_kernel_nofault(c, rom + 2) != 0) in probe_roms()
/Linux-v5.10/mm/
Ddebug.c129 if (get_kernel_nofault(host, &mapping->host) || in __dump_page()
130 get_kernel_nofault(a_ops, &mapping->a_ops)) { in __dump_page()
140 if (get_kernel_nofault(dentry_first, &host->i_dentry.first) || in __dump_page()
141 get_kernel_nofault(ino, &host->i_ino)) { in __dump_page()
153 if (get_kernel_nofault(dentry, dentry_ptr)) { in __dump_page()
/Linux-v5.10/arch/riscv/kernel/
Dtraps.c140 if (get_kernel_nofault(insn, (bug_insn_t *)pc)) in get_break_insn_length()
168 if (get_kernel_nofault(insn, (bug_insn_t *)pc)) in is_valid_bugaddr()
Dkgdb.c65 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-v5.10/arch/ia64/include/asm/
Dsections.h38 if (!get_kernel_nofault(p, (void *)&desc->ip)) in dereference_function_descriptor()
/Linux-v5.10/arch/powerpc/include/asm/
Dsections.h88 if (!get_kernel_nofault(p, (void *)&desc->funcaddr)) in dereference_function_descriptor()
/Linux-v5.10/lib/
Dtest_lockup.c422 get_kernel_nofault(buf, ptr) || in test_kernel_ptr()
423 get_kernel_nofault(buf, ptr + size - 1)) { in test_kernel_ptr()
440 if (get_kernel_nofault(magic, ptr) || magic != expected) { in test_magic()
/Linux-v5.10/arch/parisc/kernel/
Dprocess.c276 if (!get_kernel_nofault(p, (void *)&desc->addr)) in dereference_function_descriptor()
/Linux-v5.10/arch/sh/kernel/
Dtraps.c121 if (get_kernel_nofault(opcode, (insn_size_t *)addr)) in is_valid_bugaddr()
/Linux-v5.10/arch/x86/mm/
Dfault.c101 if (get_kernel_nofault(opcode, instr)) in check_prefetch_opcode()
135 if (get_kernel_nofault(opcode, instr)) in is_prefetch()
350 return get_kernel_nofault(dummy, (unsigned long *)p); in bad_address()
/Linux-v5.10/arch/x86/pci/
Dpcbios.c305 if (get_kernel_nofault(sig, &check->fields.signature)) in pci_find_bios()
/Linux-v5.10/include/linux/
Duaccess.h388 #define get_kernel_nofault(val, ptr) ({ \ macro
/Linux-v5.10/arch/arm/mm/
Dalignment.c777 fault = get_kernel_nofault(instr, ip); in alignment_get_arm()
792 fault = get_kernel_nofault(instr, ip); in alignment_get_thumb()
/Linux-v5.10/arch/powerpc/kernel/
Dkgdb.c424 err = get_kernel_nofault(instr, (unsigned *) addr); in kgdb_arch_set_breakpoint()
Dkprobes.c293 if (get_kernel_nofault(instr, addr)) in kprobe_handler()
Dprocess.c1330 get_kernel_nofault(instr, (const void *)pc)) { in show_instructions()
/Linux-v5.10/arch/x86/kernel/kprobes/
Dopt.c280 if (get_kernel_nofault(ops, (void *)addr) < 0 || in is_padding_int3()
/Linux-v5.10/arch/arm/kernel/
Dtraps.c399 if (get_kernel_nofault(bkpt, (void *)pc)) in is_valid_bugaddr()
/Linux-v5.10/arch/s390/mm/
Dfault.c108 return get_kernel_nofault(dummy, (unsigned long *)p); in bad_address()
/Linux-v5.10/arch/arm64/kernel/
Dtraps.c316 if (get_kernel_nofault(instr_le, (__force __le32 *)pc)) in call_undef_hook()
/Linux-v5.10/arch/m68k/kernel/
Dtraps.c922 if (get_kernel_nofault(c, cp + i) && i >= 0) { in show_registers()
/Linux-v5.10/arch/powerpc/sysdev/
Dfsl_pci.c1072 ret = get_kernel_nofault(inst, (void *)regs->nip); in fsl_pci_mcheck_exception()