Lines Matching refs:d_name
175 if (cur_bus->d_name[0] == '.')
179 snprintf(pci_dir_name, 255, "/proc/bus/pci/%s", cur_bus->d_name);
186 if (cur_device->d_name[0] == '.')
190 snprintf(pci_dev_name, 511, "/proc/bus/pci/%s/%s", cur_bus->d_name, cur_device->d_name);
215 environ[2] = xmalloc(21 + strlen(cur_bus->d_name) + strlen(cur_device->d_name));
217 strcat(environ[2], cur_bus->d_name);
219 strcat(environ[2], cur_device->d_name);
272 if (cur_bus->d_name[0] == '.')
276 snprintf(usb_dir_name, 255, "/proc/bus/usb/%s", cur_bus->d_name);
283 if (cur_device->d_name[0] == '.')
287 snprintf(usb_dev_name, 511, "/proc/bus/usb/%s/%s", cur_bus->d_name, cur_device->d_name);