Lines Matching defs:shared
118 * The following variables are in shared memory, and must be
121 static caddr_t shared; /* pointer to block of shared memory */
207 * Allocate buffers and shared memory variables. Tape buffers are
229 * set up shared memory seg for here and child
261 /* shared variables */
266 shared = mmap((char *)0, tapesize, PROT_READ|PROT_WRITE,
268 if (shared == (caddr_t)-1) {
280 obuf = (char *)(((ulong_t)shared + pgoff) & ~pgoff);
321 if (shared == NULL)
324 (void) munmap(shared, tapesize);
325 shared = NULL;
369 if ((caddr_t)current < shared ||
370 (caddr_t)current > (shared + tapesize)) {
372 "bufclear: current pointer out of range of shared memory\n"));