/linux-master/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace-tm-spr.c | 37 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 D | ptrace-tar.c | 20 cptr = (int *)shmat(shm_id, NULL, 0); 95 pptr = (int *)shmat(shm_id, NULL, 0);
|
H A D | ptrace-vsx.c | 22 cptr = (int *)shmat(shm_id, NULL, 0); 84 pptr = (int *)shmat(shm_id, NULL, 0);
|
H A D | ptrace-gpr.c | 28 cptr = (int *)shmat(shm_id, NULL, 0); 142 pptr = (int *)shmat(shm_id, NULL, 0);
|
H A D | ptrace-tm-spd-gpr.c | 33 cptr = (int *)shmat(shm_id, NULL, 0); 134 pptr = (int *)shmat(shm_id, NULL, 0);
|
H A D | ptrace-tm-gpr.c | 26 cptr = (unsigned long *)shmat(shm_id, NULL, 0); 127 pptr = (unsigned long *)shmat(shm_id, NULL, 0);
|
H A D | ptrace-tm-spd-vsx.c | 47 cptr = (int *)shmat(shm_id, NULL, 0); 152 pptr = (int *)shmat(shm_id, NULL, 0);
|
H A D | ptrace-tm-vsx.c | 34 cptr = (unsigned long *)shmat(shm_id, NULL, 0); 135 pptr = (unsigned long *)shmat(shm_id, NULL, 0);
|
H A D | ptrace-tm-spd-tar.c | 27 cptr = (int *)shmat(shm_id, NULL, 0); 138 pptr = (int *)shmat(shm_id, NULL, 0);
|
H A D | ptrace-tm-tar.c | 21 cptr = (unsigned long *)shmat(shm_id, NULL, 0); 126 pptr = (unsigned long *)shmat(shm_id, NULL, 0);
|
H A D | ptrace-pkey.c | 302 info = shmat(shm_id, NULL, 0);
|
H A D | core-pkey.c | 419 info = shmat(shm_id, NULL, 0);
|
/linux-master/tools/testing/selftests/powerpc/syscalls/ |
H A D | ipc.h | 35 DO_TEST(shmat, __NR_shmat)
|
/linux-master/tools/testing/selftests/mm/ |
H A D | hugepage-shm.c | 64 shmaddr = shmat(shmid, ADDR, SHMAT_FLAGS);
|
H A D | write_to_hugetlbfs.c | 208 ptr = shmat(shmid, NULL, 0);
|
H A D | thuge-gen.c | 152 map = shmat(id, NULL, 0600); 154 ksft_exit_fail_msg("shmat: %s\n", strerror(errno));
|
H A D | pagemap_ioctl.c | 170 mem = shmat(*shmid, 0, 0);
|
/linux-master/tools/testing/selftests/futex/functional/ |
H A D | futex_wait.c | 103 shared_data = shmat(shm_id, NULL, 0);
|
H A D | futex_waitv.c | 121 unsigned int *shared_data = shmat(shm_id, NULL, 0);
|
/linux-master/kernel/ |
H A D | sys_ni.c | 141 COND_SYSCALL(shmat); variable 142 COND_SYSCALL_COMPAT(shmat); variable
|
/linux-master/tools/testing/selftests/powerpc/mm/ |
H A D | tlbie_test.c | 658 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 D | context_switch.c | 337 shmaddr = shmat(shmid, NULL, 0); 339 perror("shmat");
|
/linux-master/ipc/ |
H A D | shm.c | 1692 SYSCALL_DEFINE3(shmat, int, shmid, char __user *, shmaddr, int, shmflg) 1710 COMPAT_SYSCALL_DEFINE3(shmat, int, shmid, compat_uptr_t, shmaddr, int, shmflg)
|