Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/powerpc/ptrace/
H A 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()
130 pptr = (struct shared *)shmat(shm_id, NULL, 0); in ptrace_tm_spr()
131 pptr1 = (int *)shmat(shm_id1, NULL, 0); in ptrace_tm_spr()
H A Dptrace-tar.c20 cptr = (int *)shmat(shm_id, NULL, 0); in tar()
95 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_tar()
H A Dptrace-vsx.c22 cptr = (int *)shmat(shm_id, NULL, 0); in vsx()
84 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_vsx()
H A Dptrace-tm-gpr.c26 cptr = (unsigned long *)shmat(shm_id, NULL, 0); in tm_gpr()
127 pptr = (unsigned long *)shmat(shm_id, NULL, 0); in ptrace_tm_gpr()
H A Dptrace-tm-spd-gpr.c33 cptr = (int *)shmat(shm_id, NULL, 0); in tm_spd_gpr()
134 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_tm_spd_gpr()
H A Dptrace-tm-spd-tar.c27 cptr = (int *)shmat(shm_id, NULL, 0); in tm_spd_tar()
138 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_tm_spd_tar()
H A Dptrace-tm-tar.c21 cptr = (unsigned long *)shmat(shm_id, NULL, 0); in tm_tar()
126 pptr = (unsigned long *)shmat(shm_id, NULL, 0); in ptrace_tm_tar()
H A Dptrace-tm-vsx.c34 cptr = (unsigned long *)shmat(shm_id, NULL, 0); in tm_vsx()
135 pptr = (unsigned long *)shmat(shm_id, NULL, 0); in ptrace_tm_vsx()
H A Dptrace-tm-spd-vsx.c47 cptr = (int *)shmat(shm_id, NULL, 0); in tm_spd_vsx()
152 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_tm_spd_vsx()
H A Dptrace-gpr.c28 cptr = (int *)shmat(shm_id, NULL, 0); in child()
142 pptr = (int *)shmat(shm_id, NULL, 0); in ptrace_gpr()
H A Dptrace-pkey.c302 info = shmat(shm_id, NULL, 0); in ptrace_pkey()
H A Dcore-pkey.c419 info = shmat(shm_id, NULL, 0); in core_pkey()
/linux/tools/testing/selftests/powerpc/syscalls/
H A Dipc.h35 DO_TEST(shmat, __NR_shmat)
/linux/tools/testing/selftests/mm/
H A Dhugepage-shm.c48 shmaddr = shmat(shmid, NULL, 0); in main()
H A Dwrite_to_hugetlbfs.c210 ptr = shmat(shmid, NULL, 0); in main()
H A Dthuge-gen.c157 map = shmat(id, NULL, 0600); in test_shmget()
/linux/kernel/
H A Dsys_ni.c139 COND_SYSCALL(shmat);
140 COND_SYSCALL_COMPAT(shmat);
/linux/tools/testing/selftests/powerpc/mm/
H A Dtlbie_test.c658 map1 = shmat(shmid, NULL, 0); in main()
660 err_msg("Failed shmat"); in main()
663 map2 = shmat(shmid, NULL, 0); in main()
665 err_msg("Failed shmat"); in main()
/linux/tools/testing/selftests/futex/functional/
H A Dfutex_wait.c103 shared_data = shmat(shm_id, NULL, 0); in main()
H A Dfutex_waitv.c121 unsigned int *shared_data = shmat(shm_id, NULL, 0); in main()
/linux/tools/testing/selftests/powerpc/benchmarks/
H A Dcontext_switch.c337 shmaddr = shmat(shmid, NULL, 0); in futex_setup()
/linux/Documentation/arch/arm64/
H A Dtagged-address-abi.rst124 - ``shmat()`` and ``shmdt()``.
/linux/tools/perf/arch/mips/entry/syscalls/
H A Dsyscall_n64.tbl39 29 n64 shmat sys_shmat
/linux/scripts/
H A Dsyscall.tbl240 196 common shmat sys_shmat compat_sys_shmat
/linux/ipc/
H A Dshm.c1688 SYSCALL_DEFINE3(shmat, int, shmid, char __user *, shmaddr, int, shmflg) in SYSCALL_DEFINE3() argument
1706 COMPAT_SYSCALL_DEFINE3(shmat, int, shmid, compat_uptr_t, shmaddr, int, shmflg) in COMPAT_SYSCALL_DEFINE3() argument

12