Searched refs:shm (Results 1 - 2 of 2) sorted by relevance

/ast/src/cmd/tests/vmalloc/
H A Dtmmopen.c30 Vmalloc_t *shm, *map; local
39 tinfo("Child[pid=%d]: allocating heap memory before opening shm region", cpid);
45 { tinfo("Child[pid=%d]: opening shm region", cpid);
46 if(!(shm = vmmopen(shmfile, 1, MAPSIZE)) )
47 terror("Child[pid=%d]: Can't open shm region in child process", cpid);
48 tinfo("Child[pid=%d]: shm region opened", cpid);
65 shmfile = tstfile("shm", -1);
70 tinfo("Parent[pid=%d]: %s: opening shm region", ppid, shmfile);
71 if(shm = vmmopen(shmfile, 1, MAPSIZE) )
72 tinfo("Parent[pid=%d]: %s: shm regio
[all...]
/ast/src/lib/libast/vmalloc/
H A Dvmmopen.c42 #include <sys/shm.h> /* shm headers */
104 int proj; /* shm project ID */

Completed in 19 milliseconds