Lines Matching refs:laddr
757 * at address `addr' to our space at `laddr'
760 umoven(struct tcb *tcp, long addr, int len, char *laddr)
788 memcpy(laddr, &u.x[n], m = MIN(sizeof(long) - n, len));
789 addr += sizeof(long), laddr += m, len -= m;
804 memcpy(laddr, u.x, m = MIN(sizeof(long), len));
805 addr += sizeof(long), laddr += m, len -= m;
817 (char *) addr, len, laddr) < 0) {
826 laddr += n;
837 if (read(fd, laddr, len) == -1)
849 umovestr(struct tcb *tcp, long addr, int len, char *laddr)
872 if ((move = read(fd, laddr, move)) <= 0)
874 if (memchr (laddr, 0, move)) break;
876 laddr += move;
905 memcpy(laddr, &u.x[n], m = MIN(sizeof(long)-n,len));
909 addr += sizeof(long), laddr += m, len -= m;
924 memcpy(laddr, u.x, m = MIN(sizeof(long), len));
929 addr += sizeof(long), laddr += m, len -= m;
945 uload(cmd, pid, addr, len, laddr)
950 char *laddr;
977 memcpy(&u.x[n], laddr, m = MIN(sizeof(long) - n, len));
982 addr += sizeof(long), laddr += m, len -= m;
987 memcpy(u.x, laddr, m = MIN(sizeof(long), len));
992 addr += sizeof(long), laddr += m, len -= m;
998 tload(pid, addr, len, laddr)
1001 char *laddr;
1003 return uload(PTRACE_WRITETEXT, pid, addr, len, laddr);
1007 dload(pid, addr, len, laddr)
1011 char *laddr;
1013 return uload(PTRACE_WRITEDATA, pid, addr, len, laddr);