Searched refs:numpages (Results 1 – 1 of 1) sorted by relevance
107 uint64_t numpages; in pm_process_pagemap_range() local122 numpages = (high - low) / proc->ker->pagesize; in pm_process_pagemap_range()124 range = malloc(numpages * sizeof(uint64_t)); in pm_process_pagemap_range()134 error = read(proc->pagemap_fd, (char*)range, numpages * sizeof(uint64_t)); in pm_process_pagemap_range()141 } else if (error < 0 || (error > 0 && error < (int)(numpages * sizeof(uint64_t)))) { in pm_process_pagemap_range()148 *len = numpages; in pm_process_pagemap_range()