Home
last modified time | relevance | path

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

12

/openbsd/regress/sys/kern/sysvshm/
H A Dshmtest.c160 if ((shm_buf = shmat(sender_shmid, NULL, 0)) == (void *) -1)
296 if ((shm_buf = shmat(shmid, NULL, 0)) == (void *) -1) in receiver()
313 if ((shm_buf = shmat(shmid, block, 0)) != (void *) -1) in receiver()
321 if ((shm_buf = shmat(shmid, block, 0)) == (void *) -1) in receiver()
/openbsd/lib/libc/hidden/sys/
H A Dshm.h23 PROTO_NORMAL(shmat);
/openbsd/gnu/usr.bin/perl/cpan/IPC-SysV/t/
H A Dipcsysv.t275 use IPC::SysV qw(shmat shmdt memread memwrite ftok);
288 my $addr = shmat($shm, undef, 0);
289 ok(defined $addr, 'shmat');
304 is(shmat(-1, undef, 0), undef, 'shmat illegal id fails');
/openbsd/sys/sys/
H A Dshm.h143 void *shmat(int, const void *, int);
/openbsd/usr.sbin/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()
/openbsd/gnu/usr.bin/perl/cpan/IPC-SysV/
H A DSysV.xs36 extern Shmat_t shmat(int, char *, int);
391 shmat(id, addr, flag)
399 void *shm = (void *) shmat(id, caddr, flag);
/openbsd/gnu/usr.bin/perl/cpan/IPC-SysV/lib/IPC/
H A DSharedMem.pm81 $self->{_addr} = shmat($self->id, undef, $flag || 0);
/openbsd/lib/libc/sys/
H A DMakefile.inc73 settimeofday.o setuid.o shmat.o shmctl.o shmdt.o \
198 setresuid.2 setreuid.2 setsid.2 sendsyslog.2 setuid.2 shmat.2 \
/openbsd/gnu/gcc/libmudflap/
H A Dmf-runtime.h218 #pragma redefine_extname shmat __mfwrap_shmat
H A Dmf-hooks2.c1818 WRAPPER2(void *, shmat, int shmid, const void *shmaddr, int shmflg) in WRAPPER2() argument
1822 p = shmat (shmid, shmaddr, shmflg); in WRAPPER2()
/openbsd/usr.sbin/unbound/smallapp/
H A Dunbound-control.c463 shm_stat = (struct ub_shm_stat_info*)shmat(id_ctl, NULL, SHM_RDONLY); in print_stats_shm()
467 stats = (struct ub_stats_info*)shmat(id_arr, NULL, SHM_RDONLY); in print_stats_shm()
/openbsd/gnu/llvm/compiler-rt/lib/msan/
H A Dmsan_interceptors.cpp1554 INTERCEPTOR(void *, shmat, int shmid, const void *shmaddr, int shmflg) { in INTERCEPTOR() argument
1556 void *p = REAL(shmat)(shmid, shmaddr, shmflg); in INTERCEPTOR()
1790 INTERCEPT_FUNCTION(shmat); in InitializeInterceptors()
/openbsd/lib/libc/
H A DSymbols.list419 shmat
/openbsd/gnu/usr.bin/perl/
H A Ddoio.c39 extern Shmat_t shmat (int, char *, int);
3328 shm = (char *)shmat(id, NULL, (optype == OP_SHMREAD) ? SHM_RDONLY : 0);
H A Dconfig_h.SH1924 * This symbol holds the return type of the shmat() system call. function
1929 * a prototype for shmat(). Otherwise, it is up to the program to function
1930 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
H A Dsyscall_emulator.c1128 ret = (long)shmat(shmid, shmaddr, shmflg); in syscall_emulator()
/openbsd/gnu/usr.bin/gcc/gcc/
H A Dsys-protos.h1009 extern void * shmat(int, void *, int);
/openbsd/gnu/gcc/gcc/
H A Dsys-protos.h1009 extern void * shmat(int, void *, int);
/openbsd/gnu/llvm/compiler-rt/lib/msan/tests/
H A Dmsan_test.cpp29 void *shmat(int, const void *, int);
1317 TEST(MemorySanitizer, shmat) { in TEST() argument
1335 void *q = shmat(id, p, 0); in TEST()
/openbsd/regress/usr.bin/tsort/
H A Dpairs1121 shmat.o shmat.o
2924 shmat.o cerror.o
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_syscalls.inc2320 PRE_SYSCALL(shmat)(long shmid, void *shmaddr, long shmflg) {}
2322 POST_SYSCALL(shmat)(long res, long shmid, void *shmaddr, long shmflg) {
/openbsd/gnu/usr.bin/perl/plan9/
H A Dconfig_h.sample3456 * This symbol holds the return type of the shmat() system call.
3461 * a prototype for shmat(). Otherwise, it is up to the program to
3462 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
H A Dconfig.plan93632 * This symbol holds the return type of the shmat() system call.
3637 * a prototype for shmat(). Otherwise, it is up to the program to
3638 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
/openbsd/gnu/usr.bin/perl/Porting/
H A Dconfig_H1887 * This symbol holds the return type of the shmat() system call.
1892 * a prototype for shmat(). Otherwise, it is up to the program to
1893 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,
/openbsd/gnu/usr.bin/perl/win32/
H A Dconfig_H.gc1896 * This symbol holds the return type of the shmat() system call.
1901 * a prototype for shmat(). Otherwise, it is up to the program to
1902 * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess,

12