Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/syscalls/mincore/
Dmincore02.c47 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/
Dvma_random_test.cpp55 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 + next->num_pages}; in dealloc()
194 allocation x {prev->start_page, prev->num_pages + a.num_pages}; in dealloc()
[all …]
/third_party/ltp/testcases/kernel/syscalls/mmap/
Dmmap12.c44 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/mesa3d/src/gallium/drivers/zink/
Dzink_bo.c404 uint32_t start_page, uint32_t num_pages) in sparse_backing_free() argument
406 uint32_t end_page = start_page + num_pages; in sparse_backing_free()
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_bo.c1027 uint32_t start_page, uint32_t num_pages) in sparse_backing_free() argument
1029 uint32_t end_page = start_page + num_pages; in sparse_backing_free()