Lines Matching defs:entry
142 drm_inst_list_t *entry;
148 entry = drm_supp_alloc_drv_entry(dip);
149 if (entry == NULL) {
153 mstate = &entry->disl_state;
346 * that calls the drm close() entry point may not be the same
574 struct idr_list *entry;
585 idr_list_for_each(entry, &(mp->fpriv->object_idr)) {
586 if ((uintptr_t)entry->obj == (u_offset_t)offset) {
587 map = entry->obj->map;
865 * Create a DRM entry and add it into the instance list (drm_inst_head).
866 * Note that we don't allow a duplicated entry
873 drm_inst_list_t *entry;
891 entry = kmem_zalloc(sizeof (*entry), KM_SLEEP);
892 *plist = entry;
893 entry->disl_state.mis_dip = dip;
894 mutex_init(&entry->disl_state.mis_lock, NULL, MUTEX_DRIVER, NULL);
895 mutex_init(&entry->disl_state.dis_ctxlock, NULL, MUTEX_DRIVER, NULL);
898 return (entry);