Searched refs:lockp (Results 1 - 3 of 3) sorted by relevance

/solaris-x11-s11/open-src/lib/libdga/sun-src/
H A Dpix_grab.c73 extern int _dga_winlockat(u_long cookie, int **lockp, int **unlockp);
74 extern int _dga_winlockdt(int *lockp, int *unlockp);
110 Dga_lockp lockp, unlockp; local
328 lockp = NULL; /* init to NULL for check below */
331 /* Check to see if there are already a lockp and unlockp
335 lockp = dga_plist->dga_clientplist->p_lockp;
339 if (!lockp) {
341 if( _dga_winlockat(infop->p_cookie, &lockp, &unlockp) != 0 ) {
349 clientp->p_lockp = lockp;
H A Dwin_grab.c255 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 ; local
561 lockp = NULL; /* init to NULL for check below */
565 * lockp, unlockp, and cursor page mapping for this device.
575 lockp = winp->w_lockp;
580 if (lockp == NULL) {
586 lockp = (Dga_lockp)mmap(0,
592 if (lockp == (Dga_lockp)-1) {
616 munmap((caddr_t)lockp, WX_PAGES
925 Dga_lockp lockp = clientp->w_lockp ; local
[all...]
H A Dcmap_grab.c195 extern int _dga_winlockat(u_long cookie, int **lockp, int **unlockp);
196 extern int _dga_winlockdt(int *lockp, int *unlockp);
1093 _dga_winlockat(cookie, lockp, unlockp)
1095 int **lockp, **unlockp ;
1116 *lockp = (int *) (ptr+ofs) ;
1122 (void) munmap((caddr_t)*lockp, pagesize) ;
1134 _dga_winlockdt(lockp, unlockp)
1135 int *lockp, *unlockp ;
1145 ptr = (caddr_t) ((long)lockp & pagemask) ;

Completed in 37 milliseconds