Searched refs:numpages (Results 1 – 1 of 1) sorted by relevance
97 int firstpage, numpages; in pm_process_pagemap_range() local106 numpages = (high - low) / proc->ker->pagesize; in pm_process_pagemap_range()108 range = malloc(numpages * sizeof(uint64_t)); in pm_process_pagemap_range()118 error = read(proc->pagemap_fd, (char*)range, numpages * sizeof(uint64_t)); in pm_process_pagemap_range()125 } else if (error < 0 || (error > 0 && error < (int)(numpages * sizeof(uint64_t)))) { in pm_process_pagemap_range()132 *len = numpages; in pm_process_pagemap_range()