/third_party/ltp/testcases/kernel/containers/sysvipc/ |
D | shmem_2nstest.c | 73 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()
|
D | shmnstest.c | 55 id = shmget(TESTKEY, 100, 0); in check_shmid() 108 id = shmget(TESTKEY, 100, IPC_CREAT); in main()
|
D | shm_comm.c | 64 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/ |
D | hugeshmget03.c | 32 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()
|
D | hugeshmget02.c | 44 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()
|
D | hugeshmget05.c | 48 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/ |
D | ipc_shm.c | 39 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/ |
D | shmget03.c | 30 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()
|
D | shmget02.c | 95 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/ |
D | shmt05.c | 73 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()
|
D | shmt04.c | 88 if ((shmid = shmget(key, SIZE, IPC_CREAT | 0666)) < 0) { in main() 155 if ((shmid = shmget(key, SIZE, 0)) < 0) { in child()
|
D | shmt06.c | 87 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/ |
D | hugeshmctl02.c | 85 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/ |
D | graph_shared_memory.cc | 87 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/ |
D | 11-1-buildonly.c | 22 dummyvar = shmget; in dummyfcn()
|
/third_party/musl/src/ipc/ |
D | shmget.c | 6 int shmget(key_t key, size_t size, int flag) in shmget() function
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/ |
D | cache_ipc.cc | 103 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/ |
D | shm.h | 58 int shmget(key_t, size_t, int);
|
/third_party/musl/ndk_musl_include/sys/ |
D | shm.h | 64 int shmget(key_t, size_t, int);
|
/third_party/musl/include/sys/ |
D | shm.h | 64 int shmget(key_t, size_t, int);
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
D | shm.h | 64 int shmget(key_t, size_t, int);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
D | shm.h | 64 int shmget(key_t, size_t, int);
|
/third_party/ltp/testcases/kernel/syscalls/ipc/shmctl/ |
D | shmctl06.c | 33 shmid = shmget(key, SHM_SIZE, IPC_CREAT | IPC_EXCL | SHM_RW); in run()
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
D | shm.h | 64 int shmget(key_t, size_t, int);
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
D | shm.h | 64 int shmget(key_t, size_t, int);
|