Lines Matching refs:DRM
34 static int DRM(hash_magic)(drm_magic_t magic) in DRM() function
39 static drm_file_t *DRM(find_file)(drm_device_t *dev, drm_magic_t magic) in DRM() function
43 int hash = DRM(hash_magic)(magic); in DRM()
56 int DRM(add_magic)(drm_device_t *dev, drm_file_t *priv, drm_magic_t magic) in DRM() function
63 hash = DRM(hash_magic)(magic); in DRM()
64 entry = DRM(alloc)(sizeof(*entry), DRM_MEM_MAGIC); in DRM()
84 int DRM(remove_magic)(drm_device_t *dev, drm_magic_t magic) in DRM() function
91 hash = DRM(hash_magic)(magic); in DRM()
111 DRM(free)(pt, sizeof(*pt), DRM_MEM_MAGIC); in DRM()
116 int DRM(getmagic)(struct inode *inode, struct file *filp, in DRM() function
134 } while (DRM(find_file)(dev, auth.magic)); in DRM()
136 DRM(add_magic)(dev, priv, auth.magic); in DRM()
145 int DRM(authmagic)(struct inode *inode, struct file *filp, in DRM() function
156 if ((file = DRM(find_file)(dev, auth.magic))) { in DRM()
158 DRM(remove_magic)(dev, auth.magic); in DRM()