Home
last modified time | relevance | path

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

/bootable/recovery/minzip/
DSysUtil.c60 static int sysMapFD(int fd, MemMapping* pMap) in sysMapFD() argument
66 assert(pMap != NULL); in sysMapFD()
78 pMap->addr = memPtr; in sysMapFD()
79 pMap->length = length; in sysMapFD()
80 pMap->range_count = 1; in sysMapFD()
81 pMap->ranges = malloc(sizeof(MappedRange)); in sysMapFD()
82 pMap->ranges[0].addr = memPtr; in sysMapFD()
83 pMap->ranges[0].length = length; in sysMapFD()
88 static int sysMapBlockFile(FILE* mapf, MemMapping* pMap) in sysMapBlockFile() argument
115 pMap->range_count = range_count; in sysMapBlockFile()
[all …]
DSysUtil.h39 int sysMapFile(const char* fn, MemMapping* pMap);
46 void sysReleaseMap(MemMapping* pMap);