Home
last modified time | relevance | path

Searched refs:IPC_RMID (Results 1 – 23 of 23) sorted by relevance

/linux/tools/testing/selftests/mm/
H A Dhugepage-shm.c51 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 Dwrite_to_hugetlbfs.c54 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 Dthuge-gen.c141 shmctl(id, IPC_RMID, NULL); in test_shmget()
H A Dpagemap_ioctl.c173 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 Dptrace-tm-spr.c140 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 Dptrace-vsx.c92 shmctl(shm_id, IPC_RMID, NULL); in ptrace_vsx()
100 shmctl(shm_id, IPC_RMID, NULL); in ptrace_vsx()
H A Dptrace-tm-tar.c136 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_tar()
142 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_tar()
H A Dptrace-tm-spd-tar.c149 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 Dptrace-tm-spd-vsx.c160 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 Dptrace-tm-vsx.c143 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_vsx()
149 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_vsx()
H A Dptrace-gpr.c150 shmctl(shm_id, IPC_RMID, NULL); in ptrace_gpr()
158 shmctl(shm_id, IPC_RMID, NULL); in ptrace_gpr()
H A Dptrace-tm-gpr.c140 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_gpr()
H A Dptrace-pkey.c297 shmctl(shm_id, IPC_RMID, NULL); in ptrace_pkey()
/linux/tools/testing/selftests/ipc/
H A Dmsgque.c77 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 Dipc.h39 #define IPC_RMID 0 /* remove resource */ macro
/linux/tools/testing/selftests/powerpc/benchmarks/
H A Dcontext_switch.c340 shmctl(shmid, IPC_RMID, NULL); in futex_setup()
344 shmctl(shmid, IPC_RMID, NULL); in futex_setup()
/linux/Documentation/arch/sparc/
H A Dadi.rst222 shmctl(shmid, IPC_RMID, NULL);
277 shmctl(shmid, IPC_RMID, NULL);
284 shmctl(shmid, IPC_RMID, NULL);
/linux/ipc/
H A Dmsg.c425 case IPC_RMID: in msgctl_down()
633 case IPC_RMID: in ksys_msgctl()
767 case IPC_RMID: in compat_ksys_msgctl()
H A Dsem.c1625 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 Dsmack_lsm.c3181 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 Dkublk.c1268 shmctl(ctx->_shmid, IPC_RMID, NULL); in cmd_dev_add()
/linux/security/selinux/
H A Dhooks.c6249 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 Dkernel.rst1376 from the process. The only use left for ``IPC_RMID`` is to immediately