/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/ |
D | ttm_tt.c | 49 uint32_t page_flags = 0; in ttm_tt_create() local 57 page_flags |= TTM_PAGE_FLAG_DMA32; in ttm_tt_create() 60 page_flags |= TTM_PAGE_FLAG_NO_RETRY; in ttm_tt_create() 65 page_flags |= TTM_PAGE_FLAG_ZERO_ALLOC; in ttm_tt_create() 70 page_flags |= TTM_PAGE_FLAG_SG; in ttm_tt_create() 77 bo->ttm = bdev->driver->ttm_tt_create(bo, page_flags); in ttm_tt_create() 214 if (!(ttm->page_flags & TTM_PAGE_FLAG_PERSISTENT_SWAP) && in ttm_tt_destroy_common() 229 uint32_t page_flags) in ttm_tt_init_fields() argument 233 ttm->page_flags = page_flags; in ttm_tt_init_fields() 240 uint32_t page_flags) in ttm_tt_init() argument [all …]
|
D | ttm_agp_backend.c | 128 uint32_t page_flags) in ttm_agp_tt_create() argument 139 if (ttm_tt_init(&agp_be->ttm, bo, page_flags)) { in ttm_agp_tt_create()
|
D | ttm_page_alloc_dma.c | 861 if (ttm->page_flags & TTM_PAGE_FLAG_DMA32) in ttm_dma_pool_gfp_flags() 865 if (ttm->page_flags & TTM_PAGE_FLAG_ZERO_ALLOC) in ttm_dma_pool_gfp_flags() 875 if (ttm->page_flags & TTM_PAGE_FLAG_NO_RETRY) in ttm_dma_pool_gfp_flags() 906 type = ttm_to_type(ttm->page_flags, ttm->caching_state); in ttm_dma_populate() 909 if (ttm->page_flags & TTM_PAGE_FLAG_DMA32) in ttm_dma_populate() 977 if (unlikely(ttm->page_flags & TTM_PAGE_FLAG_SWAPPED)) { in ttm_dma_populate() 1002 type = ttm_to_type(ttm->page_flags, ttm->caching_state); in ttm_dma_unpopulate() 1034 ttm_to_type(ttm->page_flags, tt_cached)) == pool); in ttm_dma_unpopulate()
|
D | ttm_page_alloc.c | 1045 ttm_put_pages(ttm->pages, ttm->num_pages, ttm->page_flags, in ttm_pool_unpopulate_helper() 1062 ret = ttm_get_pages(ttm->pages, ttm->num_pages, ttm->page_flags, in ttm_pool_populate() 1078 if (unlikely(ttm->page_flags & TTM_PAGE_FLAG_SWAPPED)) { in ttm_pool_populate()
|
D | ttm_bo_vm.c | 288 if (bo->ttm && (bo->ttm->page_flags & TTM_PAGE_FLAG_SG)) in ttm_bo_vm_fault_reserved()
|
D | ttm_bo_util.c | 256 !(ttm->page_flags & TTM_PAGE_FLAG_SWAPPED)))) { in ttm_bo_move_memcpy()
|
D | ttm_bo.c | 128 !(bo->ttm->page_flags & (TTM_PAGE_FLAG_SG | in ttm_bo_add_mem_to_lru() 179 if (bo->ttm && !(bo->ttm->page_flags & in ttm_bo_move_to_lru_tail()
|
/kernel/linux/linux-5.10/include/drm/ttm/ |
D | ttm_tt.h | 70 uint32_t page_flags; member 79 return tt->page_flags & TTM_PAGE_FLAG_PRIV_POPULATED; in ttm_tt_is_populated() 84 tt->page_flags &= ~TTM_PAGE_FLAG_PRIV_POPULATED; in ttm_tt_set_unpopulated() 89 tt->page_flags |= TTM_PAGE_FLAG_PRIV_POPULATED; in ttm_tt_set_populated() 133 uint32_t page_flags); 135 uint32_t page_flags); 137 uint32_t page_flags); 225 uint32_t page_flags);
|
D | ttm_bo_driver.h | 69 uint32_t page_flags);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/ |
D | nouveau_sgdma.c | 68 nouveau_sgdma_create_ttm(struct ttm_buffer_object *bo, uint32_t page_flags) in nouveau_sgdma_create_ttm() argument 76 if (ttm_dma_tt_init(&nvbe->ttm, bo, page_flags)) { in nouveau_sgdma_create_ttm()
|
D | nouveau_ttm.h | 16 u32 page_flags);
|
D | nouveau_bo.c | 706 nouveau_ttm_tt_create(struct ttm_buffer_object *bo, uint32_t page_flags) in nouveau_ttm_tt_create() argument 712 return ttm_agp_tt_create(bo, drm->agp.bridge, page_flags); in nouveau_ttm_tt_create() 716 return nouveau_sgdma_create_ttm(bo, page_flags); in nouveau_ttm_tt_create() 1319 bool slave = !!(ttm->page_flags & TTM_PAGE_FLAG_SG); in nouveau_ttm_tt_populate() 1356 bool slave = !!(ttm->page_flags & TTM_PAGE_FLAG_SG); in nouveau_ttm_tt_unpopulate()
|
/kernel/linux/linux-5.10/arch/x86/boot/compressed/ |
D | ident_map_64.c | 184 unsigned long page_flags; in split_large_pmd() local 196 page_flags = info->page_flag & ~_PAGE_PSE; in split_large_pmd() 200 set_pte(&pte[i], __pte(address | page_flags)); in split_large_pmd()
|
/kernel/linux/linux-5.10/tools/vm/ |
D | page-types.c | 204 static uint64_t page_flags[HASH_SIZE]; variable 440 (unsigned long long)page_flags[i], in show_summary() 443 page_flag_name(page_flags[i]), in show_summary() 444 page_flag_longname(page_flags[i])); in show_summary() 618 for (i = 1; i < ARRAY_SIZE(page_flags); i++, k++) { in hash_slot() 619 if (!k || k >= ARRAY_SIZE(page_flags)) in hash_slot() 621 if (page_flags[k] == 0) { in hash_slot() 622 page_flags[k] = flags; in hash_slot() 625 if (page_flags[k] == flags) in hash_slot()
|
/kernel/linux/linux-5.10/mm/ |
D | memory-failure.c | 1109 unsigned long page_flags) in identify_page_state() argument 1122 page_flags |= (p->flags & (1UL << PG_dirty)); in identify_page_state() 1126 if ((page_flags & ps->mask) == ps->res) in identify_page_state() 1155 unsigned long page_flags; in memory_failure_hugetlb() local 1185 page_flags = head->flags; in memory_failure_hugetlb() 1216 res = identify_page_state(pfn, p, page_flags); in memory_failure_hugetlb() 1333 unsigned long page_flags; in memory_failure() local 1436 page_flags = p->flags; in memory_failure() 1490 res = identify_page_state(pfn, p, page_flags); in memory_failure()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | radeon_ttm.c | 592 uint32_t page_flags) in radeon_ttm_tt_create() argument 601 page_flags); in radeon_ttm_tt_create() 609 if (ttm_dma_tt_init(>t->ttm, bo, page_flags)) { in radeon_ttm_tt_create() 635 bool slave = !!(ttm->page_flags & TTM_PAGE_FLAG_SG); in radeon_ttm_tt_populate() 642 ttm->page_flags |= TTM_PAGE_FLAG_SG; in radeon_ttm_tt_populate() 673 bool slave = !!(ttm->page_flags & TTM_PAGE_FLAG_SG); in radeon_ttm_tt_unpopulate() 677 ttm->page_flags &= ~TTM_PAGE_FLAG_SG; in radeon_ttm_tt_unpopulate()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/ |
D | qxl_ttm.c | 139 uint32_t page_flags) in qxl_ttm_tt_create() argument 149 if (ttm_tt_init(>t->ttm, bo, page_flags)) { in qxl_ttm_tt_create()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_ttm_buffer.c | 703 uint32_t page_flags) in vmw_ttm_tt_create() argument 716 ret = ttm_dma_tt_init(&vmw_be->dma_ttm, bo, page_flags); in vmw_ttm_tt_create() 718 ret = ttm_tt_init(&vmw_be->dma_ttm.ttm, bo, page_flags); in vmw_ttm_tt_create()
|
/kernel/linux/linux-5.10/Documentation/vm/ |
D | hwpoison.rst | 154 When specified, only poison pages if ((page_flags & mask) == 156 pages. The page_flags are the same as in /proc/kpageflags. The
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ttm.c | 1297 uint32_t page_flags) in amdgpu_ttm_tt_create() argument 1308 if (ttm_sg_tt_init(>t->ttm, bo, page_flags)) { in amdgpu_ttm_tt_create() 1334 ttm->page_flags |= TTM_PAGE_FLAG_SG; in amdgpu_ttm_tt_populate() 1339 if (ttm->page_flags & TTM_PAGE_FLAG_SG) { in amdgpu_ttm_tt_populate() 1385 ttm->page_flags &= ~TTM_PAGE_FLAG_SG; in amdgpu_ttm_tt_unpopulate() 1398 if (ttm->page_flags & TTM_PAGE_FLAG_SG) in amdgpu_ttm_tt_unpopulate()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_gem_vram_helper.c | 935 uint32_t page_flags) in bo_driver_ttm_tt_create() argument 944 ret = ttm_tt_init(tt, bo, page_flags); in bo_driver_ttm_tt_create()
|
/kernel/linux/linux-5.10/drivers/iommu/ |
D | rockchip-iommu.c | 485 u32 page_flags = 0; in log_iova() local 509 page_flags = pte & RK_PTE_PAGE_FLAGS_MASK; in log_iova() 517 rk_pte_is_page_valid(pte), &page_addr_phys, page_flags); in log_iova()
|
/kernel/linux/linux-5.10/arch/x86/mm/pat/ |
D | set_memory.c | 2244 unsigned numpages, unsigned long page_flags) in kernel_map_pages_in_pgd() argument 2254 .mask_clr = __pgprot(~page_flags & (_PAGE_NX|_PAGE_RW)), in kernel_map_pages_in_pgd() 2263 if (!(page_flags & _PAGE_ENC)) in kernel_map_pages_in_pgd() 2266 cpa.mask_set = __pgprot(_PAGE_PRESENT | page_flags); in kernel_map_pages_in_pgd()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | pgtable_types.h | 576 unsigned long page_flags);
|
/kernel/linux/patches/linux-5.10/yangfan_patch/ |
D | drivers.patch | 39626 page_flags = pte & RK_PTE_PAGE_FLAGS_MASK;
|