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

/solaris-x11-s12/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
330 lockp = NULL; /* init to NULL for check below */
333 /* Check to see if there are already a lockp and unlockp
337 lockp = dga_plist->dga_clientplist->p_lockp;
341 if (!lockp) {
343 if( _dga_winlockat(infop->p_cookie, &lockp, &unlockp) != 0 ) {
351 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
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_PAGES
930 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);
1095 _dga_winlockat(cookie, lockp, unlockp)
1097 int **lockp, **unlockp ;
1118 *lockp = (int *) (ptr+ofs) ;
1124 (void) munmap((caddr_t)*lockp, pagesize) ;
1136 _dga_winlockdt(lockp, unlockp)
1137 int *lockp, *unlockp ;
1147 ptr = (caddr_t) ((long)lockp & pagemask) ;

Completed in 15 milliseconds