Home
last modified time | relevance | path

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

12345

/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-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/
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.c41 cptr = (struct shared *)shmat(shm_id, NULL, 0); in tm_spr()
42 cptr1 = (int *)shmat(shm_id1, NULL, 0); in tm_spr()
133 pptr = (struct shared *)shmat(shm_id, NULL, 0); in ptrace_tm_spr()
134 pptr1 = (int *)shmat(shm_id1, NULL, 0); in ptrace_tm_spr()
Dptrace-gpr.c28 cptr = (int *)shmat(shm_id, NULL, 0); in gpr()
91 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_gpr()
Dptrace-tar.c24 cptr = (int *)shmat(shm_id, NULL, 0); in tar()
96 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_tar()
Dptrace-vsx.c26 cptr = (int *)shmat(shm_id, NULL, 0); in vsx()
86 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_vsx()
Dptrace-tm-tar.c25 cptr = (unsigned long *)shmat(shm_id, NULL, 0); in tm_tar()
129 pptr = (unsigned long *)shmat(shm_id, NULL, 0); in ptrace_tm_tar()
Dptrace-tm-gpr.c30 cptr = (unsigned long *)shmat(shm_id, NULL, 0); in tm_gpr()
130 pptr = (unsigned long *)shmat(shm_id, NULL, 0); in ptrace_tm_gpr()
Dptrace-tm-spd-tar.c31 cptr = (int *)shmat(shm_id, NULL, 0); in tm_spd_tar()
141 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_tm_spd_tar()
Dptrace-tm-spd-gpr.c37 cptr = (int *)shmat(shm_id, NULL, 0); in tm_spd_gpr()
137 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_tm_spd_gpr()
Dptrace-tm-vsx.c38 cptr = (unsigned long *)shmat(shm_id, NULL, 0); in tm_vsx()
139 pptr = (unsigned long *)shmat(shm_id, NULL, 0); in ptrace_tm_vsx()
Dptrace-tm-spd-vsx.c51 cptr = (int *)shmat(shm_id, NULL, 0); in tm_spd_vsx()
156 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()
153 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/kernel/syscalls/setns/
Dsetns02.c110 p = shmat(shmid, NULL, 0); in do_child_newipc()
125 p = shmat(shmid, NULL, 0); in do_child_newipc()
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/shm_h/
D8-1-buildonly.c22 dummyvar = shmat; in dummyfcn()

12345