Searched defs:credp (Results 1 - 8 of 8) 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_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 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 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_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_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_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...]

Completed in 24 milliseconds