Searched refs:magic (Results 1 - 18 of 18) sorted by relevance

/solaris-x11-s11/open-src/kernel/efb/src/
H A Ddrm_auth.c42 drm_hash_magic(drm_magic_t magic) argument
44 return (magic & (DRM_HASH_SIZE-1));
48 drm_find_file(drm_device_t *dev, drm_magic_t magic) argument
54 hash = drm_hash_magic(magic);
56 if (pt->magic == magic) {
66 drm_add_magic(drm_device_t *dev, drm_file_t *priv, drm_magic_t magic) argument
71 hash = drm_hash_magic(magic);
75 entry->magic = magic;
93 drm_remove_magic(drm_device_t *dev, drm_magic_t magic) argument
[all...]
H A Ddrm_ioctl.c217 client.magic = client32.magic;
231 client.magic = pt->magic;
244 client32.magic = (uint32_t)client.magic;
H A Ddrm_io32.h47 uint32_t magic; /* Magic */ member in struct:drm_client_32
H A Ddrm.h334 unsigned long magic; /**< Magic */ member in struct:drm_client
557 drm_magic_t magic; member in struct:drm_auth
H A DdrmP.h320 drm_magic_t magic; member in struct:drm_magic_entry
387 drm_magic_t magic; member in struct:drm_file
/solaris-x11-s11/open-src/kernel/drm/src/
H A Ddrm_auth.c47 * Generate a hash key from a magic.
49 * \param magic magic.
55 static int drm_hash_magic(drm_magic_t magic) argument
57 return magic & (DRM_HASH_SIZE - 1);
61 * Find the file with the given magic number.
64 * \param magic magic number.
67 * the one with matching magic number, while holding the drm_device::struct_mutex
70 static struct drm_file *drm_find_file(struct drm_master *master, drm_magic_t magic) argument
99 drm_add_magic(struct drm_master *master, struct drm_file *priv, drm_magic_t magic) argument
139 drm_remove_magic(struct drm_master *master, drm_magic_t magic) argument
[all...]
H A Ddrm_io32.c246 dest64->magic = dest32.magic;
262 src32.magic = (uint32_t)src64->magic;
H A Ddrm_ioctl.c196 client->magic = pt->magic;
H A Ddrm_fops.c338 if (file_priv->magic)
339 (void) drm_remove_magic(file_priv->master, file_priv->magic);
/solaris-x11-s11/open-src/lib/libdga/sun-src/
H A Dvmbuf_grab.h47 long magic; /* magic number: VBMAGIC */ member in struct:_vbinfo
H A Ddga_rtnshared.h74 u_int magic; /* magic number, "RTND"=0x52544E44 */ member in struct:shared_retained_info
H A Ddga_pixshared.h74 u_int magic; /* magic number, "PXMP"=0x50584D50 */ member in struct:shared_pixmap_info
H A Drtn_grab.c796 if ((infop->magic != RTN_MAGIC) || (infop->version > RTN_VERS)) {
947 (void) printf("\tmagic =\t\t%u\n", infop->magic);
H A Dpix_grab.c87 * magic cookie supplied by the server
251 if ((infop->magic != PXMPMAGIC) || (infop->version > PXMPVERS)) {
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdpstk/
H A DXDPSpwraps.psw67 % Flush until you get the magic line
/solaris-x11-s11/open-src/kernel/sys/drm/
H A Ddrm_io32.h70 uint32_t magic; /* Magic */ member in struct:drm_client_32
H A Ddrm.h241 unsigned long magic; /**< Magic */ member in struct:drm_client
472 drm_magic_t magic; member in struct:drm_auth
H A DdrmP.h464 drm_magic_t magic; member in struct:drm_magic_entry
1039 drm_magic_t magic; member in struct:drm_file
1421 int drm_remove_magic(struct drm_master *master, drm_magic_t magic);

Completed in 1941 milliseconds