Home
last modified time | relevance | path

Searched refs:drmfd (Results 1 – 2 of 2) sorted by relevance

/external/libdrm/tests/
Dlock.c85 client_auth(int drmfd) in client_auth() argument
91 ret = ioctl(drmfd, DRM_IOCTL_GET_MAGIC, &auth); in client_auth()
101 server_auth(int drmfd) in server_auth() argument
112 ret = ioctl(drmfd, DRM_IOCTL_AUTH_MAGIC, &auth); in server_auth()
119 test_lock_unlock(int drmfd) in test_lock_unlock() argument
123 ret = drmGetLock(drmfd, lock1, 0); in test_lock_unlock()
126 ret = drmUnlock(drmfd, lock1); in test_lock_unlock()
133 test_unlock_unlocked(int drmfd) in test_unlock_unlocked() argument
137 ret = drmUnlock(drmfd, lock1); in test_unlock_unlocked()
144 test_unlock_unowned(int drmfd) in test_unlock_unowned() argument
[all …]
Dauth.c69 int drmfd, ret; in client() local
74 drmfd = drm_open_any(); in client()
78 ret = ioctl(drmfd, DRM_IOCTL_GET_MAGIC, &auth); in client()
92 int drmfd, ret; in server() local
95 drmfd = drm_open_any_master(); in server()
98 ret = ioctl(drmfd, DRM_IOCTL_AUTH_MAGIC, &auth); in server()
109 ret = ioctl(drmfd, DRM_IOCTL_AUTH_MAGIC, &auth); in server()