Home
last modified time | relevance | path

Searched refs:path (Results 1 – 9 of 9) sorted by relevance

/pciutils/lib/
H A Dinit.c298 char *path, *sep; in pci_init_name_list_path() local
329 free(path); in pci_init_name_list_path()
334 path[0] = '\0'; in pci_init_name_list_path()
343 if (((path[0] >= 'a' && path[0] <= 'z') || in pci_init_name_list_path()
344 (path[0] >= 'A' && path[0] <= 'Z')) && in pci_init_name_list_path()
347 memmove(path, path+2, len-2); in pci_init_name_list_path()
349 path[len] = '\0'; in pci_init_name_list_path()
367 (((path[0] >= 'a' && path[0] <= 'z') || (path[0] >= 'A' && path[0] <= 'Z')) && in pci_init_name_list_path()
370 memmove(path+4, path, len); in pci_init_name_list_path()
373 path[len] = '\0'; in pci_init_name_list_path()
[all …]
H A Dwin32-helpers.c1102 path[path_length-exe_file_length-1] != L'\\') in check_process_name()
1107 c1 = path[path_length-exe_file_length+i]; in check_process_name()
1140 LPWSTR path; in win32_find_and_open_process_for_query() local
1244 path = (LPWSTR)LocalAlloc(LPTR, size * sizeof(*path)); in win32_find_and_open_process_for_query()
1245 if (!path) in win32_find_and_open_process_for_query()
1249 length = MyGetProcessImageFileNameW(process, path, size); in win32_find_and_open_process_for_query()
1285 LocalFree(path); in win32_find_and_open_process_for_query()
1290 if (length && check_process_name(path, length, exe_file)) in win32_find_and_open_process_for_query()
1294 if (path) in win32_find_and_open_process_for_query()
1296 LocalFree(path); in win32_find_and_open_process_for_query()
[all …]
H A Dsysfs.c128 char path[2*OBJNAMELEN], rel_path[OBJNAMELEN]; in sysfs_deref_link() local
130 sysfs_obj_name(d, link_name, path); in sysfs_deref_link()
133 if (readlink(path, rel_path, sizeof(rel_path)) < 0) in sysfs_deref_link()
136 sysfs_obj_name(d, "", path); in sysfs_deref_link()
137 strcat(path, rel_path); in sysfs_deref_link()
140 return realpath(path, NULL); in sysfs_deref_link()
H A Dhurd.c123 char path[NAME_MAX]; in enum_devices() local
138 snprintf(path, NAME_MAX, "%s/%s", parent, entry->d_name); in enum_devices()
181 enum_devices(path, a, domain, bus, dev, func, lev + 1); in enum_devices()
H A Decam.c456 const char *path; local
475 path = acpimcfg;
482 path = mcfg_glob.gl_pathv[0];
484 a->debug("reading ACPI mcfg file: %s...", path);
485 mcfg_file = fopen(path, "rb");
H A Dconfigure141 SYSINCLUDE=$(xcrun --sdk macosx --show-sdk-path)/usr/include
/pciutils/lmr/
H A Dmargin_results.c234 char *path = xmalloc(pathlen); in margin_results_save_csv() local
264 snprintf(path, pathlen, "%s/lmr_%0*x.%02x.%02x.%x_Rx%X_%s.csv", dir, in margin_results_save_csv()
267 csv = fopen(path, "w"); in margin_results_save_csv()
269 die("Error while saving %s\n", path); in margin_results_save_csv()
382 free(path); in margin_results_save_csv()
/pciutils/
H A DChangeLog293 * Added "-P" and "-PP" switches to lspci, which display the path
385 path to module directory provided by libkmod. Previously,
386 it tried to construct the path explicitly, which need not
1240 * Makefile: Corrected library path on NetBSD.
1305 * Made the path to pci.ids customizable and independent on the SHAREDIR.
1601 * lib/proc.c (proc_setup): Increased path name length limit to 1024.
1624 * lib/Makefile: Add ${FREEBSD_SYS} to the include path if it's defined.
1735 * Makefile: Paths to pci.ids in man pages automatically get the right path.
2473 * Makefile: Fixed installation path for man pages.
H A Dpci.ids33660 10a9 802e Omni-path HFI 100 Series, 1-port A-board
33661 10a9 802f Omni-path HFI 100 Series, 2-port A-board
33662 10a9 8030 Omni-path HFI 100 Series, 1-port B-board
33663 10a9 8031 Omni-path HFI 100 Series, 2-port B-board
33668 15d9 099b Omni-path HFI Mezz AOC, 1 Port, PCIe x16.