Home
last modified time | relevance | path

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

/netbsd/sys/external/bsd/drm2/dist/include/drm/ttm/
H A Dttm_page_alloc.h39 int ttm_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages);
85 int ttm_dma_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages);
105 unsigned max_pages) in ttm_dma_page_alloc_init() argument
/netbsd/sys/external/bsd/drm2/dist/drm/r128/
H A Dati_pcigart.c72 int max_pages; in drm_ati_pcigart_cleanup() local
82 max_pages = (gart_info->table_size / sizeof(u32)); in drm_ati_pcigart_cleanup()
83 pages = (entry->pages <= max_pages) in drm_ati_pcigart_cleanup()
84 ? entry->pages : max_pages; in drm_ati_pcigart_cleanup()
/netbsd/sys/external/bsd/drm/dist/bsd-core/
H A Dati_pcigart.c236 int max_pages; in drm_ati_pcigart_init() local
264 max_pages = (gart_info->table_size / sizeof(u32)); in drm_ati_pcigart_init()
265 pages = (dev->sg->pages <= max_pages) in drm_ati_pcigart_init()
266 ? dev->sg->pages : max_pages; in drm_ati_pcigart_init()
268 memset(pci_gart, 0, max_pages * sizeof(u32)); in drm_ati_pcigart_init()
/netbsd/sys/external/bsd/drm2/include/drm/ttm/
H A Dttm_page_alloc.h46 unsigned max_pages __unused) in ttm_page_alloc_init()
58 unsigned max_pages __unused) in ttm_dma_page_alloc_init()
/netbsd/external/mit/libuv/dist/src/unix/
H A Dhaiku.c66 return (sinfo.max_pages - sinfo.used_pages) * B_PAGE_SIZE; in uv_get_free_memory()
78 return sinfo.max_pages * B_PAGE_SIZE; in uv_get_total_memory()
/netbsd/sys/external/bsd/drm2/dist/drm/i915/selftests/
H A Dintel_memory_region.c56 unsigned long max_pages; in igt_mock_fill() local
62 max_pages = div64_u64(total, page_size); in igt_mock_fill()
65 for_each_prime_number_from(page_num, 1, max_pages) { in igt_mock_fill()
H A Di915_vma.c509 const unsigned int max_pages = 64; in igt_vma_rotate_remap() local
516 obj = i915_gem_object_create_internal(vm->i915, max_pages * PAGE_SIZE); in igt_vma_rotate_remap()
528 GEM_BUG_ON(max_offset > max_pages); in igt_vma_rotate_remap()
529 max_offset = max_pages - max_offset; in igt_vma_rotate_remap()
H A Di915_gem_gtt.c354 const unsigned long max_pages = in fill_hole() local
356 const unsigned long max_step = max(int_sqrt(max_pages), 2UL); in fill_hole()
369 for (npages = 1; npages <= max_pages; npages *= prime) { in fill_hole()
564 const unsigned long max_pages = in walk_hole() local
575 for_each_prime_number_from(size, 1, max_pages) { in walk_hole()
/netbsd/sys/external/bsd/drm/dist/shared-core/
H A Dr600_cp.c128 int max_pages; in r600_page_table_cleanup() local
138 max_pages = (gart_info->table_size / sizeof(u64)); in r600_page_table_cleanup()
139 pages = (entry->pages <= max_pages) in r600_page_table_cleanup()
140 ? entry->pages : max_pages; in r600_page_table_cleanup()
162 int max_pages, pages; in r600_page_table_init() local
171 max_pages = (gart_info->table_size / sizeof(u64)); in r600_page_table_init()
172 pages = (entry->pages <= max_pages) ? entry->pages : max_pages; in r600_page_table_init()
174 memset(pci_gart, 0, max_pages * sizeof(u64)); in r600_page_table_init()
/netbsd/sys/external/bsd/drm2/dist/include/drm/
H A Ddrm_prime.h128 dma_addr_t *addrs, int max_pages);
/netbsd/sys/external/bsd/drm2/dist/drm/ttm/
H A Dttm_page_alloc.c959 int ttm_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages) in ttm_page_alloc_init() argument
998 _manager->options.max_size = max_pages; in ttm_page_alloc_init()
H A Dttm_page_alloc_dma.c1165 int ttm_dma_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages) in ttm_dma_page_alloc_init() argument
1180 _manager->options.max_size = max_pages; in ttm_dma_page_alloc_init()
/netbsd/sys/external/mit/xen-include-public/dist/xen/include/public/
H A Ddomctl.h107 uint64_aligned_t max_pages; member
/netbsd/sys/external/bsd/drm2/dist/drm/i915/gem/selftests/
H A Dhuge_pages.c695 unsigned long max_pages = ppgtt->vm.total >> PAGE_SHIFT; in igt_mock_ppgtt_huge_fill() local
702 for_each_prime_number_from(page_num, 1, max_pages) { in igt_mock_ppgtt_huge_fill()
/netbsd/external/gpl3/gdb.old/dist/bfd/
H A DChangeLog-2007322 (mips_elf_got_per_bfd_arg): Add max_pages field. Delete
332 non-page entries. Use the minimum of max_pages and the sum
334 (mips_elf_merge_gots): Use the minimum of max_pages and the
338 to the individual per-bfd GOTs. Initialize got_per_bfd_arg.max_pages.
H A Delfxx-mips.c207 unsigned int max_pages; member
4635 estimate = arg->max_pages; in mips_elf_merge_got_with()
4689 estimate = arg->max_pages; in mips_elf_merge_got()
4913 got_per_bfd_arg.max_pages = pages; in mips_elf_multi_got()
/netbsd/external/gpl3/binutils.old/dist/bfd/
H A DChangeLog-2007322 (mips_elf_got_per_bfd_arg): Add max_pages field. Delete
332 non-page entries. Use the minimum of max_pages and the sum
334 (mips_elf_merge_gots): Use the minimum of max_pages and the
338 to the individual per-bfd GOTs. Initialize got_per_bfd_arg.max_pages.
H A Delfxx-mips.c207 unsigned int max_pages; member
4656 estimate = arg->max_pages; in mips_elf_merge_got_with()
4710 estimate = arg->max_pages; in mips_elf_merge_got()
4934 got_per_bfd_arg.max_pages = pages; in mips_elf_multi_got()
/netbsd/external/gpl3/gdb/dist/bfd/
H A DChangeLog-2007322 (mips_elf_got_per_bfd_arg): Add max_pages field. Delete
332 non-page entries. Use the minimum of max_pages and the sum
334 (mips_elf_merge_gots): Use the minimum of max_pages and the
338 to the individual per-bfd GOTs. Initialize got_per_bfd_arg.max_pages.
H A Delfxx-mips.c207 unsigned int max_pages; member
4635 estimate = arg->max_pages; in mips_elf_merge_got_with()
4689 estimate = arg->max_pages; in mips_elf_merge_got()
4913 got_per_bfd_arg.max_pages = pages; in mips_elf_multi_got()
/netbsd/external/gpl3/binutils/dist/bfd/
H A DChangeLog-2007322 (mips_elf_got_per_bfd_arg): Add max_pages field. Delete
332 non-page entries. Use the minimum of max_pages and the sum
334 (mips_elf_merge_gots): Use the minimum of max_pages and the
338 to the individual per-bfd GOTs. Initialize got_per_bfd_arg.max_pages.
H A Delfxx-mips.c207 unsigned int max_pages; member
4635 estimate = arg->max_pages; in mips_elf_merge_got_with()
4689 estimate = arg->max_pages; in mips_elf_merge_got()
4913 got_per_bfd_arg.max_pages = pages; in mips_elf_multi_got()