Searched refs:shm_id1 (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace-tm-spr.c | 20 int shm_id1; variable 38 cptr1 = (int *)shmat(shm_id1, NULL, 0); in tm_spr() 118 shm_id1 = shmget(IPC_PRIVATE, sizeof(int), 0777|IPC_CREAT); in ptrace_tm_spr() 130 pptr1 = (int *)shmat(shm_id1, NULL, 0); in ptrace_tm_spr() 140 shmctl(shm_id1, IPC_RMID, NULL); in ptrace_tm_spr() 148 shmctl(shm_id1, IPC_RMID, NULL); in ptrace_tm_spr()
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace-tm-spr.c | 20 int shm_id1; variable 38 cptr1 = (int *)shmat(shm_id1, NULL, 0); in tm_spr() 119 shm_id1 = shmget(IPC_PRIVATE, sizeof(int), 0777|IPC_CREAT); in ptrace_tm_spr() 131 pptr1 = (int *)shmat(shm_id1, NULL, 0); in ptrace_tm_spr() 141 shmctl(shm_id1, IPC_RMID, NULL); in ptrace_tm_spr() 149 shmctl(shm_id1, IPC_RMID, NULL); in ptrace_tm_spr()
|
Completed in 2 milliseconds