Searched refs:cptr (Results 1 – 10 of 10) sorted by relevance
/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace-tm-spd-gpr.c | 13 int *cptr, *pptr; variable 22 cptr[2] = 1; in wait_parent() 23 while (!cptr[1]) in wait_parent() 33 cptr = (int *)shmat(shm_id, NULL, 0); in tm_spd_gpr() 36 cptr[2] = 0; in tm_spd_gpr() 75 if (!cptr[0]) in tm_spd_gpr() 78 shmdt((void *)cptr); in tm_spd_gpr() 89 shmdt((void *)cptr); in tm_spd_gpr()
|
D | ptrace-tm-spd-tar.c | 12 int *cptr, *pptr; variable 16 cptr[2] = 1; in wait_parent() 17 while (!cptr[1]) in wait_parent() 27 cptr = (int *)shmat(shm_id, NULL, 0); in tm_spd_tar() 30 cptr[2] = 0; in tm_spd_tar() 81 if (!cptr[0]) in tm_spd_tar() 88 shmdt(&cptr); in tm_spd_tar() 97 shmdt(&cptr); in tm_spd_tar()
|
D | ptrace-tm-spd-vsx.c | 12 int *cptr, *pptr; variable 37 cptr[2] = 1; in wait_parent() 38 while (!cptr[1]) in wait_parent() 47 cptr = (int *)shmat(shm_id, NULL, 0); in tm_spd_vsx() 50 cptr[2] = 0; in tm_spd_vsx() 82 if (!cptr[0]) in tm_spd_vsx() 84 shmdt((void *)cptr); in tm_spd_vsx() 92 shmdt((void *)cptr); in tm_spd_vsx()
|
D | ptrace-tm-gpr.c | 13 unsigned long *cptr, *pptr; variable 26 cptr = (unsigned long *)shmat(shm_id, NULL, 0); in tm_gpr() 29 cptr[1] = 0; in tm_gpr() 59 [flt_2] "b" (&b), [cptr1] "b" (&cptr[1]) in tm_gpr() 68 if (!cptr[0]) in tm_gpr() 71 shmdt((void *)cptr); in tm_gpr() 83 shmdt((void *)cptr); in tm_gpr()
|
D | ptrace-tm-tar.c | 12 unsigned long *cptr, *pptr; variable 21 cptr = (unsigned long *)shmat(shm_id, NULL, 0); in tm_tar() 24 cptr[1] = 0; in tm_tar() 64 [dscr_2]"i"(DSCR_2), [cptr1] "b" (&cptr[1]) in tm_tar() 70 if (!cptr[0]) in tm_tar() 77 shmdt(&cptr); in tm_tar() 86 shmdt(&cptr); in tm_tar()
|
D | ptrace-tar.c | 12 int *cptr; variable 20 cptr = (int *)shmat(shm_id, NULL, 0); in tar() 28 cptr[2] = 1; in tar() 31 while (!cptr[0]) in tar() 42 cptr[1] = 1; in tar() 43 shmdt((int *)cptr); in tar()
|
D | ptrace-tm-vsx.c | 12 unsigned long *cptr, *pptr; variable 34 cptr = (unsigned long *)shmat(shm_id, NULL, 0); in tm_vsx() 37 cptr[1] = 0; in tm_vsx() 64 : [sprn_texasr] "i" (SPRN_TEXASR), [cptr1] "b" (&cptr[1]) in tm_vsx() 70 if (!cptr[0]) in tm_vsx() 73 shmdt((void *)cptr); in tm_vsx() 80 shmdt((void *)cptr); in tm_vsx()
|
D | ptrace-tm-spr.c | 18 struct shared *cptr, *pptr; variable 37 cptr = (struct shared *)shmat(shm_id, NULL, 0); in tm_spr() 82 if (!cptr->flag) in tm_spr() 85 ret = validate_tm_spr((struct tm_spr_regs *)&cptr->regs); in tm_spr() 86 shmdt((void *)cptr); in tm_spr() 92 shmdt((void *)cptr); in tm_spr()
|
D | ptrace-gpr.c | 13 int *cptr, *pptr; variable 24 cptr = (int *)shmat(shm_id, NULL, 0); in gpr() 37 cptr[1] = 1; in gpr() 39 while (!cptr[0]) in gpr() 42 shmdt((void *)cptr); in gpr()
|
D | ptrace-vsx.c | 12 int *cptr, *pptr; variable 22 cptr = (int *)shmat(shm_id, NULL, 0); in vsx() 24 cptr[1] = 1; in vsx() 26 while (!cptr[0]) in vsx() 28 shmdt((void *) cptr); in vsx()
|