HomeSort by: relevance | last modified time | path
    Searched refs:unique (Results 1 - 25 of 37) sorted by relevancy

1 2

  /src/sys/external/bsd/drm2/pci/
drm_pci_busid.c 54 master->unique = kasprintf(GFP_KERNEL, "pci:%04x:%02x:%02x.%d",
57 if (master->unique == NULL)
59 master->unique_len = strlen(master->unique);
  /src/sys/external/bsd/drm/dist/bsd-core/
drm_ioctl.c 40 * a unique in the form pci:oooo:bb:dd.f (o=domain, b=bus, d=device, f=function)
42 * the unique is not defined for any other bus.
50 if (DRM_COPY_TO_USER(u->unique, dev->unique, dev->unique_len))
79 if (DRM_COPY_FROM_USER(busid, u->unique, u->unique_len)) {
106 if (dev->unique_len || dev->unique) {
112 dev->unique = busid;
126 if (dev->unique != NULL) {
132 dev->unique = malloc(dev->unique_len + 1, DRM_MEM_DRIVER, M_NOWAIT);
133 if (dev->unique == NULL)
    [all...]
drm_sysctl.c 250 if (dev->unique) {
251 snprintf(buf, sizeof(buf), " %s", dev->unique);
  /src/sys/external/bsd/drm2/dist/drm/virtio/
virtgpu_drv.c 56 char unique[20]; local
74 * and the unique returned will be the virtio_device "virtio0",
97 snprintf(unique, sizeof(unique), "pci:%s", pname);
98 return drm_dev_set_unique(dev, unique);
  /src/sys/external/bsd/drm2/dist/include/drm/
drm_auth.h 96 * @unique: Unique identifier: e.g. busid. Protected by
99 char *unique; member in struct:drm_master
101 * @unique_len: Length of unique field. Protected by
drm_device.h 128 /** @unique: Unique name of the device */
129 char *unique; member in struct:drm_device
  /src/usr.sbin/services_mkdb/
services_mkdb.c 75 int unique = 0; local
96 unique++;
117 if (argc > 1 || (unique && otherflag))
122 if (unique)
  /src/lib/libperfuse/
perfuse_if.h 193 uint64_t unique; member in struct:fuse_in_header
204 uint64_t unique; member in struct:fuse_out_header
fuse.h 402 uint64_t unique; member in struct:fuse_interrupt_in
460 uint64_t unique;
485 uint64_t unique;
perfuse.c 726 DWARN("operation unique = %"PRId64" failed", foh->unique);
729 DWARNX("Unexpected frame: unique = %"PRId64", error = %d",
730 foh->unique, foh->error);
  /src/sys/external/bsd/drm2/dist/drm/
drm_pci.c 149 master->unique = kasprintf(GFP_KERNEL, "pci:%04x:%02x:%02x.%d",
154 if (!master->unique)
157 master->unique_len = strlen(master->unique);
drm_ioctl.c 89 * side-effect this fills out the unique name in the master structure.
90 * 2. Call GET_UNIQUE to read out the unique name from the master structure,
98 * means the the unique name for the master node just opening is _not_ filled
102 * 3. Call GET_UNIQUE, and check whether the unique name has length zero (by
105 * copypasta from drm 1.0 times where a set unique name meant that the driver
109 * _not_ return a unique string when SET_VERSION hasn't been called yet,
110 * otherwise libdrm breaks. Even when that unique string can't ever change, and
126 * Copies the bus id from drm_device::unique into user space.
151 ret = copy_to_user(u->unique, master->unique,
    [all...]
drm_debugfs.c 68 if (master && master->unique)
69 seq_printf(m, " master=%s", master->unique);
70 if (dev->unique)
71 seq_printf(m, " unique=%s", dev->unique);
drm_drv.c 872 kfree(dev->unique);
1142 * drm_dev_set_unique - Set the unique name of a DRM device
1143 * @dev: device of which to set the unique name
1144 * @name: unique name
1146 * Sets the unique name of a DRM device using the specified string. This is
1148 * unique name for backwards compatibility reasons.
1154 kfree(dev->unique);
1155 dev->unique = kstrdup(name, GFP_KERNEL);
1157 return dev->unique ? 0 : -ENOMEM;
  /src/usr.sbin/perfused/
msg.c 197 fih->unique = perfuse_next_unique(pu);
293 unique_in = fih->unique;
298 DPRINTF("> unique = %"PRId64", nodeid = %"PRId64", "
322 unique_out = foh->unique;
325 DPRINTF("< unique = %"PRId64", nodeid = %"PRId64", "
334 printf("%s: packet mismatch unique %"PRId64" vs %"PRId64"\n",
337 errx(EX_SOFTWARE, "%s: packet mismatch unique "
628 unique_in = fih->unique;
632 unique_out = foh->unique;
647 DWARNX("Unexpected frame: unique = %"PRId64", error = %d",
    [all...]
  /src/sys/arch/arm/nvidia/
tegra_nouveau.c 256 master->unique = kmem_asprintf("platform:tegra_nouveau:%02d", id);
257 if (master->unique == NULL)
259 master->unique_len = strlen(master->unique);
  /src/tests/net/if_ipsec/
t_ipsec_pfil.sh 91 local unique=""
93 unique=`$HIJACKING setkey -DP | grep -A2 "^${src}.*(${proto})$" | grep unique | sed 's/.*unique#//'`
95 echo $unique
t_ipsec.sh 226 local unique=""
229 unique=`$HIJACKING setkey -DP | grep -A2 "^${src}.*(${proto})$" | grep unique | sed 's/.*unique#//'`
232 echo $unique
  /src/sys/arch/alpha/include/
alpha_cpu.h 64 unsigned long apcb_unique; /* process unique value */
552 alpha_pal_wrunique(unsigned long unique)
554 register unsigned long a0 __asm("$16") = unique;
  /src/sys/compat/netbsd32/
netbsd32_drm.c 126 netbsd32_pointer_t unique; member in struct:drm_unique32
140 uq64.unique = NETBSD32PTR64(uq32.unique);
146 //unique should already be copied
166 uq64.unique = NETBSD32PTR64(uq32.unique);
174 NETBSD32PTR32(uq32.unique, uq64.unique);
  /src/sys/coda/
coda.h 212 u_long Unique;
218 return (fid->Unique + (fid->Vnode<<10) + (fid->Volume<<20));
225 fid->Vnode, fid->Unique);
233 fid1->Unique == fid2->Unique);
371 unsigned long unique; /* Keep multiple outstanding msgs distinct */ member in struct:coda_in_hdr
380 u_int32_t unique; /* Keep multiple outstanding msgs distinct */ member in struct:coda_in_hdr
387 /* Really important that opcode and unique are 1st two fields! */
390 u_int32_t unique; member in struct:coda_out_hdr
829 (fidp)->Unique == -1
    [all...]
coda_psdev.c 315 /* Peek at the opcode, unique without transferring the data. */
383 out->unique = seq;
578 ((struct coda_in_hdr *)buffer)->unique = vmp->vm_unique;
699 dog->unique = svmp->vm_unique = vmp->vm_unique;
  /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
amdgpu_xgmi.c 56 * The file xgmi_device_id contains the unique per GPU device ID and
218 sysfs_remove_link(&adev->dev->kobj, adev->ddev->unique);
233 sysfs_remove_link(&adev->dev->kobj, adev->ddev->unique);
234 sysfs_remove_link(hive->kobj, adev->ddev->unique);
  /src/sys/external/bsd/drm2/dist/drm/qxl/
qxl_dev.h 411 uint64_t unique; member in struct:qxl_cursor_header
792 uint32_t unique; member in struct:qxl_image_id
824 uint64_t unique; member in struct:qxl_palette
  /src/usr.sbin/sysinst/arch/i386/
msg.md.fr 114 Note: puisque sysinst a pu trouver une correspondance unique entre le

Completed in 46 milliseconds

1 2