Home
last modified time | relevance | path

Searched refs:gwin (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/uts/sparc/syscall/
H A Dgetcontext.c181 gwindows_t *gwin = NULL; /* to hold windows */ in getsetcontext() local
280 gwin = kmem_zalloc(sizeof (gwindows_t), KM_SLEEP); in getsetcontext()
282 &gwin->wbcnt, sizeof (gwin->wbcnt))) { in getsetcontext()
283 kmem_free(gwin, sizeof (gwindows_t)); in getsetcontext()
286 if (gwin->wbcnt < 0 || gwin->wbcnt > nwindows) { in getsetcontext()
287 kmem_free(gwin, sizeof (gwindows_t)); in getsetcontext()
290 gwin_size = gwin->wbcnt * sizeof (struct rwindow) + in getsetcontext()
293 copyin(uc.uc_mcontext.gwins, gwin, gwin_size)) { in getsetcontext()
294 kmem_free(gwin, sizeof (gwindows_t)); in getsetcontext()
297 uc.uc_mcontext.gwins = gwin; in getsetcontext()
[all …]
/titanic_41/usr/src/lib/libproc/sparc/
H A DPisadep.c139 gwindows_t gwin; in find_gwin() local
157 (void) memset(&gwin, 0, sizeof (gwin)); in find_gwin()
158 n = read(fd, &gwin, sizeof (gwin)); in find_gwin()
167 for (i = 0; i < gwin.wbcnt; i++) { in find_gwin()
168 if (gwin.spbuf[i] == (greg_t *)gqp->gq_addr) { in find_gwin()
170 &gwin.wbuf[i], in find_gwin()
196 gwindows_t *gwin = lwp->lwp_gwins; in read_gwin() local
198 if (gwin == NULL) in read_gwin()
206 for (i = 0; i < gwin->wbcnt; i++) { in read_gwin()
207 if (gwin->spbuf[i] == (greg_t *)sp) { in read_gwin()
[all …]
/titanic_41/usr/src/lib/libproc/sparcv9/
H A DPisadep.c178 gwindows_t gwin; in find_gwin() local
201 gwindows_32_to_n(&g32, &gwin); in find_gwin()
204 (void) memset(&gwin, 0, sizeof (gwin)); in find_gwin()
205 n = read(fd, &gwin, sizeof (gwin)); in find_gwin()
215 for (i = 0; i < gwin.wbcnt; i++) { in find_gwin()
216 if (gwin.spbuf[i] == (greg_t *)gqp->gq_addr) { in find_gwin()
218 &gwin.wbuf[i], in find_gwin()
244 gwindows_t *gwin = lwp->lwp_gwins; in read_gwin() local
246 if (gwin == NULL) in read_gwin()
254 for (i = 0; i < gwin->wbcnt; i++) { in read_gwin()
[all …]