Home
last modified time | relevance | path

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

12

/Linux-v4.19/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-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-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-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-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-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()
Dptrace-pkey.c303 info = shmat(shm_id, NULL, 0); in ptrace_pkey()
Dcore-pkey.c432 info = shmat(shm_id, NULL, 0); in core_pkey()
/Linux-v4.19/tools/testing/selftests/powerpc/syscalls/
Dipc.h35 DO_TEST(shmat, __NR_shmat)
/Linux-v4.19/tools/testing/selftests/vm/
Dhugepage-shm.c68 shmaddr = shmat(shmid, ADDR, SHMAT_FLAGS); in main()
Dthuge-gen.c179 char *map = shmat(id, NULL, 0600); in test_shmget()
/Linux-v4.19/kernel/
Dsys_ni.c219 COND_SYSCALL(shmat);
220 COND_SYSCALL_COMPAT(shmat);
/Linux-v4.19/tools/testing/selftests/powerpc/benchmarks/
Dcontext_switch.c330 shmaddr = shmat(shmid, NULL, 0); in futex_setup()
/Linux-v4.19/arch/parisc/kernel/
Dsyscall_table.S290 ENTRY_COMP(shmat)
/Linux-v4.19/arch/x86/entry/syscalls/
Dsyscall_64.tbl41 30 common shmat __x64_sys_shmat
/Linux-v4.19/tools/perf/arch/x86/entry/syscalls/
Dsyscall_64.tbl41 30 common shmat __x64_sys_shmat
/Linux-v4.19/arch/arm/tools/
Dsyscall.tbl322 305 common shmat sys_shmat
/Linux-v4.19/Documentation/admin-guide/mm/
Dhugetlbpage.rst22 system call or standard SYSV shared memory system calls (shmget, shmat).
348 applications are going to use only shmat/shmget system calls or mmap with
/Linux-v4.19/ipc/
Dshm.c1565 SYSCALL_DEFINE3(shmat, int, shmid, char __user *, shmaddr, int, shmflg) in SYSCALL_DEFINE3() argument
1583 COMPAT_SYSCALL_DEFINE3(shmat, int, shmid, compat_uptr_t, shmaddr, int, shmflg) in COMPAT_SYSCALL_DEFINE3() argument
/Linux-v4.19/Documentation/sparc/
Dadi.txt211 shmaddr = shmat(shmid, NULL, 0);
/Linux-v4.19/Documentation/ia64/
Derr_inject.txt336 shmaddr = shmat(shmid, (void *)SHM_VA, 0);
338 perror("shmat");

12