| /freebsd/tools/regression/sysvshm/ |
| H A D | shmtest.c | 136 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 D | shmticklib.c | 53 sp = (STATUSD_SHM *) shmat(shmid, NULL, 0);
|
| /freebsd/contrib/netbsd-tests/kernel/ |
| H A D | t_sysv.c | 654 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 D | shm_main.c | 154 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 D | shm.c | 60 shm = shmat(*shmid, (void *) 0, 0);
|
| /freebsd/sys/sys/ |
| H A D | shm.h | 176 void *shmat(int, const void *, int);
|
| H A D | syscall.mk | 146 shmat.o \
|
| /freebsd/crypto/openssl/util/platform_symbols/ |
| H A D | unix-symbols.txt | 127 shmat
|
| /freebsd/tools/test/stress2/misc/ |
| H A D | shm2.sh | 119 if ((c = shmat(shmid, NULL, 0)) == (void *) -1)
|
| H A D | shm.sh | 141 if ((shmp = shmat(shmid, NULL, 0)) == (void *) -1)
|
| /freebsd/tools/test/stress2/testcases/shm/ |
| H A D | shm.c | 73 if ((shm_buf = shmat(shmid, NULL, 0)) == (void *) -1) in setup()
|
| /freebsd/contrib/ntp/util/ |
| H A D | sht.c | 59 struct shmTime *p=(struct shmTime *)shmat (shmid, 0, 0); in getShmTime()
|
| /freebsd/lib/libsys/ |
| H A D | Makefile.sys | 340 shmat.2 \ 538 MLINKS+=shmat.2 shmdt.2
|
| H A D | Symbol.sys.map | 221 shmat;
|
| /freebsd/contrib/netbsd-tests/lib/libc/sys/ |
| H A D | t_mincore.c | 300 addr = shmat(shmid, NULL, 0); in ATF_TC_BODY()
|
| /freebsd/tests/sys/audit/ |
| H A D | inter-process.c | 464 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 D | ExecutorSharedMemoryMapperService.cpp | 78 void *Addr = shmat(SharedMemoryId, nullptr, 0); in reserve()
|
| /freebsd/contrib/unbound/smallapp/ |
| H A D | unbound-control.c | 498 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 D | rand_unix.c | 493 shm_addr = shmat(shm_id, NULL, SHM_RDONLY); in wait_random_seeded()
|
| /freebsd/contrib/ofed/libmlx5/ |
| H A D | buf.c | 206 hmem->shmaddr = shmat(hmem->shmid, MLX5_SHM_ADDR, MLX5_SHMAT_FLAGS); in alloc_huge_mem()
|
| /freebsd/contrib/ntp/ntpd/ |
| H A D | refclock_shm.c | 148 p = (struct shmTime *)shmat (shmid, 0, 0); in getShmTime()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
| H A D | MemoryMapper.cpp | 268 LocalAddr = shmat(SharedMemoryId, nullptr, 0); in reserve()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/msan/ |
| H A D | msan_interceptors.cpp | 1675 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 D | sysv_shm.c | 912 SYSCALL_INIT_HELPER(shmat), 935 SYSCALL32_INIT_HELPER_COMPAT(shmat),
|
| /freebsd/contrib/openbsm/etc/ |
| H A D | audit_event | 117 96:AUE_SHMAT:shmat(2):ip
|