Home
last modified time | relevance | path

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

/system/extras/ksmutils/
Dksminfo.c204 struct ksm_page *cur_page; in read_pages() local
292 cur_page = &kp->pages[k]; in read_pages()
295 if (cur_page->vaddr_len > 0 && in read_pages()
296 cur_page->vaddr[cur_page->vaddr_len - 1].pid == pid && in read_pages()
297 cur_page->vaddr[cur_page->vaddr_len - 1].addr == in read_pages()
298 vaddr - (cur_page->vaddr[cur_page->vaddr_len - 1].num_pages * in read_pages()
300 cur_page->vaddr[cur_page->vaddr_len - 1].num_pages++; in read_pages()
302 if (cur_page->vaddr_len == cur_page->vaddr_size) { in read_pages()
303 struct vaddr *tmp = realloc(cur_page->vaddr, in read_pages()
304 … (cur_page->vaddr_size + GROWTH_FACTOR) * sizeof(*(cur_page->vaddr))); in read_pages()
[all …]