Searched refs:pci_path (Results 1 – 2 of 2) sorted by relevance
/third_party/eudev/src/udev/ |
D | udev-builtin-net_id.c | 121 char pci_path[IFNAMSIZ]; member 209 s = names->pci_path; in dev_pci_slot() 210 l = sizeof(names->pci_path); in dev_pci_slot() 219 names->pci_path[0] = '\0'; in dev_pci_slot() 537 if (names.pci_path[0]) in builtin_net_id() 538 … if (snprintf(str, sizeof(str), "%s%s", prefix, names.pci_path) < (int)sizeof(str)) in builtin_net_id() 552 if (names.pci_path[0]) in builtin_net_id() 553 …if (snprintf(str, sizeof(str), "%s%s%s", prefix, names.pci_path, names.usb_ports) < (int)sizeof(st… in builtin_net_id() 567 if (names.pci_path[0]) in builtin_net_id() 568 …if (snprintf(str, sizeof(str), "%s%s%s", prefix, names.pci_path, names.bcma_core) < (int)sizeof(st… in builtin_net_id()
|
/third_party/libdrm/ |
D | xf86drm.c | 3133 get_pci_path(int maj, int min, char *pci_path) in get_pci_path() argument 3138 if (!realpath(path, pci_path)) { in get_pci_path() 3139 strcpy(pci_path, path); in get_pci_path() 3143 term = strrchr(pci_path, '/'); in get_pci_path() 3213 char pci_path[PATH_MAX + 1], *value; in drmParsePciBusInfo() local 3216 get_pci_path(maj, min, pci_path); in drmParsePciBusInfo() 3218 value = sysfs_uevent_get(pci_path, "PCI_SLOT_NAME"); in drmParsePciBusInfo() 3332 char path[PATH_MAX + 1], pci_path[PATH_MAX + 1]; in parse_separate_sysfs_files() local 3337 get_pci_path(maj, min, pci_path); in parse_separate_sysfs_files() 3340 snprintf(path, PATH_MAX, "%s/%s", pci_path, attrs[i]); in parse_separate_sysfs_files() [all …]
|