Searched refs:access_process_vm (Results 1 - 21 of 21) sorted by relevance

/linux-4.4.14/arch/sparc/kernel/
H A Dptrace_64.c59 /* To get the necessary page struct, access_process_vm() first calls
130 int len2 = access_process_vm(target, uaddr, kbuf, len, 0); get_from_target()
144 int len2 = access_process_vm(target, uaddr, kbuf, len, 1); set_to_target()
505 if (access_process_vm(target, genregs32_get()
531 if (access_process_vm(target, genregs32_get()
537 if (access_process_vm(target, genregs32_get()
614 if (access_process_vm(target, genregs32_set()
642 if (access_process_vm(target, genregs32_set()
648 if (access_process_vm(target, genregs32_set()
/linux-4.4.14/arch/score/kernel/
H A Dptrace.c134 copied = access_process_vm(child, addr, res, sizeof(*res), 0); read_tsk_long()
145 copied = access_process_vm(child, addr, res, sizeof(*res), 0); read_tsk_short()
156 copied = access_process_vm(child, addr, &val, sizeof(val), 1); write_tsk_short()
167 copied = access_process_vm(child, addr, &val, sizeof(val), 1); write_tsk_long()
/linux-4.4.14/arch/x86/um/
H A Dptrace_32.c34 /* access_process_vm() grants access to vsyscall and stub, is_syscall()
35 * while copy_from_user doesn't. Maybe access_process_vm is is_syscall()
39 n = access_process_vm(current, addr, &instr, sizeof(instr), 0); is_syscall()
H A Dptrace_64.c206 * access_process_vm() grants access to vsyscall and stub, is_syscall()
207 * while copy_from_user doesn't. Maybe access_process_vm is is_syscall()
211 n = access_process_vm(current, addr, &instr, sizeof(instr), 0); is_syscall()
/linux-4.4.14/arch/alpha/kernel/
H A Dptrace.c160 int copied = access_process_vm(task, addr, data, sizeof(int), 0); read_int()
167 int copied = access_process_vm(task, addr, &data, sizeof(int), 1); write_int()
284 copied = access_process_vm(child, addr, &tmp, sizeof(tmp), 0); arch_ptrace()
/linux-4.4.14/arch/m32r/kernel/
H A Dptrace.c496 access_process_vm(child, p->addr[i], &p->insn[i], sizeof(p->insn[i]), 1); unregister_all_debug_traps()
540 if (access_process_vm(child, addr, &next_insn, sizeof(next_insn), 0) embed_debug_trap()
549 if (access_process_vm(child, addr, &code, sizeof(code), 1) embed_debug_trap()
565 access_process_vm(current, addr, &code, sizeof(code), 1); withdraw_debug_trap()
592 if (access_process_vm(child, pc&~3, &insn, sizeof(insn), 0) user_enable_single_step()
/linux-4.4.14/arch/mips/kernel/
H A Dptrace32.c72 copied = access_process_vm(child, (u64)addrOthers, &tmp, compat_arch_ptrace()
181 if (access_process_vm(child, (u64)addrOthers, &data, compat_arch_ptrace()
/linux-4.4.14/arch/cris/arch-v32/kernel/
H A Dptrace.c150 copied = access_process_vm(child, addr, &tmp, sizeof(tmp), 0); arch_ptrace()
282 copied = access_process_vm(child, pc, &opcode, sizeof(opcode), 0); insn_size()
/linux-4.4.14/arch/powerpc/kernel/
H A Dptrace32.c76 copied = access_process_vm(child, (u64)addrOthers, &tmp, compat_arch_ptrace()
181 if (access_process_vm(child, (u64)addrOthers, &tmp, compat_arch_ptrace()
/linux-4.4.14/arch/blackfin/kernel/
H A Dptrace.c273 copied = access_process_vm(child, addr, &tmp, arch_ptrace()
326 copied = access_process_vm(child, addr, &data, arch_ptrace()
/linux-4.4.14/kernel/
H A Dptrace.c534 retval = access_process_vm(tsk, src, buf, this_len, 0); ptrace_readdata()
561 retval = access_process_vm(tsk, dst, buf, this_len, 1); ptrace_writedata()
1124 copied = access_process_vm(tsk, addr, &tmp, sizeof(tmp), 0); generic_ptrace_peekdata()
1135 copied = access_process_vm(tsk, addr, &data, sizeof(data), 1); generic_ptrace_pokedata()
1152 ret = access_process_vm(child, addr, &word, sizeof(word), 0); compat_ptrace_request()
1161 ret = access_process_vm(child, addr, &data, sizeof(data), 1); compat_ptrace_request()
/linux-4.4.14/mm/
H A Dutil.c442 res = access_process_vm(task, mm->arg_start, buffer, len, 0); get_cmdline()
456 res += access_process_vm(task, mm->env_start, get_cmdline()
H A Dnommu.c1991 int access_process_vm(struct task_struct *tsk, unsigned long addr, void *buf, int len, int write) access_process_vm() function
H A Dfilemap.c78 * ->lock_page (access_process_vm)
H A Dmemory.c3780 int access_process_vm(struct task_struct *tsk, unsigned long addr, access_process_vm() function
/linux-4.4.14/arch/x86/kernel/
H A Dstep.c60 copied = access_process_vm(child, addr, opcode, sizeof(opcode), 0); is_setting_trap_flag()
/linux-4.4.14/arch/xtensa/mm/
H A Dcache.c255 * access_process_vm() has called get_user_pages(), which has done a
/linux-4.4.14/arch/ia64/kernel/
H A Dptrace.c456 copied = access_process_vm(child, addr, &ret, sizeof(ret), 0); ia64_peek()
492 } else if (access_process_vm(child, addr, &val, sizeof(val), 1) ia64_poke()
546 if (access_process_vm(child, addr, &val, sizeof(val), 1) ia64_sync_user_rbs()
562 if (access_process_vm(child, addr, &val, sizeof(val), 0) ia64_sync_kernel_rbs()
1159 if (access_process_vm(child, addr, &data, sizeof(data), 0) arch_ptrace()
/linux-4.4.14/include/linux/
H A Dregset.h98 * access_process_vm() can see it when this call returns; if zero,
H A Dmm.h268 /* called by access_process_vm when get_user_pages() fails, typically
570 * that do not have writing enabled, when used by access_process_vm.
1188 extern int access_process_vm(struct task_struct *tsk, unsigned long addr, void *buf, int len, int write);
/linux-4.4.14/arch/sh/mm/
H A Dcache-sh5.c100 access_process_vm->flush_cache_page->here, (e.g. when reading from sh64_icache_inv_user_page()

Completed in 853 milliseconds