Lines Matching refs:vaddr_len
50 size_t vaddr_len, vaddr_size; member
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()
311 … memset(&tmp[cur_page->vaddr_len], 0, sizeof(tmp[cur_page->vaddr_len]) * GROWTH_FACTOR); in read_pages()
315 cur_page->vaddr[cur_page->vaddr_len].addr = vaddr; in read_pages()
316 cur_page->vaddr[cur_page->vaddr_len].num_pages = 1; in read_pages()
317 cur_page->vaddr[cur_page->vaddr_len].pid = pid; in read_pages()
318 cur_page->vaddr_len++; in read_pages()
369 while (j < kp->pages[i].vaddr_len) { in print_pages()
371 for (k = 0; k < 8 && j < kp->pages[i].vaddr_len; k++, j++) { in print_pages()