Home
last modified time | relevance | path

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

/bootable/recovery/minzip/
DSysUtil.c80 pMap->range_count = 1; in sysMapFD()
94 unsigned int range_count; in sysMapBlockFile() local
108 if (fscanf(mapf, "%zu %u\n%u\n", &size, &blksize, &range_count) != 3) { in sysMapBlockFile()
115 pMap->range_count = range_count; in sysMapBlockFile()
116 pMap->ranges = malloc(range_count * sizeof(MappedRange)); in sysMapBlockFile()
117 memset(pMap->ranges, 0, range_count * sizeof(MappedRange)); in sysMapBlockFile()
127 pMap->ranges[range_count-1].addr = reserve; in sysMapBlockFile()
128 pMap->ranges[range_count-1].length = blocks * blksize; in sysMapBlockFile()
137 for (i = 0; i < range_count; ++i) { in sysMapBlockFile()
158 LOGI("mmapped %d ranges\n", range_count); in sysMapBlockFile()
[all …]
DSysUtil.h28 int range_count; member