Searched refs:priv (Results 1 - 21 of 21) sorted by relevance

/solaris-x11-s11/open-src/kernel/efb/src/
H A Ddrm_fops.c46 drm_file_t *priv; local
48 TAILQ_FOREACH(priv, &dev->files, link)
49 if (priv->pid == pid)
50 return (priv);
73 drm_file_t *priv; local
85 priv = drm_find_file_by_proc(dev, credp);
86 if (priv) {
87 priv->refs++;
89 priv = drm_alloc(sizeof (*priv), DRM_MEM_FILE
[all...]
H A Defb_i2c.h53 void (*set_scl)(void *priv, int port, int data);
54 void (*set_sda)(void *priv, int port, int data);
55 int (*get_scl)(void *priv, int port);
56 int (*get_sda)(void *priv, int port);
57 void (*ddc_clk)(void *priv, int port, int n);
H A Ddrm_auth.c57 retval = pt->priv;
66 drm_add_magic(drm_device_t *dev, drm_file_t *priv, drm_magic_t magic) argument
76 entry->priv = priv;
H A DdrmP.h321 struct drm_file *priv; member in struct:drm_magic_entry
/solaris-x11-s11/open-src/kernel/drm/src/
H A Ddrm_fops.c172 struct drm_file *priv; local
184 priv = kmalloc(sizeof(*priv), GFP_KERNEL);
185 if (!priv)
188 (void) memset(priv, 0, sizeof(*priv));
189 (void) idr_replace(&minor->clone_idr, priv, clone_id); /* OSOL_drm */
190 priv->uid = crgetsuid(credp);
191 priv->pid = ddi_get_pid();
192 priv
[all...]
H A Ddrm_auth.c80 retval = pt->priv;
92 * \param priv file private data.
99 static int drm_add_magic(struct drm_master *master, struct drm_file *priv, argument
114 entry->priv = priv;
184 * struct drm_file::magic and struct drm_magic_entry::priv.
222 * struct drm_file::magic and struct drm_magic_entry::priv.
H A Ddrm_crtc.c804 * @priv: plane is private (hidden from userspace)?
815 bool priv)
845 if (!priv) {
2676 void drm_fb_release(struct drm_file *priv) argument
2678 struct drm_device *dev = priv->minor->dev;
2681 mutex_lock(&priv->fbs_lock);
2682 list_for_each_entry_safe(fb, tfb, struct drm_framebuffer, &priv->fbs, filp_head) {
2694 mutex_unlock(&priv->fbs_lock);
811 drm_plane_init(struct drm_device *dev, struct drm_plane *plane, unsigned long possible_crtcs, const struct drm_plane_funcs *funcs, const uint32_t *formats, uint32_t format_count, bool priv) argument
/solaris-x11-s11/open-src/kernel/i915/src/
H A Ddvo_ivch.c172 struct ivch_priv *priv = dvo->dev_priv; local
204 if (!priv->quiet) {
215 struct ivch_priv *priv = dvo->dev_priv; local
232 if (!priv->quiet) {
244 struct ivch_priv *priv; local
247 priv = kzalloc(sizeof(struct ivch_priv), GFP_KERNEL);
248 if (priv == NULL)
252 dvo->dev_priv = priv;
253 priv->quiet = true;
257 priv
425 struct ivch_priv *priv = dvo->dev_priv; local
[all...]
H A Ddvo_ch7017.c207 struct ch7017_priv *priv; local
211 priv = kzalloc(sizeof(struct ch7017_priv), GFP_KERNEL);
212 if (priv == NULL)
216 dvo->dev_priv = priv;
243 kfree(priv, sizeof (struct ch7017_priv));
405 struct ch7017_priv *priv = dvo->dev_priv; local
407 if (priv) {
408 kfree(priv, sizeof(struct ch7017_priv));
/solaris-x11-s11/open-src/xserver/xorg/sun-src/os/
H A Dosaudit.c65 OSAuditClientPrivatePtr priv = GetOSAuditClient(pClient); local
100 priv->ah = ah;
120 OSAuditClientPrivatePtr priv = GetOSAuditClient(pClient); local
122 if (priv->ah == NULL) {
127 if ((event = adt_alloc_event(priv->ah, event_id)) == NULL) {
180 OSAuditClientPrivatePtr priv = GetOSAuditClient(pClient); local
193 if (priv->prevState == ClientStateInitial) /* was never accepted */
197 adt_end_session(priv->ah);
198 priv->ah = NULL;
205 priv
[all...]
/solaris-x11-s11/open-src/xserver/xorg/sun-src/IA/
H A Dinteractive.c88 static void FreeProcessList(IAClientPrivatePtr priv);
115 IAClientPrivatePtr priv = GetIAClient(pClient); local
117 if (priv == NULL) {
120 return priv->process;
189 IAClientPrivatePtr priv; local
191 priv = GetIAClient(pClient);
192 if (priv != NULL) {
196 priv = malloc(sizeof(IAClientPrivateRec));
197 if (priv == NULL) {
201 priv
234 IAClientPrivatePtr priv; local
350 IAClientPrivatePtr priv; local
489 IAClientPrivatePtr priv = GetIAClient(client); local
645 IAClientPrivatePtr priv; local
675 FreeProcessList(IAClientPrivatePtr priv) argument
[all...]
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdps/
H A Ddpssimpint.h46 char *priv; member in struct:_t_DPSPrivContextRec
H A DdpsXint.h49 char *priv; member in struct:_t_DPSPrivContextRec
/solaris-x11-s11/open-src/xserver/xorg/sun-src/tsol/
H A Dtsolpolicy.c116 client_has_privilege(TsolInfoPtr tsolinfo, priv_set_t *priv) argument
123 if (priv_issubset(priv, tsolinfo->privs)) {
125 auditwrite(AW_USEOFPRIV, AUDIT_SUCCESS, priv,
243 alloc_win_priv(const char *priv) argument
252 priv_addset(pset, priv);
H A Dtsolutils.c36 #include <priv.h>
H A Dtsolprotocol.c178 extern Bool client_has_privilege(TsolInfoPtr tsolinfo, priv_set_t *priv);
H A Dauditwrite.c47 #include <priv.h>
H A Dtsolextension.c162 extern Bool client_has_privilege(TsolInfoPtr tsolinfo, priv_set_t *priv);
/solaris-x11-s11/open-src/lib/DPS/sun-src/include/DPS/
H A Ddpsfriends.h281 char *priv; member in struct:_t_DPSContextRec
297 The 'priv' field is provided for use by application code. It is
/solaris-x11-s11/open-src/kernel/sys/drm/
H A Ddrm_crtc.h887 bool priv);
H A DdrmP.h465 struct drm_file *priv; member in struct:drm_magic_entry

Completed in 148 milliseconds