/linux-master/tools/testing/selftests/mm/ |
H A D | hugepage-shm.c | 67 shmctl(shmid, IPC_RMID, NULL); 90 shmctl(shmid, IPC_RMID, NULL); 94 shmctl(shmid, IPC_RMID, NULL);
|
H A D | write_to_hugetlbfs.c | 53 shmctl(shmid, IPC_RMID, NULL); 57 shmctl(shmid, IPC_RMID, NULL); 211 shmctl(shmid, IPC_RMID, NULL);
|
H A D | thuge-gen.c | 149 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 D | pagemap_ioctl.c | 172 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 D | ptrace-tm-spr.c | 140 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 D | ptrace-vsx.c | 92 shmctl(shm_id, IPC_RMID, NULL); 100 shmctl(shm_id, IPC_RMID, NULL);
|
H A D | ptrace-gpr.c | 150 shmctl(shm_id, IPC_RMID, NULL); 158 shmctl(shm_id, IPC_RMID, NULL);
|
H A D | ptrace-tm-spd-gpr.c | 144 shmctl(shm_id, IPC_RMID, NULL); 151 shmctl(shm_id, IPC_RMID, NULL);
|
H A D | ptrace-tm-spd-vsx.c | 160 shmctl(shm_id, IPC_RMID, NULL); 166 shmctl(shm_id, IPC_RMID, NULL);
|
H A D | ptrace-tm-vsx.c | 143 shmctl(shm_id, IPC_RMID, NULL); 149 shmctl(shm_id, IPC_RMID, NULL);
|
H A D | ptrace-tm-spd-tar.c | 149 shmctl(shm_id, IPC_RMID, NULL); 156 shmctl(shm_id, IPC_RMID, NULL);
|
H A D | ptrace-tm-tar.c | 136 shmctl(shm_id, IPC_RMID, NULL); 142 shmctl(shm_id, IPC_RMID, NULL);
|
H A D | ptrace-tar.c | 119 shmctl(shm_id, IPC_RMID, NULL);
|
H A D | ptrace-tm-gpr.c | 140 shmctl(shm_id, IPC_RMID, NULL);
|
H A D | ptrace-pkey.c | 321 shmctl(shm_id, IPC_RMID, NULL);
|
H A D | core-pkey.c | 438 shmctl(shm_id, IPC_RMID, NULL);
|
/linux-master/tools/testing/selftests/powerpc/syscalls/ |
H A D | ipc.h | 47 DO_TEST(shmctl, __NR_shmctl)
|
/linux-master/tools/testing/selftests/powerpc/benchmarks/ |
H A D | context_switch.c | 340 shmctl(shmid, IPC_RMID, NULL); 344 shmctl(shmid, IPC_RMID, NULL);
|
/linux-master/kernel/ |
H A D | sys_ni.c | 138 COND_SYSCALL(shmctl); variable 139 COND_SYSCALL_COMPAT(shmctl); variable
|
/linux-master/ipc/ |
H A D | shm.c | 352 * 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)
|