Searched refs:shmat (Results 1 - 23 of 23) sorted by relevance

/linux-master/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-tm-spr.c37 cptr = (struct shared *)shmat(shm_id, NULL, 0);
38 cptr1 = (int *)shmat(shm_id1, NULL, 0);
130 pptr = (struct shared *)shmat(shm_id, NULL, 0);
131 pptr1 = (int *)shmat(shm_id1, NULL, 0);
H A Dptrace-tar.c20 cptr = (int *)shmat(shm_id, NULL, 0);
95 pptr = (int *)shmat(shm_id, NULL, 0);
H A Dptrace-vsx.c22 cptr = (int *)shmat(shm_id, NULL, 0);
84 pptr = (int *)shmat(shm_id, NULL, 0);
H A Dptrace-gpr.c28 cptr = (int *)shmat(shm_id, NULL, 0);
142 pptr = (int *)shmat(shm_id, NULL, 0);
H A Dptrace-tm-spd-gpr.c33 cptr = (int *)shmat(shm_id, NULL, 0);
134 pptr = (int *)shmat(shm_id, NULL, 0);
H A Dptrace-tm-gpr.c26 cptr = (unsigned long *)shmat(shm_id, NULL, 0);
127 pptr = (unsigned long *)shmat(shm_id, NULL, 0);
H A Dptrace-tm-spd-vsx.c47 cptr = (int *)shmat(shm_id, NULL, 0);
152 pptr = (int *)shmat(shm_id, NULL, 0);
H A Dptrace-tm-vsx.c34 cptr = (unsigned long *)shmat(shm_id, NULL, 0);
135 pptr = (unsigned long *)shmat(shm_id, NULL, 0);
H A Dptrace-tm-spd-tar.c27 cptr = (int *)shmat(shm_id, NULL, 0);
138 pptr = (int *)shmat(shm_id, NULL, 0);
H A Dptrace-tm-tar.c21 cptr = (unsigned long *)shmat(shm_id, NULL, 0);
126 pptr = (unsigned long *)shmat(shm_id, NULL, 0);
H A Dptrace-pkey.c302 info = shmat(shm_id, NULL, 0);
H A Dcore-pkey.c419 info = shmat(shm_id, NULL, 0);
/linux-master/tools/testing/selftests/powerpc/syscalls/
H A Dipc.h35 DO_TEST(shmat, __NR_shmat)
/linux-master/tools/testing/selftests/mm/
H A Dhugepage-shm.c64 shmaddr = shmat(shmid, ADDR, SHMAT_FLAGS);
H A Dwrite_to_hugetlbfs.c208 ptr = shmat(shmid, NULL, 0);
H A Dthuge-gen.c152 map = shmat(id, NULL, 0600);
154 ksft_exit_fail_msg("shmat: %s\n", strerror(errno));
H A Dpagemap_ioctl.c170 mem = shmat(*shmid, 0, 0);
/linux-master/tools/testing/selftests/futex/functional/
H A Dfutex_wait.c103 shared_data = shmat(shm_id, NULL, 0);
H A Dfutex_waitv.c121 unsigned int *shared_data = shmat(shm_id, NULL, 0);
/linux-master/kernel/
H A Dsys_ni.c141 COND_SYSCALL(shmat); variable
142 COND_SYSCALL_COMPAT(shmat); variable
/linux-master/tools/testing/selftests/powerpc/mm/
H A Dtlbie_test.c658 map1 = shmat(shmid, NULL, 0);
660 err_msg("Failed shmat");
663 map2 = shmat(shmid, NULL, 0);
665 err_msg("Failed shmat");
/linux-master/tools/testing/selftests/powerpc/benchmarks/
H A Dcontext_switch.c337 shmaddr = shmat(shmid, NULL, 0);
339 perror("shmat");
/linux-master/ipc/
H A Dshm.c1692 SYSCALL_DEFINE3(shmat, int, shmid, char __user *, shmaddr, int, shmflg)
1710 COMPAT_SYSCALL_DEFINE3(shmat, int, shmid, compat_uptr_t, shmaddr, int, shmflg)

Completed in 387 milliseconds