Searched refs:shmctl (Results 1 - 20 of 20) sorted by relevance

/linux-master/tools/testing/selftests/mm/
H A Dhugepage-shm.c67 shmctl(shmid, IPC_RMID, NULL);
90 shmctl(shmid, IPC_RMID, NULL);
94 shmctl(shmid, IPC_RMID, NULL);
H A Dwrite_to_hugetlbfs.c53 shmctl(shmid, IPC_RMID, NULL);
57 shmctl(shmid, IPC_RMID, NULL);
211 shmctl(shmid, IPC_RMID, NULL);
H A Dthuge-gen.c149 if (shmctl(id, SHM_INFO, (void *)&i) < 0)
150 ksft_exit_fail_msg("shmctl: %s\n", strerror(errno));
156 shmctl(id, IPC_RMID, NULL);
H A Dpagemap_ioctl.c172 shmctl(*shmid, IPC_RMID, NULL);
1549 shmctl(shmid, IPC_RMID, NULL);
1578 shmctl(shmid, IPC_RMID, NULL);
/linux-master/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-tm-spr.c140 shmctl(shm_id, IPC_RMID, NULL);
141 shmctl(shm_id1, IPC_RMID, NULL);
148 shmctl(shm_id, IPC_RMID, NULL);
149 shmctl(shm_id1, IPC_RMID, NULL);
H A Dptrace-vsx.c92 shmctl(shm_id, IPC_RMID, NULL);
100 shmctl(shm_id, IPC_RMID, NULL);
H A Dptrace-gpr.c150 shmctl(shm_id, IPC_RMID, NULL);
158 shmctl(shm_id, IPC_RMID, NULL);
H A Dptrace-tm-spd-gpr.c144 shmctl(shm_id, IPC_RMID, NULL);
151 shmctl(shm_id, IPC_RMID, NULL);
H A Dptrace-tm-spd-vsx.c160 shmctl(shm_id, IPC_RMID, NULL);
166 shmctl(shm_id, IPC_RMID, NULL);
H A Dptrace-tm-vsx.c143 shmctl(shm_id, IPC_RMID, NULL);
149 shmctl(shm_id, IPC_RMID, NULL);
H A Dptrace-tm-spd-tar.c149 shmctl(shm_id, IPC_RMID, NULL);
156 shmctl(shm_id, IPC_RMID, NULL);
H A Dptrace-tm-tar.c136 shmctl(shm_id, IPC_RMID, NULL);
142 shmctl(shm_id, IPC_RMID, NULL);
H A Dptrace-tar.c119 shmctl(shm_id, IPC_RMID, NULL);
H A Dptrace-tm-gpr.c140 shmctl(shm_id, IPC_RMID, NULL);
H A Dptrace-pkey.c321 shmctl(shm_id, IPC_RMID, NULL);
H A Dcore-pkey.c438 shmctl(shm_id, IPC_RMID, NULL);
/linux-master/tools/testing/selftests/powerpc/syscalls/
H A Dipc.h47 DO_TEST(shmctl, __NR_shmctl)
/linux-master/tools/testing/selftests/powerpc/benchmarks/
H A Dcontext_switch.c340 shmctl(shmid, IPC_RMID, NULL);
344 shmctl(shmid, IPC_RMID, NULL);
/linux-master/kernel/
H A Dsys_ni.c138 COND_SYSCALL(shmctl); variable
139 COND_SYSCALL_COMPAT(shmctl); variable
/linux-master/ipc/
H A Dshm.c352 * 1) shmctl(id, IPC_RMID, NULL) was called for this shp
988 * This function handles some shmctl commands which require the rwsem
1295 SYSCALL_DEFINE3(shmctl, int, shmid, int, cmd, struct shmid_ds __user *, buf)
1491 COMPAT_SYSCALL_DEFINE3(shmctl, int, shmid, int, cmd, void __user *, uptr)

Completed in 291 milliseconds