Lines Matching refs:vp
74 void *vp; in main() local
122 vp = (void *)((char *)sbrk(0) - 2 * K_1); in main()
123 c2 = shmat(shmid, vp, 0); in main()
127 "att_addr = %p", shmid, c2, vp); in main()
143 vp = (void *)((char *)sbrk(0) + 256 * K_1); in main()
145 vp = (void *)((char *)sbrk(0) + getpagesize()); in main()
148 vp = (void *)SHMALIGN((char *)sbrk(0) + 1); in main()
151 c3 = shmat(shmid, vp, SHM_RND); in main()
165 while ((vp = sbrk(INCREMENT)) != (void *)-1) ; in main()
172 if ((vp = sbrk(INCREMENT)) != (void *)-1) { in main()
175 vp, sbrk(0)); in main()