Searched refs:wpath (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/drivers/pci/ |
D | pci.c | 289 char *wpath, *p; in pci_dev_str_match_path() local 294 wpath = kmemdup_nul(path, *endptr - path, GFP_ATOMIC); in pci_dev_str_match_path() 295 if (!wpath) in pci_dev_str_match_path() 299 p = strrchr(wpath, '/'); in pci_dev_str_match_path() 328 ret = sscanf(wpath, "%x:%x:%x.%x%c", &seg, &bus, &slot, in pci_dev_str_match_path() 332 ret = sscanf(wpath, "%x:%x.%x%c", &bus, &slot, &func, &end); in pci_dev_str_match_path() 344 kfree(wpath); in pci_dev_str_match_path()
|