Searched refs:shmat (Results 1 - 13 of 13) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/sys/
H A Dshmsys.c30 #pragma weak _shmat = shmat
47 shmat(int shmid, const void *shmaddr, int shmflg) function
/illumos-gate/usr/src/uts/common/sys/
H A Dshm.h78 * Valid flags bits for shmat shmflag argument.
102 time_t shm_atime; /* last shmat time */
107 time_t shm_atime; /* last shmat time */
127 void *shmat(int, const void *, int);
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dshmsys.c63 shmat(int shmid, char *shmaddr, int shmflg) function
138 return ((int)shmat(shmid, shmaddr, shmflg));
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dshm.c61 shm = shmat(*shmid, (void *) 0, 0);
/illumos-gate/usr/src/man/man2/
H A DMakefile249 shmat.2 \
383 shmat.2 := LINKSRC = shmop.2
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_map.c434 if ((infop->addr = shmat(infop->segid, NULL, 0)) == (void *)-1) {
/illumos-gate/usr/src/tools/cscope-fast/
H A Dinvlib.c664 char *shmat();
689 invcntl->iindex = shmat(shm_id, 0,
/illumos-gate/usr/src/uts/common/os/
H A Dshm.c142 * in a call to shmat(2). In other words, with share_page_table set, you always
146 * shmat(2).
254 shmat(int shmid, caddr_t uaddr, int uflags, uintptr_t *rvp) function
327 * For the initial shmat (!isspt(sp)), where sptcreate is
331 * If the shmat is just to attach to an already created
956 * System entry point for shmat, shmctl, shmdt, and shmget system calls.
966 error = shmat((int)a0, (caddr_t)a1, (int)a2, &r_val);
/illumos-gate/usr/src/lib/madv/common/
H A Dmadv.c668 * shmat interpose
671 shmat(int shmid, const void *shmaddr, int shmflag) function
685 shmatfunc = (caddr_t (*)()) dlsym(RTLD_NEXT, "shmat");
703 * Apply advice if specified and shmat succeeded.
714 "shmat advice: 0x%x 0x%x %d, rc %d errno %d\n",
/illumos-gate/usr/src/cmd/fs.d/ufs/volcopy/
H A Dvolcopy.c785 /* test to see if ipc is available, the shmat should fail with EINVAL */
789 if ((int)shmat(0, (char *)NULL, 0) < 0 && errno != EINVAL)
805 if ((Buf[cnt] = shmat(Shm_id[cnt], 0, 0)) == (void *)-1)
/illumos-gate/usr/src/cmd/avs/sdbc/
H A Dsd_diag.c726 shm = (struct shm_struct *)shmat(shmid, NULL, 0);
728 perror("shmat error: ");
/illumos-gate/usr/src/cmd/make/bin/
H A Dparallel.cc253 #include <sys/shm.h> /* shmget(), shmat(), shmdt(), shmctl() */
303 * ftok(), shmget(), shmat(), shmdt(), shmctl()
350 if ((m2_shm_sem = (sem_t*) shmat(m2_shm_id, 0, 0666)) == (sem_t*)-1) {
/illumos-gate/usr/src/lib/libc/port/
H A Dllib-lc1411 void *shmat(int shmid, const void *shmaddr, int shmflg);

Completed in 94 milliseconds