Home
last modified time | relevance | path

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

12345

/third_party/ltp/testcases/kernel/containers/sysvipc/
Dshmem_2nstest.c73 id1 = shmget(TESTKEY, 100, IPC_CREAT); in check_shmem1()
97 id2 = shmget(TESTKEY, 100, 0); in check_shmem2()
99 id2 = shmget(TESTKEY, 100, IPC_CREAT); in check_shmem2()
183 id = shmget(TESTKEY, 100, 0); in main()
Dshmnstest.c55 id = shmget(TESTKEY, 100, 0); in check_shmid()
108 id = shmget(TESTKEY, 100, IPC_CREAT); in main()
Dshm_comm.c64 id = shmget(TESTKEY, SHMSIZE, IPC_CREAT); in chld1_shm()
97 id = shmget(TESTKEY, SHMSIZE, IPC_CREAT); in chld2_shm()
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmget/
Dhugeshmget03.c32 TEST(shmget(IPC_PRIVATE, shm_size, in test_hugeshmget()
63 shm_id_1 = shmget(IPC_PRIVATE, shm_size, in setup()
72 shm_id_1 = shmget(IPC_PRIVATE, shm_size, in setup()
Dhugeshmget02.c44 shm_id_2 = shmget(*(tcases[i].skey), 0, 0); in test_hugeshmget()
49 TEST(shmget(*(tcases[i].skey), tcases[i].size_coe * shm_size, in test_hugeshmget()
80 shm_id_1 = shmget(shmkey, shm_size, in setup()
Dhugeshmget05.c48 TEST(shmget(shmkey, shm_size, SHM_HUGETLB | SHM_RW)); in do_child()
72 shm_id_1 = shmget(shmkey, shm_size, in setup()
/third_party/musl/libc-test/src/functional/
Dipc_shm.c39 T(shmid = shmget(k, 100, IPC_CREAT|0666)); in set()
41 T(shmid = shmget(k, 100, IPC_CREAT|IPC_EXCL|0666)); in set()
48 if (shmget(k, 100, IPC_CREAT|IPC_EXCL|0666) != -1 || errno != EEXIST) in set()
90 T(shmid = shmget(k, 0, 0)); in get()
/third_party/ltp/testcases/kernel/syscalls/ipc/shmget/
Dshmget03.c30 TST_EXP_FAIL2(shmget(shmkey + maxshms, SHM_SIZE, IPC_CREAT | IPC_EXCL | SHM_RW), ENOSPC, in verify_shmget()
46 res = shmget(shmkey + num, SHM_SIZE, IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
Dshmget02.c95 TST_EXP_FAIL2(shmget(*tc->shmkey, tc->size, tc->flags), tc->exp_err, in do_test()
107 TST_EXP_FAIL2(shmget(*tc->shmkey, tc->size, tc->flags), tc->exp_err, in do_test()
/third_party/ltp/testcases/kernel/mem/shmt/
Dshmt05.c73 if ((shmid = shmget(key[0], SIZE, IPC_CREAT | 0666)) < 0) { in main()
91 if ((shmid1 = shmget(key[1], SIZE, IPC_CREAT | 0666)) < 0) { in main()
Dshmt04.c88 if ((shmid = shmget(key, SIZE, IPC_CREAT | 0666)) < 0) { in main()
155 if ((shmid = shmget(key, SIZE, 0)) < 0) { in child()
Dshmt06.c87 if ((shmid = shmget(key, SIZE, IPC_CREAT | 0666)) < 0) { in main()
153 if ((shmid = shmget(key, SIZE, 0)) < 0) { in child()
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/
Dhugeshmctl02.c85 shm_id_1 = shmget(shmkey, shm_size, SHM_HUGETLB | IPC_CREAT | IPC_EXCL); in setup()
90 shm_id_2 = shmget(shmkey + 1, shm_size, in setup()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/gnn/
Dgraph_shared_memory.cc87 int shmid = shmget(memory_key_, 0, 0); in DeleteSharedMemory()
97 int shmid = shmget(memory_key_, memory_size_, shmflg); in SharedMemoryImpl()
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/shm_h/
D11-1-buildonly.c22 dummyvar = shmget; in dummyfcn()
/third_party/musl/src/ipc/
Dshmget.c6 int shmget(key_t key, size_t size, int flag) in shmget() function
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/
Dcache_ipc.cc103 shm_id_ = shmget(shm_key_, sz, IPC_CREAT | IPC_EXCL | access_mode); in Create()
116 shm_id_ = shmget(shm_key_, 0, 0); in Attach()
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
Dshm.h58 int shmget(key_t, size_t, int);
/third_party/musl/ndk_musl_include/sys/
Dshm.h64 int shmget(key_t, size_t, int);
/third_party/musl/include/sys/
Dshm.h64 int shmget(key_t, size_t, int);
/third_party/musl/porting/liteos_a/kernel/include/sys/
Dshm.h64 int shmget(key_t, size_t, int);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dshm.h64 int shmget(key_t, size_t, int);
/third_party/ltp/testcases/kernel/syscalls/ipc/shmctl/
Dshmctl06.c33 shmid = shmget(key, SHM_SIZE, IPC_CREAT | IPC_EXCL | SHM_RW); in run()
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dshm.h64 int shmget(key_t, size_t, int);
/third_party/musl/porting/uniproton/kernel/include/sys/
Dshm.h64 int shmget(key_t, size_t, int);

12345