Lines Matching defs:path
25 int map_mem(char *path, off_t offset, size_t length, int touch)
31 fd = open(path, O_RDWR);
33 perror(path);
57 int scan_sysfs(char *path, char *file, off_t offset, size_t length, int touch)
64 n = scandir(path, &namelist, 0, alphasort);
78 path2 = malloc(strlen(path) + strlen(name) + 3);
79 strcpy(path2, path);
114 int read_rom(char *path)
119 fd = open(path, O_RDWR);
121 perror(path);
141 int scan_rom(char *path, char *file)
148 n = scandir(path, &namelist, 0, alphasort);
162 path2 = malloc(strlen(path) + strlen(name) + 3);
163 strcpy(path2, path);