Searched refs:filp (Results 1 - 13 of 13) sorted by relevance

/illumos-gate/usr/src/uts/intel/io/drm/
H A Dradeon_mem.c51 split_block(struct mem_block *p, int start, int size, drm_file_t *filp) argument
61 newblock->filp = NULL;
78 newblock->filp = NULL;
88 p->filp = filp;
93 alloc_block(struct mem_block *heap, int size, int align2, drm_file_t *filp) argument
100 if (p->filp == 0 && start + size <= p->start + p->size)
101 return (split_block(p, start, size, filp));
122 p->filp = NULL;
125 * Assumes a single contiguous range. Needs a special filp i
177 radeon_mem_release(drm_file_t *filp, struct mem_block *heap) argument
[all...]
H A Di915_mem.c111 newblock->filp = NULL;
128 newblock->filp = NULL;
138 p->filp = fpriv;
150 if (p->filp == NULL && start + size <= p->start + p->size)
173 if (p->filp == fpriv)
181 p->filp = NULL;
183 /* Assumes a single contiguous range. Needs a special filp in
186 if (p->next->filp == NULL) {
194 if (p->prev->filp == NULL) {
220 blocks->filp
[all...]
H A Dradeon_state.c1931 buf->filp = fpriv;
2025 drm_radeon_private_t *dev_priv, drm_file_t *filp)
2055 if (dev_priv->virt_surfaces[i].filp == 0)
2073 s->filp = filp;
2089 s->filp = filp;
2105 s->filp = filp;
2120 free_surface(drm_file_t *filp, drm_radeon_private_ argument
2024 alloc_surface(drm_radeon_surface_alloc_t *new, drm_radeon_private_t *dev_priv, drm_file_t *filp) argument
2156 radeon_surfaces_release(drm_file_t *filp, drm_radeon_private_t *dev_priv) argument
3422 radeon_driver_preclose(drm_device_t *dev, drm_file_t *filp) argument
[all...]
H A Dradeon_drv.h203 drm_file_t *filp; /* 0: free, -1: heap, other: real files */ member in struct:mem_block
218 drm_file_t *filp; member in struct:radeon_virt_surface
361 extern void radeon_mem_release(drm_file_t *filp, struct mem_block *heap);
382 extern void radeon_driver_preclose(drm_device_t *dev, drm_file_t *filp);
383 extern void radeon_driver_postclose(drm_device_t *dev, drm_file_t *filp);
386 extern long radeon_compat_ioctl(struct file *filp, unsigned int cmd,
H A Dr300_cmdbuf.c918 if (buf->filp != fpriv || buf->pending) {
920 buf->filp, fpriv, buf->pending);
H A Di915_drv.h94 drm_file_t *filp; /* 0: free, -1: heap, other: real files */ member in struct:mem_block
402 /** User space pin count and filp owning the pin */
462 extern void i915_driver_preclose(drm_device_t * dev, drm_file_t *filp);
466 extern long i915_compat_ioctl(struct file *filp, unsigned int cmd,
501 drm_file_t *filp, struct mem_block *heap);
H A Dradeon_cp.c2096 if (buf->filp == 0 || (buf->pending &&
2137 if (buf->filp == 0 || (buf->pending &&
2204 radeon_cp_get_buffers(drm_file_t *filp, drm_device_t *dev, drm_dma_t *d) argument
2214 buf->filp = filp;
/illumos-gate/usr/src/uts/common/io/drm/
H A Ddrm_gem.c379 * Removes the mapping from handle to filp for this object.
382 drm_gem_handle_delete(struct drm_file *filp, int handle) argument
397 spin_lock(&filp->table_lock);
400 obj = idr_list_find(&filp->object_idr, handle);
402 spin_unlock(&filp->table_lock);
409 err = idr_list_remove(&filp->object_idr, handle);
413 spin_unlock(&filp->table_lock);
457 drm_gem_object_lookup(struct drm_file *filp, argument
462 spin_lock(&filp->table_lock);
465 obj = idr_list_find(&filp
[all...]
H A Ddrm_lock.c83 dev->lock.filp = NULL;
99 dev->lock.filp = NULL;
142 dev->lock.filp = fpriv;
H A Ddrm_dma.c117 buf->filp = NULL;
130 if (dma->buflist[i]->filp == fpriv) {
H A DdrmP.h282 dev->lock.filp != fpriv) { \
369 drm_file_t *filp; member in struct:drm_buf
512 drm_file_t *filp; member in struct:drm_lock_data
1094 struct drm_gem_object *drm_gem_object_lookup(struct drm_file *filp,
H A Ddrm_drv.c307 dev->lock.filp = NULL;
482 dev->lock.filp == fpriv) {
H A Ddrm_bufs.c454 buf->filp = NULL;
554 buf->filp = NULL;
749 if (buf->filp != fpriv) {

Completed in 79 milliseconds