• Home
  • Raw
  • Download

Lines Matching refs:iov

104 	struct iovec iov;  in ptrace_read_regs()  local
109 iov.iov_base = regs; in ptrace_read_regs()
110 iov.iov_len = n * sizeof(unsigned long); in ptrace_read_regs()
112 ret = ptrace(PTRACE_GETREGSET, child, type, &iov); in ptrace_read_regs()
124 struct iovec iov; in ptrace_write_regs() local
129 iov.iov_base = regs; in ptrace_write_regs()
130 iov.iov_len = n * sizeof(unsigned long); in ptrace_write_regs()
132 ret = ptrace(PTRACE_SETREGSET, child, type, &iov); in ptrace_write_regs()
142 struct iovec iov; in show_tar_registers() local
151 iov.iov_base = (u64 *) reg; in show_tar_registers()
152 iov.iov_len = sizeof(unsigned long); in show_tar_registers()
154 ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TAR, &iov); in show_tar_registers()
162 ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_PPR, &iov); in show_tar_registers()
170 ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_DSCR, &iov); in show_tar_registers()
188 struct iovec iov; in write_tar_registers() local
198 iov.iov_base = (u64 *) reg; in write_tar_registers()
199 iov.iov_len = sizeof(unsigned long); in write_tar_registers()
202 ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TAR, &iov); in write_tar_registers()
209 ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_PPR, &iov); in write_tar_registers()
216 ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_DSCR, &iov); in write_tar_registers()
231 struct iovec iov; in show_tm_checkpointed_state() local
241 iov.iov_base = (u64 *) reg; in show_tm_checkpointed_state()
242 iov.iov_len = sizeof(unsigned long); in show_tm_checkpointed_state()
244 ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CTAR, &iov); in show_tm_checkpointed_state()
252 ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CPPR, &iov); in show_tm_checkpointed_state()
260 ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CDSCR, &iov); in show_tm_checkpointed_state()
279 struct iovec iov; in write_ckpt_tar_registers() local
289 iov.iov_base = (u64 *) reg; in write_ckpt_tar_registers()
290 iov.iov_len = sizeof(unsigned long); in write_ckpt_tar_registers()
293 ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TM_CTAR, &iov); in write_ckpt_tar_registers()
300 ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TM_CPPR, &iov); in write_ckpt_tar_registers()
307 ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TM_CDSCR, &iov); in write_ckpt_tar_registers()
366 struct iovec iov; in show_ckpt_fpr() local
370 iov.iov_base = regs; in show_ckpt_fpr()
371 iov.iov_len = sizeof(struct fpr_regs); in show_ckpt_fpr()
373 ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CFPR, &iov); in show_ckpt_fpr()
390 struct iovec iov; in write_ckpt_fpr() local
394 iov.iov_base = regs; in write_ckpt_fpr()
395 iov.iov_len = sizeof(struct fpr_regs); in write_ckpt_fpr()
397 ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CFPR, &iov); in write_ckpt_fpr()
406 ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TM_CFPR, &iov); in write_ckpt_fpr()
471 struct iovec iov; in show_ckpt_gpr() local
480 iov.iov_base = (u64 *) regs; in show_ckpt_gpr()
481 iov.iov_len = sizeof(struct pt_regs); in show_ckpt_gpr()
483 ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CGPR, &iov); in show_ckpt_gpr()
500 struct iovec iov; in write_ckpt_gpr() local
508 iov.iov_base = (u64 *) regs; in write_ckpt_gpr()
509 iov.iov_len = sizeof(struct pt_regs); in write_ckpt_gpr()
511 ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CGPR, &iov); in write_ckpt_gpr()
520 ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TM_CGPR, &iov); in write_ckpt_gpr()
544 struct iovec iov; in show_vmx_ckpt() local
547 iov.iov_base = (u64 *) regs; in show_vmx_ckpt()
548 iov.iov_len = sizeof(regs); in show_vmx_ckpt()
549 ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CVMX, &iov); in show_vmx_ckpt()
574 struct iovec iov; in write_vmx_ckpt() local
578 iov.iov_base = (u64 *) regs; in write_vmx_ckpt()
579 iov.iov_len = sizeof(regs); in write_vmx_ckpt()
580 ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TM_CVMX, &iov); in write_vmx_ckpt()
604 struct iovec iov; in show_vsx_ckpt() local
607 iov.iov_base = (u64 *) regs; in show_vsx_ckpt()
608 iov.iov_len = sizeof(regs); in show_vsx_ckpt()
609 ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_CVSX, &iov); in show_vsx_ckpt()
633 struct iovec iov; in write_vsx_ckpt() local
637 iov.iov_base = (u64 *) regs; in write_vsx_ckpt()
638 iov.iov_len = sizeof(regs); in write_vsx_ckpt()
639 ret = ptrace(PTRACE_SETREGSET, child, NT_PPC_TM_CVSX, &iov); in write_vsx_ckpt()
651 struct iovec iov; in show_tm_spr() local
660 iov.iov_base = (u64 *) regs; in show_tm_spr()
661 iov.iov_len = sizeof(struct tm_spr_regs); in show_tm_spr()
663 ret = ptrace(PTRACE_GETREGSET, child, NT_PPC_TM_SPR, &iov); in show_tm_spr()