Home
last modified time | relevance | path

Searched refs:auth (Results 1 – 10 of 10) sorted by relevance

/hardware/intel/common/libva/va/drm/
Dva_drm_auth_x11.c82 drm_auth_x11_init(DRMAuthX11 *auth) in drm_auth_x11_init() argument
95 auth->handle = dlopen(libva_x11_name, RTLD_LAZY | RTLD_GLOBAL); in drm_auth_x11_init()
96 if (!auth->handle) { in drm_auth_x11_init()
101 vtable = &auth->vtable; in drm_auth_x11_init()
106 if (!get_symbol(auth->handle, &vtable->va_dri2_query_extension, in drm_auth_x11_init()
109 if (!get_symbol(auth->handle, &vtable->va_dri2_query_version, in drm_auth_x11_init()
112 if (!get_symbol(auth->handle, &vtable->va_dri2_authenticate, in drm_auth_x11_init()
116 auth->display = vtable->x11_open_display(NULL); in drm_auth_x11_init()
117 if (!auth->display) in drm_auth_x11_init()
120 auth->window = DefaultRootWindow(auth->display); in drm_auth_x11_init()
[all …]
Dva_drm_auth.c53 int i, auth, pid, uid; in va_drm_is_authenticated() local
59 if (drmGetClient(fd, i, &auth, &pid, &uid, &magic, &iocs) != 0) in va_drm_is_authenticated()
61 is_authenticated = auth && (pid == client_pid || is_local_tid(pid)); in va_drm_is_authenticated()
/hardware/intel/img/libdrm/tests/
Ddristat.c120 int auth; in getclients() local
132 for (i = 0; !drmGetClient(fd, i, &auth, &pid, &uid, &magic, &iocs); i++) { in getclients()
144 auth ? 'y' : 'n', pid, uid, magic, iocs, cmd); in getclients()
147 auth ? 'y' : 'n', pid, uid, magic, iocs); in getclients()
DMakefile.am30 auth \
Ddrmtest.c45 if (!client.auth) in is_master()
DMakefile.in298 @HAVE_LIBUDEV_TRUE@ auth \
/hardware/intel/img/libdrm/libdrm/
Dxf86drm.c884 drm_auth_t auth; in drmGetMagic() local
887 if (drmIoctl(fd, DRM_IOCTL_GET_MAGIC, &auth)) in drmGetMagic()
889 *magic = auth.magic; in drmGetMagic()
895 drm_auth_t auth; in drmAuthMagic() local
897 auth.magic = magic; in drmAuthMagic()
898 if (drmIoctl(fd, DRM_IOCTL_AUTH_MAGIC, &auth)) in drmAuthMagic()
2150 int drmGetClient(int fd, int idx, int *auth, int *pid, int *uid, in drmGetClient() argument
2158 *auth = client.auth; in drmGetClient()
Dxf86drm.h532 extern int drmGetClient(int fd, int idx, int *auth, int *pid,
/hardware/intel/img/libdrm/shared-core/
Ddrm.h290 int auth; /**< Is client authenticated? */ member
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dwlioctl.h3959 int32 auth; /* Open Vs Closed */ member