Home
last modified time | relevance | path

Searched refs:shmget (Results 1 – 25 of 50) sorted by relevance

12

/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/Documentation/translations/zh_CN/mm/
Dhugetlbfs_reserv.rst92 当创建一个巨大的有页面支持的共享内存段(shmget(SHM_HUGETLB))或通过mmap(MAP_HUGETLB)
100 hugetlb_reserve_pages()做的第一件事是检查在调用shmget()或mmap()时是否指定了NORESERVE
103 参数'from'和'to'是映射或基础文件的巨页索引。对于shmget(),'from'总是0,'to'对应于段/映射
/linux-6.1.9/tools/testing/selftests/vm/
Dwrite_to_hugetlbfs.c198 shmid = shmget(key, size, in main()
201 shmid = shmget(++key, size, 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/tools/testing/selftests/powerpc/syscalls/
Dipc.h43 DO_TEST(shmget, __NR_shmget)
/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/tools/testing/selftests/powerpc/benchmarks/
Dcontext_switch.c331 shmid = shmget(IPC_PRIVATE, getpagesize(), SHM_R | SHM_W); in futex_setup()
/linux-6.1.9/kernel/
Dsys_ni.c229 COND_SYSCALL(shmget);
/linux-6.1.9/Documentation/sparc/
Dadi.rst213 if ((shmid = shmget(2, BUFFER_SIZE,
215 perror("shmget failed");
/linux-6.1.9/Documentation/ia64/
Derr_inject.rst319 shmid = shmget(key, SHM_SIZE, 0644 | IPC_CREAT);
322 shmid = shmget(key, SHM_SIZE, 0);
324 perror("shmget");
329 perror("shmget");
/linux-6.1.9/tools/testing/selftests/powerpc/mm/
Dtlbie_test.c653 shmid = shmget(shm_key, page_size, IPC_CREAT|0666); in main()

12