Home
last modified time | relevance | path

Searched refs:shmat (Results 1 – 25 of 30) 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/sendmail/src/
H A Dshmticklib.c53 sp = (STATUSD_SHM *) shmat(shmid, NULL, 0);
/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/unbound/util/shm_side/
H A Dshm_main.c154 shmat(daemon->shm_info->id_ctl, NULL, 0); in shm_main_init()
156 log_err("SHM failed(ctl) cannot shmat(%d) %s", in shm_main_init()
167 shmat(daemon->shm_info->id_arr, NULL, 0); in shm_main_init()
171 log_err("SHM failed(arr) cannot shmat(%d) %s", 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/crypto/openssl/util/platform_symbols/
H A Dunix-symbols.txt127 shmat
/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/contrib/ntp/util/
H A Dsht.c59 struct shmTime *p=(struct shmTime *)shmat (shmid, 0, 0); in getShmTime()
/freebsd/lib/libsys/
H A DMakefile.sys340 shmat.2 \
538 MLINKS+=shmat.2 shmdt.2
H A DSymbol.sys.map221 shmat;
/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.cpp78 void *Addr = shmat(SharedMemoryId, nullptr, 0); in reserve()
/freebsd/contrib/unbound/smallapp/
H A Dunbound-control.c498 shm_stat = (struct ub_shm_stat_info*)shmat(id_ctl, NULL, SHM_RDONLY); in print_stats_shm()
502 stats = (struct ub_stats_info*)shmat(id_arr, NULL, SHM_RDONLY); in print_stats_shm()
/freebsd/crypto/openssl/providers/implementations/rands/seeding/
H A Drand_unix.c493 shm_addr = shmat(shm_id, NULL, SHM_RDONLY); in wait_random_seeded()
/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.cpp268 LocalAddr = shmat(SharedMemoryId, nullptr, 0); in reserve()
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_interceptors.cpp1675 INTERCEPTOR(void *, shmat, int shmid, const void *shmaddr, int shmflg) { in INTERCEPTOR() argument
1677 void *p = REAL(shmat)(shmid, shmaddr, shmflg); in INTERCEPTOR()
1947 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

12