Searched refs:unique_len (Results 1 – 4 of 4) sorted by relevance
142 master->unique_len = strlen(master->unique); in drm_pci_set_busid()153 master->unique_len = u->unique_len; in drm_pci_set_unique()154 master->unique = kmalloc(master->unique_len + 1, GFP_KERNEL); in drm_pci_set_unique()160 if (copy_from_user(master->unique, u->unique, master->unique_len)) { in drm_pci_set_unique()165 master->unique[master->unique_len] = '\0'; in drm_pci_set_unique()
61 if (u->unique_len >= master->unique_len) { in drm_getunique()62 if (copy_to_user(u->unique, master->unique, master->unique_len)) in drm_getunique()65 u->unique_len = master->unique_len; in drm_getunique()76 master->unique_len = 0; in drm_unset_busid()101 if (master->unique_len || master->unique) in drm_setunique()104 if (!u->unique_len || u->unique_len > 1024) in drm_setunique()147 master->unique_len = strlen(dev->unique); in drm_set_busid()
130 u32 unique_len; /**< Length of unique */ member147 if (__put_user(uq32.unique_len, &u->unique_len) in compat_drm_getunique()156 if (__get_user(uq32.unique_len, &u->unique_len)) in compat_drm_getunique()175 if (__put_user(uq32.unique_len, &u->unique_len) in compat_drm_setunique()
84 master->unique_len = strlen(master->unique); in drm_platform_set_busid()