D | aliasing-test.c | 36 if (fnmatch("/proc/bus/pci/*", path, 0) == 0) { in map_mem() 59 return 0; in map_mem() 66 int i, n, r, rc = 0, result = 0; in scan_tree() 69 n = scandir(path, &namelist, 0, alphasort); in scan_tree() 70 if (n < 0) { in scan_tree() 75 for (i = 0; i < n; i++) { in scan_tree() 78 if (fnmatch(".", name, 0) == 0) in scan_tree() 80 if (fnmatch("..", name, 0) == 0) in scan_tree() 88 if (fnmatch(file, name, 0) == 0) { in scan_tree() 90 if (rc == 0) in scan_tree() [all …]
|