/linux-6.6.21/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace-vsx.c | 11 int shm_id; variable 22 cptr = (int *)shmat(shm_id, NULL, 0); in vsx() 66 shm_id = shmget(IPC_PRIVATE, sizeof(int) * 2, 0777|IPC_CREAT); in ptrace_vsx() 84 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_vsx() 92 shmctl(shm_id, IPC_RMID, NULL); in ptrace_vsx() 100 shmctl(shm_id, IPC_RMID, NULL); in ptrace_vsx()
|
D | ptrace-tm-spd-gpr.c | 12 int shm_id; variable 33 cptr = (int *)shmat(shm_id, NULL, 0); in tm_spd_gpr() 123 shm_id = shmget(IPC_PRIVATE, sizeof(int) * 3, 0777|IPC_CREAT); in ptrace_tm_spd_gpr() 134 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_tm_spd_gpr() 144 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_spd_gpr() 151 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_spd_gpr()
|
D | ptrace-tm-spd-tar.c | 11 int shm_id; variable 27 cptr = (int *)shmat(shm_id, NULL, 0); in tm_spd_tar() 133 shm_id = shmget(IPC_PRIVATE, sizeof(int) * 3, 0777|IPC_CREAT); in ptrace_tm_spd_tar() 138 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_tm_spd_tar() 149 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_spd_tar() 156 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_spd_tar()
|
D | ptrace-tm-spr.c | 17 int shm_id; variable 37 cptr = (struct shared *)shmat(shm_id, NULL, 0); in tm_spr() 118 shm_id = shmget(IPC_PRIVATE, sizeof(struct shared), 0777|IPC_CREAT); in ptrace_tm_spr() 130 pptr = (struct shared *)shmat(shm_id, NULL, 0); in ptrace_tm_spr() 140 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_spr() 148 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_spr()
|
D | ptrace-tm-tar.c | 11 int shm_id; variable 21 cptr = (unsigned long *)shmat(shm_id, NULL, 0); in tm_tar() 121 shm_id = shmget(IPC_PRIVATE, sizeof(int) * 2, 0777|IPC_CREAT); in ptrace_tm_tar() 126 pptr = (unsigned long *)shmat(shm_id, NULL, 0); in ptrace_tm_tar() 136 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_tar() 142 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_tar()
|
D | ptrace-tm-vsx.c | 11 int shm_id; variable 34 cptr = (unsigned long *)shmat(shm_id, NULL, 0); in tm_vsx() 117 shm_id = shmget(IPC_PRIVATE, sizeof(int) * 2, 0777|IPC_CREAT); in ptrace_tm_vsx() 135 pptr = (unsigned long *)shmat(shm_id, NULL, 0); in ptrace_tm_vsx() 143 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_vsx() 149 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_vsx()
|
D | ptrace-tm-spd-vsx.c | 11 int shm_id; variable 47 cptr = (int *)shmat(shm_id, NULL, 0); in tm_spd_vsx() 133 shm_id = shmget(IPC_PRIVATE, sizeof(int) * 3, 0777|IPC_CREAT); in ptrace_tm_spd_vsx() 152 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_tm_spd_vsx() 160 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_spd_vsx() 166 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_spd_vsx()
|
D | ptrace-gpr.c | 13 int shm_id; variable 28 cptr = (int *)shmat(shm_id, NULL, 0); in child() 132 shm_id = shmget(IPC_PRIVATE, sizeof(int) * 2, 0777|IPC_CREAT); in ptrace_gpr() 142 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_gpr() 150 shmctl(shm_id, IPC_RMID, NULL); in ptrace_gpr() 158 shmctl(shm_id, IPC_RMID, NULL); in ptrace_gpr()
|
D | ptrace-tar.c | 11 int shm_id; variable 20 cptr = (int *)shmat(shm_id, NULL, 0); in tar() 84 shm_id = shmget(IPC_PRIVATE, sizeof(int) * 3, 0777|IPC_CREAT); in ptrace_tar() 95 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_tar() 119 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tar()
|
D | ptrace-tm-gpr.c | 12 int shm_id; variable 26 cptr = (unsigned long *)shmat(shm_id, NULL, 0); in tm_gpr() 117 shm_id = shmget(IPC_PRIVATE, sizeof(int) * 2, 0777|IPC_CREAT); in ptrace_tm_gpr() 127 pptr = (unsigned long *)shmat(shm_id, NULL, 0); in ptrace_tm_gpr() 140 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_gpr()
|
D | ptrace-pkey.c | 297 int shm_id; in ptrace_pkey() local 301 shm_id = shmget(IPC_PRIVATE, sizeof(*info), 0777 | IPC_CREAT); in ptrace_pkey() 302 info = shmat(shm_id, NULL, 0); in ptrace_pkey() 321 shmctl(shm_id, IPC_RMID, NULL); in ptrace_pkey()
|
D | core-pkey.c | 410 int shm_id; in core_pkey() local 418 shm_id = shmget(IPC_PRIVATE, sizeof(*info), 0777 | IPC_CREAT); in core_pkey() 419 info = shmat(shm_id, NULL, 0); in core_pkey() 438 shmctl(shm_id, IPC_RMID, NULL); in core_pkey()
|
/linux-6.6.21/tools/testing/selftests/futex/functional/ |
D | futex_wait.c | 50 int res, ret = RET_PASS, fd, c, shm_id; in main() local 97 shm_id = shmget(IPC_PRIVATE, 4096, IPC_CREAT | 0666); in main() 98 if (shm_id < 0) { in main() 103 shared_data = shmat(shm_id, NULL, 0); in main()
|
D | futex_waitv.c | 114 int shm_id = shmget(IPC_PRIVATE, 4096, IPC_CREAT | 0666); in main() local 116 if (shm_id < 0) { in main() 121 unsigned int *shared_data = shmat(shm_id, NULL, 0); in main()
|
/linux-6.6.21/sound/soc/codecs/ |
D | cros_ec_codec.c | 394 uint8_t shm_id, uint32_t *len, uint8_t *type) in wov_map_shm() argument 401 p.get_shm_addr_param.shm_id = shm_id; in wov_map_shm() 439 p.set_shm_addr_param.shm_id = shm_id; in wov_map_shm()
|
/linux-6.6.21/include/linux/platform_data/ |
D | cros_ec_commands.h | 4536 uint8_t shm_id; member 4543 uint8_t shm_id; member
|