Home
last modified time | relevance | path

Searched refs:shmat (Results 1 – 25 of 120) sorted by relevance

12345

/external/strace/tests-m32/
Dshmxt.c40 rc = (long) shmat(bogus_shmid, bogus_shmaddr, bogus_shmflg); in main()
45 shmat(id, NULL, SHM_REMAP); in main()
49 void *shmaddr = shmat(id, NULL, SHM_RDONLY); in main()
61 void *shmaddr2 = shmat(id, shmaddr, SHM_RND); in main()
72 shmaddr = shmat(id, NULL, SHM_RDONLY|SHM_EXEC); in main()
/external/strace/tests-mx32/
Dshmxt.c40 rc = (long) shmat(bogus_shmid, bogus_shmaddr, bogus_shmflg); in main()
45 shmat(id, NULL, SHM_REMAP); in main()
49 void *shmaddr = shmat(id, NULL, SHM_RDONLY); in main()
61 void *shmaddr2 = shmat(id, shmaddr, SHM_RND); in main()
72 shmaddr = shmat(id, NULL, SHM_RDONLY|SHM_EXEC); in main()
/external/strace/tests/
Dshmxt.c40 rc = (long) shmat(bogus_shmid, bogus_shmaddr, bogus_shmflg); in main()
45 shmat(id, NULL, SHM_REMAP); in main()
49 void *shmaddr = shmat(id, NULL, SHM_RDONLY); in main()
61 void *shmaddr2 = shmat(id, shmaddr, SHM_RND); in main()
72 shmaddr = shmat(id, NULL, SHM_RDONLY|SHM_EXEC); in main()
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/
Dptrace-tm-spr.c37 cptr = (struct shared *)shmat(shm_id, NULL, 0); in tm_spr()
38 cptr1 = (int *)shmat(shm_id1, NULL, 0); in tm_spr()
129 pptr = (struct shared *)shmat(shm_id, NULL, 0); in ptrace_tm_spr()
130 pptr1 = (int *)shmat(shm_id1, NULL, 0); in ptrace_tm_spr()
Dptrace-gpr.c24 cptr = (int *)shmat(shm_id, NULL, 0); in gpr()
87 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_gpr()
Dptrace-tar.c20 cptr = (int *)shmat(shm_id, NULL, 0); in tar()
92 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_tar()
Dptrace-vsx.c22 cptr = (int *)shmat(shm_id, NULL, 0); in vsx()
82 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_vsx()
Dptrace-tm-gpr.c26 cptr = (unsigned long *)shmat(shm_id, NULL, 0); in tm_gpr()
126 pptr = (unsigned long *)shmat(shm_id, NULL, 0); in ptrace_tm_gpr()
Dptrace-tm-tar.c21 cptr = (unsigned long *)shmat(shm_id, NULL, 0); in tm_tar()
125 pptr = (unsigned long *)shmat(shm_id, NULL, 0); in ptrace_tm_tar()
Dptrace-tm-spd-tar.c27 cptr = (int *)shmat(shm_id, NULL, 0); in tm_spd_tar()
137 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_tm_spd_tar()
Dptrace-tm-spd-gpr.c33 cptr = (int *)shmat(shm_id, NULL, 0); in tm_spd_gpr()
133 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_tm_spd_gpr()
Dptrace-tm-vsx.c34 cptr = (unsigned long *)shmat(shm_id, NULL, 0); in tm_vsx()
134 pptr = (unsigned long *)shmat(shm_id, NULL, 0); in ptrace_tm_vsx()
Dptrace-tm-spd-vsx.c47 cptr = (int *)shmat(shm_id, NULL, 0); in tm_spd_vsx()
151 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_tm_spd_vsx()
/external/ltp/testcases/kernel/mem/shmt/
Dshmt06.c96 cp = shmat(shmid, NULL, 0); in main()
159 cp = shmat(shmid, NULL, 0); in child()
185 cp = shmat(shmid, NULL, 0); in child()
Dshmt09.c102 c1 = shmat(shmid, NULL, 0); in main()
123 c2 = shmat(shmid, vp, 0); in main()
151 c3 = shmat(shmid, vp, SHM_RND); in main()
Dshmt08.c72 cp = shmat(shmid, NULL, 0); in main()
79 cp1 = shmat(shmid, NULL, 0); in main()
Dshmt03.c79 if ((cp1 = shmat(shmid, NULL, 0)) == (char *)-1) { in main()
93 if ((cp2 = shmat(shmid, NULL, 0)) == (char *)-1) { in main()
Dshmt05.c79 cp = shmat(shmid, NULL, 0); in main()
97 cp1 = shmat(shmid1, cp + (SIZE / 2), 0); in main()
Dshmt10.c111 if ((c1 = shmat(shmid, NULL, 0)) == (char *)-1) { in main()
148 if ((c1 = shmat(shmid, NULL, 0)) == (char *)-1) { in child()
Dshmt04.c97 cp = shmat(shmid, NULL, 0); in main()
161 cp = shmat(shmid, NULL, 0); in child()
/external/ltp/testcases/kernel/syscalls/ipc/shmdt/
Dshmdt01.c107 shared = shmat(shm_id_1, 0, 0); in main()
202 shared = shmat(shm_id_1, 0, 0); in setup()
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmdt/
Dhugeshmdt01.c76 shared = shmat(shm_id_1, 0, 0); in hugeshmdt_test()
154 shared = shmat(shm_id_1, 0, 0); in setup()
/external/ltp/testcases/kernel/containers/sysvipc/
Dshm_comm.c70 if ((shmem = shmat(id, NULL, 0)) == (char *) -1) { in chld1_shm()
103 if ((shmem = shmat(id, NULL, 0)) == (char *) -1) { in chld2_shm()
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/shm_h/
D8-1-buildonly.c22 dummyvar = shmat; in dummyfcn()
/external/ltp/testcases/kernel/syscalls/setns/
Dsetns02.c110 p = shmat(shmid, NULL, 0); in do_child_newipc()
125 p = shmat(shmid, NULL, 0); in do_child_newipc()

12345