Searched refs:IPC_CREAT (Results 1 – 24 of 24) sorted by relevance
/linux-6.1.9/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace-tm-spr.c | 118 shm_id = shmget(IPC_PRIVATE, sizeof(struct shared), 0777|IPC_CREAT); in ptrace_tm_spr() 119 shm_id1 = shmget(IPC_PRIVATE, sizeof(int), 0777|IPC_CREAT); in ptrace_tm_spr()
|
D | ptrace-tar.c | 84 shm_id = shmget(IPC_PRIVATE, sizeof(int) * 3, 0777|IPC_CREAT); in ptrace_tar()
|
D | ptrace-vsx.c | 66 shm_id = shmget(IPC_PRIVATE, sizeof(int) * 2, 0777|IPC_CREAT); in ptrace_vsx()
|
D | ptrace-tm-gpr.c | 117 shm_id = shmget(IPC_PRIVATE, sizeof(int) * 2, 0777|IPC_CREAT); in ptrace_tm_gpr()
|
D | ptrace-tm-spd-gpr.c | 123 shm_id = shmget(IPC_PRIVATE, sizeof(int) * 3, 0777|IPC_CREAT); in ptrace_tm_spd_gpr()
|
D | ptrace-tm-spd-tar.c | 133 shm_id = shmget(IPC_PRIVATE, sizeof(int) * 3, 0777|IPC_CREAT); in ptrace_tm_spd_tar()
|
D | ptrace-tm-tar.c | 121 shm_id = shmget(IPC_PRIVATE, sizeof(int) * 2, 0777|IPC_CREAT); in ptrace_tm_tar()
|
D | ptrace-tm-spd-vsx.c | 133 shm_id = shmget(IPC_PRIVATE, sizeof(int) * 3, 0777|IPC_CREAT); in ptrace_tm_spd_vsx()
|
D | ptrace-tm-vsx.c | 117 shm_id = shmget(IPC_PRIVATE, sizeof(int) * 2, 0777|IPC_CREAT); in ptrace_tm_vsx()
|
D | ptrace-gpr.c | 132 shm_id = shmget(IPC_PRIVATE, sizeof(int) * 2, 0777|IPC_CREAT); in ptrace_gpr()
|
D | ptrace-pkey.c | 301 shm_id = shmget(IPC_PRIVATE, sizeof(*info), 0777 | IPC_CREAT); in ptrace_pkey()
|
D | core-pkey.c | 428 shm_id = shmget(IPC_PRIVATE, sizeof(*info), 0777 | IPC_CREAT); in core_pkey()
|
/linux-6.1.9/tools/testing/selftests/vm/ |
D | write_to_hugetlbfs.c | 199 SHM_HUGETLB | IPC_CREAT | SHM_R | SHM_W); in main() 202 SHM_HUGETLB | IPC_CREAT | SHM_R | SHM_W); in main()
|
D | hugepage-shm.c | 61 shmid = shmget(2, LENGTH, SHM_HUGETLB | IPC_CREAT | SHM_R | SHM_W); in main()
|
D | thuge-gen.c | 170 id = shmget(IPC_PRIVATE, size * NUM_PAGES, IPC_CREAT|0600|flags); in test_shmget()
|
/linux-6.1.9/include/uapi/linux/ |
D | ipc.h | 25 #define IPC_CREAT 00001000 /* create if key is nonexistent */ macro
|
/linux-6.1.9/tools/testing/selftests/ipc/ |
D | msgque.c | 53 id = msgget(msgque->key, msgque->mode | IPC_CREAT | IPC_EXCL); in restore_queue() 210 msgque.msq_id = msgget(msgque.key, IPC_CREAT | IPC_EXCL | 0666); in main()
|
/linux-6.1.9/tools/testing/selftests/proc/ |
D | setns-sysvipc.c | 60 if (shmget(IPC_PRIVATE, 1, IPC_CREAT) == -1) { in main()
|
/linux-6.1.9/tools/testing/selftests/futex/functional/ |
D | futex_wait.c | 97 shm_id = shmget(IPC_PRIVATE, 4096, IPC_CREAT | 0666); in main()
|
D | futex_waitv.c | 114 int shm_id = shmget(IPC_PRIVATE, 4096, IPC_CREAT | 0666); in main()
|
/linux-6.1.9/ipc/ |
D | util.c | 412 if (!(flg & IPC_CREAT)) in ipcget_public() 419 if (flg & IPC_CREAT && flg & IPC_EXCL) in ipcget_public()
|
/linux-6.1.9/tools/testing/selftests/powerpc/mm/ |
D | tlbie_test.c | 653 shmid = shmget(shm_key, page_size, IPC_CREAT|0666); in main()
|
/linux-6.1.9/Documentation/sparc/ |
D | adi.rst | 214 IPC_CREAT | SHM_R | SHM_W)) < 0) {
|
/linux-6.1.9/Documentation/ia64/ |
D | err_inject.rst | 319 shmid = shmget(key, SHM_SIZE, 0644 | IPC_CREAT); 393 if ((semid[cpu] = semget(key[cpu], 1, IPC_CREAT | IPC_EXCL)) == -1) {
|