Searched refs:blksize (Results 1 – 2 of 2) sorted by relevance
/bootable/recovery/minzip/ |
D | SysUtil.c | 92 unsigned int blksize; in sysMapBlockFile() local 108 if (fscanf(mapf, "%zu %u\n%u\n", &size, &blksize, &range_count) != 3) { in sysMapBlockFile() 113 blocks = ((size-1) / blksize) + 1; in sysMapBlockFile() 121 reserve = mmap64(NULL, blocks * blksize, PROT_NONE, MAP_PRIVATE | MAP_ANON, -1, 0); in sysMapBlockFile() 128 pMap->ranges[range_count-1].length = blocks * blksize; in sysMapBlockFile() 144 …void* addr = mmap64(next, (end-start)*blksize, PROT_READ, MAP_PRIVATE | MAP_FIXED, fd, ((off64_t)s… in sysMapBlockFile() 150 pMap->ranges[i].length = (end-start)*blksize; in sysMapBlockFile()
|
/bootable/recovery/ |
D | fuse_sideload.c | 165 attr->blksize = 4096; in fill_attr() 169 attr->blocks = (size == 0) ? 0 : (((size-1) / attr->blksize) + 1); in fill_attr()
|