Home
last modified time | relevance | path

Searched refs:IPC_CREAT (Results 1 – 24 of 24) sorted by relevance

/linux-6.1.9/tools/testing/selftests/powerpc/ptrace/
Dptrace-tm-spr.c118 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()
Dptrace-tar.c84 shm_id = shmget(IPC_PRIVATE, sizeof(int) * 3, 0777|IPC_CREAT); in ptrace_tar()
Dptrace-vsx.c66 shm_id = shmget(IPC_PRIVATE, sizeof(int) * 2, 0777|IPC_CREAT); in ptrace_vsx()
Dptrace-tm-gpr.c117 shm_id = shmget(IPC_PRIVATE, sizeof(int) * 2, 0777|IPC_CREAT); in ptrace_tm_gpr()
Dptrace-tm-spd-gpr.c123 shm_id = shmget(IPC_PRIVATE, sizeof(int) * 3, 0777|IPC_CREAT); in ptrace_tm_spd_gpr()
Dptrace-tm-spd-tar.c133 shm_id = shmget(IPC_PRIVATE, sizeof(int) * 3, 0777|IPC_CREAT); in ptrace_tm_spd_tar()
Dptrace-tm-tar.c121 shm_id = shmget(IPC_PRIVATE, sizeof(int) * 2, 0777|IPC_CREAT); in ptrace_tm_tar()
Dptrace-tm-spd-vsx.c133 shm_id = shmget(IPC_PRIVATE, sizeof(int) * 3, 0777|IPC_CREAT); in ptrace_tm_spd_vsx()
Dptrace-tm-vsx.c117 shm_id = shmget(IPC_PRIVATE, sizeof(int) * 2, 0777|IPC_CREAT); in ptrace_tm_vsx()
Dptrace-gpr.c132 shm_id = shmget(IPC_PRIVATE, sizeof(int) * 2, 0777|IPC_CREAT); in ptrace_gpr()
Dptrace-pkey.c301 shm_id = shmget(IPC_PRIVATE, sizeof(*info), 0777 | IPC_CREAT); in ptrace_pkey()
Dcore-pkey.c428 shm_id = shmget(IPC_PRIVATE, sizeof(*info), 0777 | IPC_CREAT); in core_pkey()
/linux-6.1.9/tools/testing/selftests/vm/
Dwrite_to_hugetlbfs.c199 SHM_HUGETLB | IPC_CREAT | SHM_R | SHM_W); in main()
202 SHM_HUGETLB | IPC_CREAT | SHM_R | SHM_W); in main()
Dhugepage-shm.c61 shmid = shmget(2, LENGTH, SHM_HUGETLB | IPC_CREAT | SHM_R | SHM_W); in main()
Dthuge-gen.c170 id = shmget(IPC_PRIVATE, size * NUM_PAGES, IPC_CREAT|0600|flags); in test_shmget()
/linux-6.1.9/include/uapi/linux/
Dipc.h25 #define IPC_CREAT 00001000 /* create if key is nonexistent */ macro
/linux-6.1.9/tools/testing/selftests/ipc/
Dmsgque.c53 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/
Dsetns-sysvipc.c60 if (shmget(IPC_PRIVATE, 1, IPC_CREAT) == -1) { in main()
/linux-6.1.9/tools/testing/selftests/futex/functional/
Dfutex_wait.c97 shm_id = shmget(IPC_PRIVATE, 4096, IPC_CREAT | 0666); in main()
Dfutex_waitv.c114 int shm_id = shmget(IPC_PRIVATE, 4096, IPC_CREAT | 0666); in main()
/linux-6.1.9/ipc/
Dutil.c412 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/
Dtlbie_test.c653 shmid = shmget(shm_key, page_size, IPC_CREAT|0666); in main()
/linux-6.1.9/Documentation/sparc/
Dadi.rst214 IPC_CREAT | SHM_R | SHM_W)) < 0) {
/linux-6.1.9/Documentation/ia64/
Derr_inject.rst319 shmid = shmget(key, SHM_SIZE, 0644 | IPC_CREAT);
393 if ((semid[cpu] = semget(key[cpu], 1, IPC_CREAT | IPC_EXCL)) == -1) {