/solaris-x11-s11/open-src/kernel/drm/src/ |
H A D | drm_auth.c | 70 static struct drm_file *drm_find_file(struct drm_master *master, drm_magic_t magic) argument 75 struct drm_device *dev = master->minor->dev; 78 for (pt = master->magiclist[hash].head; pt; pt = pt->next) { 99 static int drm_add_magic(struct drm_master *master, struct drm_file *priv, argument 104 struct drm_device *dev = master->minor->dev; 118 if (master->magiclist[hash].tail) { 119 master->magiclist[hash].tail->next = entry; 120 master->magiclist[hash].tail = entry; 122 master->magiclist[hash].head = entry; 123 master 139 drm_remove_magic(struct drm_master *master, drm_magic_t magic) argument [all...] |
H A D | drm_lock.c | 61 struct drm_master *master = file->master; local 72 if (master->lock.hw_lock == NULL) 77 master->lock.hw_lock->lock, lock->flags); 83 mutex_enter(&master->lock.lock_mutex); 84 master->lock.user_waiters++; 86 if (drm_lock_take(&master->lock, lock->context)) { 87 master->lock.file_priv = file; 88 master->lock.lock_time = ddi_get_lbolt(); 93 ret = cv_wait_sig(&master 134 struct drm_master *master = file->master; local 314 struct drm_master *master = file_priv->master; local [all...] |
H A D | drm_ioctl.c | 63 struct drm_master *master = file->master; local 65 if (master->unique_len == 0 || master->unique == NULL) { 69 if (u->unique_len >= master->unique_len) { 73 if (DRM_COPY_TO_USER(u->unique, master->unique, master->unique_len)) 76 u->unique_len = master->unique_len; 93 struct drm_master *master = file_priv->master; local [all...] |
H A D | drm_stub.c | 100 struct drm_master *master; local 103 master = kzalloc(sizeof(*master), GFP_KERNEL); 104 if (!master) 107 kref_init(&master->refcount); 108 mutex_init(&master->lock.lock_mutex, NULL, MUTEX_DRIVER, (void *)minor->dev->pdev->intr_block); 109 cv_init(&master->lock.lock_cv, NULL, CV_DRIVER, NULL); 112 master->magiclist[i].head = NULL; 113 master->magiclist[i].tail = NULL; 116 master 123 drm_master_get(struct drm_master *master) argument 131 struct drm_master *master = container_of(kref, struct drm_master, refcount); local 170 drm_master_put(struct drm_master **master) argument [all...] |
H A D | drm_fops.c | 215 /* if there is no current master make this fd it */ 217 if (!priv->minor->master) { 218 /* create a new master */ 219 priv->minor->master = drm_master_create(priv->minor); 220 if (!priv->minor->master) { 228 priv->master = drm_master_get(priv->minor->master); 234 ret = dev->driver->master_create(dev, priv->master); 238 drm_master_put(&priv->minor->master); 239 drm_master_put(&priv->master); 274 struct drm_master *master = fpriv->master; local 380 struct drm_master *master = file_priv->master; local [all...] |
H A D | drm_bufs.c | 71 entry->master != dev->primary->master) 219 if (dev->primary->master->lock.hw_lock != NULL) { 224 dev->primary->master->lock.hw_lock = map->handle; /* Pointer to lock */ 310 list->master = dev->primary->master; 377 struct drm_master *master; local 382 master = r_list->master;
|
/solaris-x11-s11/open-src/app/fbconsole/sun-src/ |
H A D | fbconsole.c | 121 * console output to it. Returns the master end of the pty. 127 int master; local 137 if ((master = open("/dev/ptmx", O_RDWR, 0)) == -1) { 142 if (grantpt(master) == -1) { 147 if (unlockpt(master) == -1) { 152 if ((slavename = ptsname(master)) == NULL) { 214 return master;
|
/solaris-x11-s11/open-src/kernel/i915/src/ |
H A D | i915_dma.c | 89 if (dev->primary->master) { 90 master_priv = dev->primary->master->driver_priv; 150 if (!dev->primary->master) 153 master_priv = dev->primary->master->driver_priv; 185 struct drm_i915_master_private *master_priv = dev->primary->master->driver_priv; 430 struct drm_i915_master_private *master_priv = dev->primary->master->driver_priv; 547 dev->primary->master->driver_priv; 624 struct drm_i915_master_private *master_priv = dev->primary->master->driver_priv; 680 struct drm_i915_master_private *master_priv = dev->primary->master->driver_priv; 748 struct drm_i915_master_private *master_priv = dev->primary->master 1290 i915_master_create(struct drm_device *dev, struct drm_master *master) argument 1303 i915_master_destroy(struct drm_device *dev, struct drm_master *master) argument [all...] |
/solaris-x11-s11/open-src/kernel/efb/src/ |
H A D | drmP.h | 331 int idx; /* Index into master buflist */ 382 int master; member in struct:drm_file
|
/solaris-x11-s11/open-src/kernel/sys/drm/ |
H A D | drmP.h | 364 if (!_DRM_LOCK_IS_HELD(_file_priv->master->lock.hw_lock->lock) || \ 365 _file_priv->master->lock.file_priv != _file_priv) { \ 367 __func__, _DRM_LOCK_IS_HELD(_file_priv->master->lock.hw_lock->lock),\ 368 (void *)_file_priv->master->lock.file_priv, (void *)_file_priv); \ 475 int idx; /* Index into master buflist */ 563 struct drm_master *master; member in struct:drm_map_list 796 int (*set_busid)(struct drm_device *dev, struct drm_master *master); 797 int (*set_unique)(struct drm_device *dev, struct drm_master *master, 903 int (*master_create)(struct drm_device *dev, struct drm_master *master); 904 void (*master_destroy)(struct drm_device *dev, struct drm_master *master); 1003 struct drm_master *master; /* currently active master for this node */ member in struct:drm_minor 1053 struct drm_master *master; /* master this node is currently associated with member in struct:drm_file [all...] |