Searched defs:mp (Results 1 - 3 of 3) sorted by relevance

/solaris-x11-s11/open-src/kernel/efb/src/
H A Ddrm_fops.c58 drm_cminor_t *mp; local
60 TAILQ_FOREACH(mp, &dev->minordevs, link) {
61 if (mp->minor == minor)
62 return (mp);
70 drm_open_helper(drm_device_t *dev, drm_cminor_t *mp, int flags, argument
119 mp->fpriv = priv;
H A Ddrm_drv.c403 drm_open(drm_device_t *dev, drm_cminor_t *mp, int openflags, argument
408 retcode = drm_open_helper(dev, mp, openflags, otyp, credp);
426 drm_cminor_t *mp; local
431 mp = drm_find_file_by_minor(dev, minor);
432 if (!mp) {
438 fpriv = mp->fpriv;
481 TAILQ_REMOVE(&dev->minordevs, mp, link);
482 drm_free(mp, sizeof (*mp), DRM_MEM_FILES);
H A Ddrm_sunmod.c167 drm_cminor_t *mp, *newp; local
253 TAILQ_FOREACH(mp, &dp->minordevs, link) {
254 if (mp->minor == newminor)
257 if (mp == NULL)
916 drm_cminor_t *mp; local
927 TAILQ_FOREACH(mp, &dp->minordevs, link) {
928 if (mp->minor == minor)
933 return (mp);

Completed in 2123 milliseconds