Home
last modified time | relevance | path

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

/bootable/recovery/minzip/
DSysUtil.c53 static int sysMapBlockFile(FILE* mapf, MemMapping* pMap) in sysMapBlockFile() argument
62 if (fgets(block_dev, sizeof(block_dev), mapf) == NULL) { in sysMapBlockFile()
73 if (fscanf(mapf, "%zu %u\n%u\n", &size, &blksize, &range_count) != 3) { in sysMapBlockFile()
115 if (fscanf(mapf, "%zu %zu\n", &start, &end) != 2) { in sysMapBlockFile()
165 FILE* mapf = fopen(fn+1, "r"); in sysMapFile() local
166 if (mapf == NULL) { in sysMapFile()
171 if (sysMapBlockFile(mapf, pMap) != 0) { in sysMapFile()
173 fclose(mapf); in sysMapFile()
177 fclose(mapf); in sysMapFile()