Lines Matching refs:laddr
65 vm_read_mem(const pid_t pid, void *const laddr, in vm_read_mem() argument
78 .iov_base = laddr, in vm_read_mem()
107 void *laddr) in umoven_peekdata() argument
142 memcpy(laddr, &u.x[residue], m); in umoven_peekdata()
145 laddr += m; in umoven_peekdata()
202 void *laddr) in umovestr_peekdata() argument
206 void *const orig_addr = laddr; in umovestr_peekdata()
238 memcpy(laddr, &u.x[residue], m); in umovestr_peekdata()
241 return (laddr - orig_addr) + residue; in umovestr_peekdata()
244 laddr += m; in umovestr_peekdata()
265 char *laddr) in umovestr() argument
273 return umovestr_peekdata(pid, addr, len, laddr); in umovestr()
290 int r = vm_read_mem(pid, laddr, addr, chunk_len); in umovestr()
292 char *nul_addr = memchr(laddr, '\0', r); in umovestr()
295 return (nul_addr - laddr) + 1; in umovestr()
297 laddr += r; in umovestr()
308 len, laddr); in umovestr()