Lines Matching refs:clone_id
442 int clone_id;
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);
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);
583 file_priv = idr_find(&minor->clone_idr, clone_id);
598 int clone_id = DRM_DEV2CLONEID(dev_id);
616 file_priv = idr_find(&minor->clone_idr, clone_id);
661 int clone_id = DRM_DEV2CLONEID(dev_id);
678 file_priv = idr_find(&minor->clone_idr, clone_id);
693 int clone_id = DRM_DEV2CLONEID(dev_id);
710 file_priv = idr_find(&minor->clone_idr, clone_id);