Searched refs:num_pages (Results 1 - 8 of 8) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/mincore/ |
H A D | mincore02.c | 47 static int num_pages = 4; variable 53 munlock(addr, page_size * num_pages); in cleanup() 54 munmap(addr, page_size * num_pages); in cleanup() 70 size = page_size * num_pages; in setup() 111 if (mincore(addr, num_pages * page_size, vec) == -1) { in main() 119 for (counter = 0; counter < num_pages; counter++) { in main() 124 if (lock_pages == num_pages) { in main() 125 tst_resm(TPASS, "%d pages locked, %d pages in-core", num_pages, in main() 130 num_pages, lock_pages); in main()
|
/third_party/mesa3d/src/util/tests/vma/ |
H A D | vma_random_test.cpp | 55 uint64_t num_pages; member 61 assert(lhs.start_page + lhs.num_pages > lhs.start_page); in operator ()() 62 return lhs.start_page + lhs.num_pages <= rhs.start_page; in operator ()() 67 return a.start_page + a.num_pages; in allocation_end_page() 121 assert(hole.num_pages < size_pages + hole_alignment_pages); in alloc() 133 assert(hole.num_pages >= size_pages + addr_page - hole.start_page); in alloc() 163 a.num_pages * MEM_PAGE_SIZE); in dealloc() 169 allocation x {a.start_page, a.num_pages + next->num_pages}; in dealloc() 178 prev->num_pages in dealloc() [all...] |
/third_party/ltp/testcases/kernel/syscalls/mmap/ |
H A D | mmap12.c | 44 int num_pages; in page_check() local 54 num_pages = MMAPSIZE / page_sz; in page_check() 72 while (i <= num_pages) { in page_check()
|
/third_party/cups-filters/filter/ |
H A D | texttotext.c | 161 int num_pages = 0; /* Number of pages which get actually in main() local 713 num_pages ++; in main() 719 if (num_pages == 1) in main() 726 fprintf(stderr, "PAGE: %d %d\n", num_pages, num_copies); in main() 835 for (page = (reverse_order ? num_pages : 1); in main() 836 (reverse_order ? (page >= 1) : (page <= num_pages)); in main() 844 for (page = 0; page < num_pages; page ++) { in main()
|
/third_party/node/deps/v8/src/heap/ |
H A D | new-spaces.cc | 122 const int num_pages = static_cast<int>(target_capacity_ / Page::kPageSize); in Commit() local 123 DCHECK(num_pages); in Commit() 124 for (int pages_added = 0; pages_added < num_pages; pages_added++) { in Commit() 207 void SemiSpace::RewindPages(int num_pages) { in RewindPages() argument 208 DCHECK_GT(num_pages, 0); in RewindPages() 210 while (num_pages > 0) { in RewindPages() 216 num_pages--; in RewindPages()
|
H A D | new-spaces.h | 181 void RewindPages(int num_pages);
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_bo.c | 429 uint32_t start_page, uint32_t num_pages) in sparse_backing_free() 431 uint32_t end_page = start_page + num_pages; in sparse_backing_free() 427 sparse_backing_free(struct zink_screen *screen, struct zink_bo *bo, struct zink_sparse_backing *backing, uint32_t start_page, uint32_t num_pages) sparse_backing_free() argument
|
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/ |
H A D | amdgpu_bo.c | 1009 uint32_t start_page, uint32_t num_pages) in sparse_backing_free() 1011 uint32_t end_page = start_page + num_pages; in sparse_backing_free() 1007 sparse_backing_free(struct amdgpu_winsys *ws, struct amdgpu_winsys_bo *bo, struct amdgpu_sparse_backing *backing, uint32_t start_page, uint32_t num_pages) sparse_backing_free() argument
|
Completed in 11 milliseconds