Home
last modified time | relevance | path

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

12

/freebsd/tools/regression/sysvshm/
H A Dshmtest.c136 if ((shm_buf = shmat(sender_shmid, NULL, 0)) == (void *) -1) in main()
272 if ((shm_buf = shmat(shmid, NULL, 0)) == (void *) -1) in receiver()
/freebsd/contrib/netbsd-tests/kernel/
H A Dt_sysv.c654 shm_buf = shmat(sender_shmid, NULL, 0); in ATF_TC_BODY()
757 shm_buf = shmat(shmid, NULL, 0); in sharer()
794 ATF_REQUIRE_MSG(shmat(shmid_remap, shm_buf, 0) == (void *)-1, in ATF_TC_BODY()
796 ATF_REQUIRE_MSG(shmat(shmid_remap, shm_buf, SHM_REMAP) == shm_buf, in ATF_TC_BODY()
/freebsd/contrib/sendmail/src/
H A Dshmticklib.c53 sp = (STATUSD_SHM *) shmat(shmid, NULL, 0);
/freebsd/contrib/unbound/util/shm_side/
H A Dshm_main.c154 shmat(daemon->shm_info->id_ctl, NULL, 0); in shm_main_init()
167 shmat(daemon->shm_info->id_arr, NULL, 0); in shm_main_init()
/freebsd/contrib/sendmail/libsm/
H A Dshm.c60 shm = shmat(*shmid, (void *) 0, 0);
/freebsd/sys/sys/
H A Dshm.h176 void *shmat(int, const void *, int);
H A Dsyscall.mk146 shmat.o \
/freebsd/tools/test/stress2/misc/
H A Dshm2.sh119 if ((c = shmat(shmid, NULL, 0)) == (void *) -1)
H A Dshm.sh141 if ((shmp = shmat(shmid, NULL, 0)) == (void *) -1)
/freebsd/tools/test/stress2/testcases/shm/
H A Dshm.c73 if ((shm_buf = shmat(shmid, NULL, 0)) == (void *) -1) in setup()
/freebsd/lib/libsys/
H A DMakefile.sys325 shmat.2 \
513 MLINKS+=shmat.2 shmdt.2
H A DSymbol.sys.map222 shmat;
/freebsd/contrib/ntp/util/
H A Dsht.c59 struct shmTime *p=(struct shmTime *)shmat (shmid, 0, 0); in getShmTime()
/freebsd/contrib/netbsd-tests/lib/libc/sys/
H A Dt_mincore.c300 addr = shmat(shmid, NULL, 0); in ATF_TC_BODY()
/freebsd/tests/sys/audit/
H A Dinter-process.c464 ATF_REQUIRE((intptr_t)(addr = shmat(shmid, NULL, 0)) != -1); in ATF_TC_BODY()
492 ATF_REQUIRE_EQ(-1, (intptr_t)shmat(-1, NULL, 0)); in ATF_TC_BODY()
520 ATF_REQUIRE((intptr_t)(addr = shmat(shmid, NULL, 0)) != -1); in ATF_TC_BODY()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/
H A DExecutorSharedMemoryMapperService.cpp77 void *Addr = shmat(SharedMemoryId, nullptr, 0); in reserve()
/freebsd/contrib/unbound/smallapp/
H A Dunbound-control.c481 shm_stat = (struct ub_shm_stat_info*)shmat(id_ctl, NULL, SHM_RDONLY); in print_stats_shm()
485 stats = (struct ub_stats_info*)shmat(id_arr, NULL, SHM_RDONLY); in print_stats_shm()
/freebsd/contrib/ofed/libmlx5/
H A Dbuf.c206 hmem->shmaddr = shmat(hmem->shmid, MLX5_SHM_ADDR, MLX5_SHMAT_FLAGS); in alloc_huge_mem()
/freebsd/contrib/ntp/ntpd/
H A Drefclock_shm.c148 p = (struct shmTime *)shmat (shmid, 0, 0); in getShmTime()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DMemoryMapper.cpp258 LocalAddr = shmat(SharedMemoryId, nullptr, 0); in reserve()
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_interceptors.cpp1649 INTERCEPTOR(void *, shmat, int shmid, const void *shmaddr, int shmflg) { in INTERCEPTOR() argument
1651 void *p = REAL(shmat)(shmid, shmaddr, shmflg); in INTERCEPTOR()
1919 INTERCEPT_FUNCTION(shmat); in InitializeInterceptors()
/freebsd/sys/kern/
H A Dsysv_shm.c912 SYSCALL_INIT_HELPER(shmat),
935 SYSCALL32_INIT_HELPER_COMPAT(shmat),
/freebsd/contrib/openbsm/etc/
H A Daudit_event117 96:AUE_SHMAT:shmat(2):ip
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_syscalls.inc2333 PRE_SYSCALL(shmat)(long shmid, void *shmaddr, long shmflg) {}
2335 POST_SYSCALL(shmat)(long res, long shmid, void *shmaddr, long shmflg) {
/freebsd/contrib/dialog/
H A Dconfigure6878 char shmat (void);
6891 return shmat ();
6937 char shmat ();
6941 shmat ();

12