Home
last modified time | relevance | path

Searched refs:shmdt (Results 1 - 25 of 60) sorted by relevance

123

/third_party/ltp/testcases/kernel/mce-test/stress/tools/page-poisoning/
H A Dpage-poisoning.c368 shmdt(ipc); in dirty_anonymous()
385 shmdt(ipc); in dirty_anonymous_unmap()
401 shmdt(ipc); in mlocked_anonymous()
433 shmdt(ipc); in file_clean()
446 shmdt(ipc); in file_clean_mlocked()
510 shmdt(ipc); in file_dirty()
523 shmdt(ipc); in file_dirty_mlocked()
579 shmdt(ipc); in anon_clean()
594 shmdt(ipc);
631 shmdt(shmpt in shm_test()
[all...]
/third_party/alsa-lib/src/
H A Dshmarea.c110 shmdt(area->ptr); in snd_shm_area_destroy()
125 shmdt(area->ptr); in snd_shm_area_destructor()
/third_party/ltp/testcases/kernel/mem/shmt/
H A Dshmt08.c28 * shmctl(2) shmget(2) shmat(2) shmdt(2)
90 if (shmdt(cp) < 0) { in main()
92 tst_resm(TFAIL, "shmdt:cp"); in main()
95 if (shmdt(cp1) < 0) { in main()
97 tst_resm(TFAIL, "shmdt:cp1"); in main()
100 tst_resm(TPASS, "shmdt"); in main()
H A Dshmt10.c25 * shmt10.c - test simultaneous shmat/shmdt
28 * shmget, shmat, shmdt, shmctl
117 if (shmdt(c1) < 0) { in main()
118 tst_resm(TFAIL, "Error: shmdt: iter %d ", i); in main()
123 tst_resm(TPASS, "shmat,shmdt"); in main()
154 if (shmdt(c1) < 0) { in child()
156 NULL, "Error: child proc: shmdt: iter %d ", in child()
/third_party/musl/libc-test/src/functional/
H A Dipc_shm.c80 T(shmdt(p)); in set()
100 T(shmdt(p)); in get()
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/
H A Dhugeshmctl01.c140 if (shmdt(test) == -1) in stat_setup_1()
142 "shmdt in this function broke"); in stat_setup_1()
222 if (shmdt(attach_to_parent) == -1) in stat_cleanup()
224 "shmdt in this function failed"); in stat_cleanup()
/third_party/ltp/testcases/kernel/syscalls/setns/
H A Dsetns02.c92 shmdt(p); in do_child_newipc()
108 shmdt(p); in do_child_newipc()
/third_party/skia/third_party/externals/swiftshader/src/Main/
H A DFrameBufferX11.cpp82 shmdt(shminfo.shmaddr); in FrameBufferX11()
116 shmdt(shminfo.shmaddr); in ~FrameBufferX11()
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/shm_h/
H A D10-1-buildonly.c11 * int shmdt(const void *)
22 dummyvar = shmdt; in dummyfcn()
/third_party/musl/src/ipc/
H A Dshmdt.c5 int shmdt(const void *addr) in shmdt() function
/third_party/ltp/testcases/kernel/syscalls/ipc/shmdt/
H A Dshmdt02.c9 * Tests basic error handing of the shmdt syscall.
27 {&non_attched_addr, "shmdt(non_attched_addr)"},
28 {&unaligned_addr, "shmdt(unaligned_addr)"}
35 TST_EXP_FAIL(shmdt(*tc->addr), EINVAL, "%s", tc->des); in verify_shmdt()
H A Dshmdt01.c51 TST_EXP_PASS_SILENT(shmdt(shared)); in verify_shmdt()
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dshm.h63 int shmdt(const void *);
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
H A Dshm.h57 int shmdt(const void *);
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dshm.h63 int shmdt(const void *);
/third_party/musl/porting/liteos_a/kernel/include/sys/
H A Dshm.h63 int shmdt(const void *);
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dshm.h63 int shmdt(const void *);
/third_party/musl/include/sys/
H A Dshm.h63 int shmdt(const void *);
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmat/
H A Dhugeshmat05.c61 if (shmdt((const void *)shmaddr) != 0) { in shm_test()
H A Dhugeshmat01.c75 if (shmdt(addr) == -1) in verify_hugeshmat()
76 tst_brk(TBROK | TERRNO, "shmdt"); in verify_hugeshmat()
H A Dhugeshmat04.c76 shmdt(buf); in shared_hugepage()
/third_party/ltp/testcases/kernel/syscalls/ipc/shmctl/
H A Dshmctl05.c86 shmdt(addr); in do_test()
/third_party/musl/libc-test/src/api/
H A Dsys_shm.c27 {int(*p)(const void*) = shmdt;} in f()
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmdt/
H A Dhugeshmdt01.c12 * call shmdt() using the TEST macro
52 if (shmdt(shared) == -1) in hugeshmdt_test()
53 tst_res(TFAIL | TERRNO, "shmdt"); in hugeshmdt_test()
/third_party/ltp/testcases/kernel/syscalls/mremap/
H A Dmremap04.c226 if (shmdt(shmaddr) < 0) { in cleanup()
227 tst_brkm(TFAIL, NULL, "shmdt() Failed to detach shared " in cleanup()

Completed in 7 milliseconds

123