Lines Matching refs:bufptr
163 } *bufptr; in rndsetup() local
166 cp = alloc(sizeof(*bufptr) - sizeof(ALLOC_ITEM), APERM); in rndsetup()
168 memset(cp, 0, sizeof(*bufptr) - sizeof(ALLOC_ITEM)); in rndsetup()
170 bufptr = (void *)(cp - sizeof(ALLOC_ITEM)); in rndsetup()
172 bufptr->dataptr = &rndsetupstate; in rndsetup()
174 bufptr->stkptr = &bufptr; in rndsetup()
176 bufptr->mallocptr = bufptr; in rndsetup()
179 sigsetjmp(bufptr->jbuf, 1); in rndsetup()
182 mksh_TIME(bufptr->tv); in rndsetup()
185 mprotect(((char *)bufptr) + 4096, 4096, PROT_READ | PROT_WRITE); in rndsetup()
187 h = chvt_rndsetup(bufptr, sizeof(*bufptr)); in rndsetup()