Searched refs:to_copy (Results 1 – 1 of 1) sorted by relevance
/arch/blackfin/kernel/ |
D | ptrace.c | 262 int copied = 0, to_copy = sizeof(tmp); in arch_ptrace() local 265 pr_debug("ptrace: PEEKTEXT at addr 0x%08lx + %i\n", addr, to_copy); in arch_ptrace() 266 if (is_user_addr_valid(child, addr, to_copy) < 0) in arch_ptrace() 270 switch (bfin_mem_access_type(addr, to_copy)) { in arch_ptrace() 274 to_copy, 0); in arch_ptrace() 280 addr + to_copy <= FIXED_CODE_END) { in arch_ptrace() 281 copy_from_user_page(0, 0, 0, &tmp, paddr, to_copy); in arch_ptrace() 282 copied = to_copy; in arch_ptrace() 284 memcpy(&tmp, paddr, to_copy); in arch_ptrace() 285 copied = to_copy; in arch_ptrace() [all …]
|