Searched refs:credp (Results 1 - 11 of 11) sorted by relevance

/solaris-x11-s11/open-src/kernel/efb/src/
H A Ddrm_fops.c43 drm_find_file_by_proc(drm_device_t *dev, cred_t *credp) argument
71 int otyp, cred_t *credp)
85 priv = drm_find_file_by_proc(dev, credp);
96 priv->uid = crgetsuid(credp);
104 priv->authenticated = DRM_SUSER(credp);
70 drm_open_helper(drm_device_t *dev, drm_cminor_t *mp, int flags, int otyp, cred_t *credp) argument
H A Ddrm_sunmod.c164 drm_sun_open(dev_t *devp, int flag, int otyp, cred_t *credp) argument
268 err = drm_open(dp, newp, flag, otyp, credp);
285 drm_sun_close(dev_t dev, int flag, int otyp, cred_t *credp) argument
307 ret = drm_close(dp, minor, flag, otyp, credp);
314 cred_t *credp, int *rvalp)
349 mode, credp, rvalp, mstate->mis_gfxp);
354 credp, rvalp, mstate->mis_agpm);
388 fpriv = drm_find_file_by_proc(dp, credp);
395 if (((ioctl->flags & DRM_ROOT_ONLY) && !DRM_SUSER(credp)) ||
313 drm_sun_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument
H A Ddrm_drv.c404 int otyp, cred_t *credp)
408 retcode = drm_open_helper(dev, mp, openflags, otyp, credp);
424 cred_t *credp)
403 drm_open(drm_device_t *dev, drm_cminor_t *mp, int openflags, int otyp, cred_t *credp) argument
423 drm_close(drm_device_t *dev, int minor, int flag, int otyp, cred_t *credp) argument
H A Defb_drv.c492 efb_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument
614 credp, rvalp);
/solaris-x11-s11/open-src/kernel/drm/src/
H A Ddrm_sunmod.c436 drm_sun_open(dev_t *dev_id, int flag, int otyp, cred_t *credp) argument
504 ret = drm_open(minor, clone_id, flag, credp);
516 drm_sun_close(dev_t dev_id, int flag, int otyp, cred_t *credp) argument
518 _NOTE(ARGUNUSED(flag, otyp, credp))
555 drm_sun_ioctl(dev_t dev_id, int cmd, intptr_t arg, int mode, cred_t *credp, argument
576 return (gfxp_vgatext_ioctl(dev_id, cmd, arg, mode, credp,
580 return (agpmaster_ioctl(dev_id, cmd, arg, mode, credp,
587 return (-(drm_ioctl(dev_id, file_priv, cmd, arg, mode, credp)));
654 drm_sun_read(dev_t dev_id, struct uio *uiop, cred_t *credp) argument
656 _NOTE(ARGUNUSED(credp))
[all...]
H A Ddrm_fops.c45 int clone_id, int flags, cred_t *credp);
140 int drm_open(struct drm_minor *minor, int clone_id, int flags, cred_t *credp) argument
147 retcode = drm_open_helper(minor, clone_id, flags, credp);
169 int clone_id, int flags, cred_t *credp)
190 priv->uid = crgetsuid(credp);
195 priv->authenticated = DRM_SUSER(credp);
168 drm_open_helper(struct drm_minor *minor, int clone_id, int flags, cred_t *credp) argument
H A Ddrm_bufs.c346 if (!(DRM_SUSER(credp) || map->type == _DRM_AGP || map->type == _DRM_SHM))
538 int drm_addbufs_agp(struct drm_device * dev, struct drm_buf_desc * request, cred_t *credp) argument
689 static int drm_addbufs_sg(struct drm_device * dev, struct drm_buf_desc * request, cred_t *credp) argument
712 if (!DRM_SUSER(credp))
868 ret = drm_addbufs_agp(dev, request, credp);
871 ret = drm_addbufs_sg(dev, request, credp);
H A Ddrm_drv.c357 int cmd, intptr_t arg, int mode, cred_t *credp)
397 } else if (((ioctl->flags & DRM_ROOT_ONLY) && !DRM_SUSER(credp)) ||
435 retcode = func(dev_id, dev, kdata, file_priv, mode, credp);
356 drm_ioctl(dev_t dev_id, struct drm_file *file_priv, int cmd, intptr_t arg, int mode, cred_t *credp) argument
H A Ddrm_crtc.c3147 return drm_mode_obj_set_property_ioctl(dev_id, dev, &obj_set_prop, file, ioctl_mode, credp);
/solaris-x11-s11/open-src/kernel/sys/drm/
H A DdrmP.h431 dev_t dev_id, struct drm_device *dev, void *data, struct drm_file *file, int ioctl_mode, cred_t *credp
1520 int cmd, intptr_t arg, int mode, cred_t *credp);
/solaris-x11-s11/open-src/kernel/i915/src/
H A Di915_gem.c1033 PROT_ALL, PROT_ALL, MAP_SHARED, credp);

Completed in 52 milliseconds