/linux/tools/testing/selftests/mm/ |
H A D | hugepage-shm.c | 51 shmctl(shmid, IPC_RMID, NULL); in main() 74 shmctl(shmid, IPC_RMID, NULL); in main() 78 shmctl(shmid, IPC_RMID, NULL); in main()
|
H A D | write_to_hugetlbfs.c | 54 shmctl(shmid, IPC_RMID, NULL); in sig_handler() 58 shmctl(shmid, IPC_RMID, NULL); in sig_handler() 213 shmctl(shmid, IPC_RMID, NULL); in main()
|
H A D | thuge-gen.c | 141 shmctl(id, IPC_RMID, NULL); in test_shmget()
|
H A D | pagemap_ioctl.c | 173 shmctl(*shmid, IPC_RMID, NULL); in gethugetlb_mem() 1618 shmctl(shmid, IPC_RMID, NULL); in main() 1649 shmctl(shmid, IPC_RMID, NULL); in main()
|
/linux/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace-tm-spr.c | 140 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_spr() 141 shmctl(shm_id1, IPC_RMID, NULL); in ptrace_tm_spr() 148 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_spr() 149 shmctl(shm_id1, IPC_RMID, NULL); in ptrace_tm_spr()
|
H A D | ptrace-vsx.c | 92 shmctl(shm_id, IPC_RMID, NULL); in ptrace_vsx() 100 shmctl(shm_id, IPC_RMID, NULL); in ptrace_vsx()
|
H A D | ptrace-tm-tar.c | 136 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_tar() 142 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_tar()
|
H A D | ptrace-tm-spd-tar.c | 149 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_spd_tar() 156 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_spd_tar()
|
H A D | ptrace-tm-spd-vsx.c | 160 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_spd_vsx() 166 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_spd_vsx()
|
H A D | ptrace-tm-vsx.c | 143 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_vsx() 149 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_vsx()
|
H A D | ptrace-gpr.c | 150 shmctl(shm_id, IPC_RMID, NULL); in ptrace_gpr() 158 shmctl(shm_id, IPC_RMID, NULL); in ptrace_gpr()
|
H A D | ptrace-tm-gpr.c | 140 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_gpr()
|
H A D | ptrace-pkey.c | 297 shmctl(shm_id, IPC_RMID, NULL); in ptrace_pkey()
|
/linux/tools/testing/selftests/ipc/ |
H A D | msgque.c | 77 if (msgctl(id, IPC_RMID, NULL)) in restore_queue() 123 if (msgctl(msgque->msq_id, IPC_RMID, NULL)) { in check_and_destroy_queue() 247 if (msgctl(msgque.msq_id, IPC_RMID, NULL)) { in main()
|
/linux/include/uapi/linux/ |
H A D | ipc.h | 39 #define IPC_RMID 0 /* remove resource */ macro
|
/linux/tools/testing/selftests/powerpc/benchmarks/ |
H A D | context_switch.c | 340 shmctl(shmid, IPC_RMID, NULL); in futex_setup() 344 shmctl(shmid, IPC_RMID, NULL); in futex_setup()
|
/linux/Documentation/arch/sparc/ |
H A D | adi.rst | 222 shmctl(shmid, IPC_RMID, NULL); 277 shmctl(shmid, IPC_RMID, NULL); 284 shmctl(shmid, IPC_RMID, NULL);
|
/linux/ipc/ |
H A D | msg.c | 425 case IPC_RMID: in msgctl_down() 633 case IPC_RMID: in ksys_msgctl() 767 case IPC_RMID: in compat_ksys_msgctl()
|
H A D | sem.c | 1625 case IPC_RMID: in semctl_down() 1698 case IPC_RMID: in ksys_semctl() 1812 case IPC_RMID: in compat_ksys_semctl() 2374 /* exit_sem raced with IPC_RMID, nothing to do */ in exit_sem() 2381 /* exit_sem raced with IPC_RMID, nothing to do */ in exit_sem() 2388 /* exit_sem raced with IPC_RMID, nothing to do */ in exit_sem() 2396 /* exit_sem raced with IPC_RMID+semget() that created in exit_sem()
|
/linux/security/smack/ |
H A D | smack_lsm.c | 3181 case IPC_RMID: in smack_shm_shmctl() 3274 case IPC_RMID: in smack_sem_semctl() 3363 case IPC_RMID: in smack_msg_queue_msgctl()
|
/linux/tools/testing/selftests/ublk/ |
H A D | kublk.c | 1268 shmctl(ctx->_shmid, IPC_RMID, NULL); in cmd_dev_add()
|
/linux/security/selinux/ |
H A D | hooks.c | 6249 case IPC_RMID: in selinux_msg_queue_msgctl() 6381 case IPC_RMID: in selinux_shm_shmctl() 6461 case IPC_RMID: in selinux_sem_semctl()
|
/linux/Documentation/admin-guide/sysctl/ |
H A D | kernel.rst | 1376 from the process. The only use left for ``IPC_RMID`` is to immediately
|