Searched refs:unique (Results 1 - 12 of 12) sorted by relevance

/solaris-x11-s11/open-src/kernel/drm/src/
H A Ddrm_ioctl.c57 * Copies the bus id from drm_device::unique into user space.
65 if (master->unique_len == 0 || master->unique == NULL) {
70 if (u->unique == NULL) {
73 if (DRM_COPY_TO_USER(u->unique, master->unique, master->unique_len))
96 if (master->unique != NULL)
101 master->unique = kmalloc(master->unique_size, GFP_KERNEL);
102 if (master->unique == NULL)
105 len = snprintf(master->unique, master->unique_len, "pci:%04x:%02x:%02x.%1x",
H A Ddrm_io32.c215 dest64->unique = (char __user *)(uintptr_t)dest32.unique;
227 src32.unique = (caddr32_t)(uintptr_t)src64->unique;
H A Ddrm_stub.c149 if (master->unique) {
150 kfree(master->unique, master->unique_size);
151 master->unique = NULL;
/solaris-x11-s11/open-src/kernel/efb/src/
H A Ddrm_ioctl.c44 * a unique in the form pci:oooo:bb:dd.f (o=domain, b=bus, d=device, f=function)
46 * the unique is not defined for any other bus.
61 u1.unique = (char __user *)(uintptr_t)u32.unique;
71 if (DRM_COPY_TO_USER(u1.unique, dev->unique, dev->unique_len))
81 u32.unique = (caddr32_t)(uintptr_t)u1.unique;
107 if (dev->unique != NULL) {
113 dev->unique
[all...]
H A Ddrm_io32.h23 uint32_t unique_len; /* Length of unique */
24 caddr32_t unique; /* Unique name for driver instantiation */ member in struct:drm_unique_32
H A Ddrm_drv.c250 if (dev->unique) {
251 drm_free(dev->unique, dev->unique_len + 1, DRM_MEM_DRIVER);
252 dev->unique = NULL;
H A Ddrm.h248 size_t unique_len; /**< Length of unique */
249 char __user *unique; /**< Unique name for driver instantiation */ member in struct:drm_unique
H A DdrmP.h605 char *unique; /* Unique identifier: e.g., busid */ member in struct:drm_device
606 int unique_len; /* Length of unique field */
/solaris-x11-s11/open-src/kernel/sys/drm/
H A Ddrm_io32.h46 uint32_t unique_len; /* Length of unique */
47 caddr32_t unique; /* Unique name for driver instantiation */ member in struct:drm_unique_32
H A Ddrm.h156 size_t unique_len; /**< Length of unique */
157 char *unique; /**< Unique name for driver instantiation */ member in struct:drm_unique
H A DdrmP.h798 struct drm_unique *unique);
982 char *unique; /**< Unique identifier: e.g., busid */ member in struct:drm_master
983 int unique_len; /**< Length of unique field */
/solaris-x11-s11/open-src/lib/libdga/sun-src/
H A Ddga.h78 u_int unique; member in struct:dga_dbinfo

Completed in 44 milliseconds