Searched refs:numPages (Results 1 – 6 of 6) sorted by relevance
| /netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/experimental/allocator/building_blocks/ |
| H A D | ascending_page_allocator.d | 52 return Ternary(buf.ptr >= data && buf.ptr < buf.ptr + numPages * pageSize); in AscendingPageAllocatorImpl() 60 auto ret = munmap(cast(void*) data, numPages * pageSize); in AscendingPageAllocatorImpl() 94 numPages = n.roundUpToMultipleOf(cast(uint) pageSize) / pageSize; in AscendingPageAllocatorImpl() 101 data = cast(typeof(data)) mmap(null, pageSize * numPages, in AscendingPageAllocatorImpl() 111 data = cast(typeof(data)) VirtualAlloc(null, pageSize * numPages, in AscendingPageAllocatorImpl() 132 auto size = numPages * pageSize + data - offset; in AscendingPageAllocatorImpl() 237 size_t numPages; member 274 immutable pagedBytes = numPages * pageSize; in allocate() 322 immutable pagedBytes = numPages * pageSize; in alignedAllocate() 372 if (extraPages > numPages || offset - data > pageSize * (numPages - extraPages)) in expand() [all …]
|
| H A D | allocator_list.d | 838 enum numPages = 2; variable 839 AllocatorList!((n) => AscendingPageAllocator(max(n, numPages * pageSize)), Mallocator) a; 848 void[] b2 = a.allocate((numPages + 1) * pageSize); 849 assert(b2.length == (numPages + 1) * pageSize); 896 enum numPages = 2; variable 897 AllocatorList!((n) => AscendingPageAllocator(max(n, numPages * pageSize)), NullAllocator) a; 905 void[] b2 = a.allocate((numPages + 1) * pageSize); 906 assert(b2.length == (numPages + 1) * pageSize); 962 enum numPages = 5; variable 963 AllocatorList!((n) => AscendingPageAllocator(max(n, numPages * pageSize)), NullAllocator) a; [all …]
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/vmwgfx/ |
| H A D | vmwgfx_gmr.c | 64 define_cmd.numPages = num_pages; in vmw_gmr2_bind() 83 remap_cmd.numPages = nr; in vmw_gmr2_bind() 123 define_cmd.numPages = 0; in vmw_gmr2_unbind()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/vmwgfx/device_include/ |
| H A D | svga_reg.h | 334 uint32 numPages; member 1997 uint32 numPages; member 2044 uint32 numPages; /* number of pages to remap */ member
|
| H A D | svga3d_cmd.h | 2088 uint32 numPages; member
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/internal/gc/impl/conservative/ |
| H A D | gc.d | 673 auto newsz = lpool.numPages(size); 776 auto minsz = lpool.numPages(minsize); 777 auto maxsz = lpool.numPages(maxsize); 1991 immutable npages = LargeObjectPool.numPages(size); 3865 static size_t numPages(size_t size) nothrow @nogc
|