Lines Matching refs:lockp
255 extern int _dga_winlockat(u_long cookie, int **lockp, int **unlockp);
256 extern int _dga_winlockdt(int *lockp, int *unlockp);
334 Dga_lockp lockp, unlockp ;
566 lockp = NULL; /* init to NULL for check below */
570 * lockp, unlockp, and cursor page mapping for this device.
580 lockp = winp->w_lockp;
585 if (lockp == NULL) {
591 lockp = (Dga_lockp)mmap(0,
597 if (lockp == (Dga_lockp)-1) {
621 munmap((caddr_t)lockp, WX_PAGESZ) ;
632 if( _dga_winlockat(infop->w_cookie, &lockp, &unlockp) != 0 ) {
644 clientp->w_lockp = lockp ;
930 Dga_lockp lockp = clientp->w_lockp ;
948 munmap((caddr_t)lockp, WX_PAGESZ) ;
952 (void) _dga_winlockdt((int *)lockp, (int *)unlockp) ;