Searched refs:clone_id (Results 1 - 3 of 3) sorted by relevance
/solaris-x11-s11/open-src/kernel/drm/src/ |
H A D | drm_sunmod.c | 442 int clone_id; local 495 ret = idr_get_new_above(&minor->clone_idr, NULL, 0, &clone_id); 499 if (clone_id > DRM_CLONEID_MAX) { 500 (void) idr_remove(&minor->clone_idr, clone_id); 504 ret = drm_open(minor, clone_id, flag, credp); 506 (void) idr_remove(&minor->clone_idr, clone_id); 510 *dev_id = DRM_MAKEDEV(getmajor(*dev_id), minor_id, clone_id); 523 int clone_id = DRM_DEV2CLONEID(dev_id); local 541 file_priv = idr_find(&minor->clone_idr, clone_id); 549 (void) idr_remove(&minor->clone_idr, clone_id); 561 int clone_id = DRM_DEV2CLONEID(dev_id); local 598 int clone_id = DRM_DEV2CLONEID(dev_id); local 661 int clone_id = DRM_DEV2CLONEID(dev_id); local 693 int clone_id = DRM_DEV2CLONEID(dev_id); local [all...] |
H A D | drm_fops.c | 45 int clone_id, int flags, cred_t *credp); 140 int drm_open(struct drm_minor *minor, int clone_id, int flags, cred_t *credp) argument 145 DRM_DEBUG("minor->index=%d, clone_id=%d", minor->index, clone_id); 147 retcode = drm_open_helper(minor, clone_id, flags, credp); 169 int clone_id, int flags, cred_t *credp) 189 (void) idr_replace(&minor->clone_idr, priv, clone_id); /* OSOL_drm */ 168 drm_open_helper(struct drm_minor *minor, int clone_id, int flags, cred_t *credp) argument
|
/solaris-x11-s11/open-src/kernel/sys/drm/ |
H A D | drmP.h | 100 #define DRM_MAKEDEV(major_id, minor_id, clone_id) \ 101 makedevice(major_id, (minor_id << DRM_MINOR_SHIFT) | (clone_id << DRM_CLONEID_SHIFT))
|
Completed in 20 milliseconds