Searched refs:wpath (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/pci/ |
H A D | pci.c | 288 char *wpath, *p; in pci_dev_str_match_path() local 293 wpath = kmemdup_nul(path, *endptr - path, GFP_ATOMIC); in pci_dev_str_match_path() 294 if (!wpath) in pci_dev_str_match_path() 298 p = strrchr(wpath, '/'); in pci_dev_str_match_path() 327 ret = sscanf(wpath, "%x:%x:%x.%x%c", &seg, &bus, &slot, in pci_dev_str_match_path() 331 ret = sscanf(wpath, "%x:%x.%x%c", &bus, &slot, &func, &end); in pci_dev_str_match_path() 343 kfree(wpath); in pci_dev_str_match_path()
|