Home
last modified time | relevance | path

Searched refs:shm_id (Results 1 – 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/ptrace/
Dptrace-gpr.c12 int shm_id; variable
24 cptr = (int *)shmat(shm_id, NULL, 0); in gpr()
77 shm_id = shmget(IPC_PRIVATE, sizeof(int) * 2, 0777|IPC_CREAT); in ptrace_gpr()
87 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_gpr()
95 shmctl(shm_id, IPC_RMID, NULL); in ptrace_gpr()
103 shmctl(shm_id, IPC_RMID, NULL); in ptrace_gpr()
Dptrace-vsx.c11 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()
Dptrace-tm-tar.c11 int shm_id; variable
21 cptr = (unsigned long *)shmat(shm_id, NULL, 0); in tm_tar()
120 shm_id = shmget(IPC_PRIVATE, sizeof(int) * 2, 0777|IPC_CREAT); in ptrace_tm_tar()
125 pptr = (unsigned long *)shmat(shm_id, NULL, 0); in ptrace_tm_tar()
135 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_tar()
141 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_tar()
Dptrace-tm-spd-tar.c11 int shm_id; variable
27 cptr = (int *)shmat(shm_id, NULL, 0); in tm_spd_tar()
132 shm_id = shmget(IPC_PRIVATE, sizeof(int) * 3, 0777|IPC_CREAT); in ptrace_tm_spd_tar()
137 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_tm_spd_tar()
148 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_spd_tar()
155 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_spd_tar()
Dptrace-tm-vsx.c11 int shm_id; variable
34 cptr = (unsigned long *)shmat(shm_id, NULL, 0); in tm_vsx()
116 shm_id = shmget(IPC_PRIVATE, sizeof(int) * 2, 0777|IPC_CREAT); in ptrace_tm_vsx()
134 pptr = (unsigned long *)shmat(shm_id, NULL, 0); in ptrace_tm_vsx()
142 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_vsx()
148 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_vsx()
Dptrace-tm-spr.c17 int shm_id; variable
37 cptr = (struct shared *)shmat(shm_id, NULL, 0); in tm_spr()
117 shm_id = shmget(IPC_PRIVATE, sizeof(struct shared), 0777|IPC_CREAT); in ptrace_tm_spr()
129 pptr = (struct shared *)shmat(shm_id, NULL, 0); in ptrace_tm_spr()
139 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_spr()
147 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_spr()
Dptrace-tm-spd-gpr.c12 int shm_id; variable
33 cptr = (int *)shmat(shm_id, NULL, 0); in tm_spd_gpr()
122 shm_id = shmget(IPC_PRIVATE, sizeof(int) * 3, 0777|IPC_CREAT); in ptrace_tm_spd_gpr()
133 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_tm_spd_gpr()
143 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_spd_gpr()
150 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_spd_gpr()
Dptrace-tm-spd-vsx.c11 int shm_id; variable
47 cptr = (int *)shmat(shm_id, NULL, 0); in tm_spd_vsx()
132 shm_id = shmget(IPC_PRIVATE, sizeof(int) * 3, 0777|IPC_CREAT); in ptrace_tm_spd_vsx()
151 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_tm_spd_vsx()
159 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_spd_vsx()
165 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_spd_vsx()
Dptrace-tar.c11 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()
Dptrace-tm-gpr.c12 int shm_id; variable
26 cptr = (unsigned long *)shmat(shm_id, NULL, 0); in tm_gpr()
116 shm_id = shmget(IPC_PRIVATE, sizeof(int) * 2, 0777|IPC_CREAT); in ptrace_tm_gpr()
126 pptr = (unsigned long *)shmat(shm_id, NULL, 0); in ptrace_tm_gpr()
139 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_gpr()
Dptrace-pkey.c297 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()
Dcore-pkey.c420 int shm_id; in core_pkey() local
428 shm_id = shmget(IPC_PRIVATE, sizeof(*info), 0777 | IPC_CREAT); in core_pkey()
429 info = shmat(shm_id, NULL, 0); in core_pkey()
448 shmctl(shm_id, IPC_RMID, NULL); in core_pkey()
/kernel/linux/linux-5.10/sound/soc/codecs/
Dcros_ec_codec.c393 uint8_t shm_id, uint32_t *len, uint8_t *type) in wov_map_shm() argument
400 p.get_shm_addr_param.shm_id = shm_id; in wov_map_shm()
438 p.set_shm_addr_param.shm_id = shm_id; in wov_map_shm()
/kernel/linux/linux-5.10/include/linux/platform_data/
Dcros_ec_commands.h4500 uint8_t shm_id; member
4507 uint8_t shm_id; member