Home
last modified time | relevance | path

Searched refs:page_flags (Results 1 – 25 of 25) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/
Dttm_tt.c49 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 …]
Dttm_agp_backend.c128 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()
Dttm_page_alloc_dma.c861 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()
Dttm_page_alloc.c1045 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()
Dttm_bo_vm.c288 if (bo->ttm && (bo->ttm->page_flags & TTM_PAGE_FLAG_SG)) in ttm_bo_vm_fault_reserved()
Dttm_bo_util.c256 !(ttm->page_flags & TTM_PAGE_FLAG_SWAPPED)))) { in ttm_bo_move_memcpy()
Dttm_bo.c128 !(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/
Dttm_tt.h70 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);
Dttm_bo_driver.h69 uint32_t page_flags);
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
Dnouveau_sgdma.c68 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()
Dnouveau_ttm.h16 u32 page_flags);
Dnouveau_bo.c706 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/
Dident_map_64.c184 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/
Dpage-types.c204 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/
Dmemory-failure.c1109 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/
Dradeon_ttm.c592 uint32_t page_flags) in radeon_ttm_tt_create() argument
601 page_flags); in radeon_ttm_tt_create()
609 if (ttm_dma_tt_init(&gtt->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/
Dqxl_ttm.c139 uint32_t page_flags) in qxl_ttm_tt_create() argument
149 if (ttm_tt_init(&gtt->ttm, bo, page_flags)) { in qxl_ttm_tt_create()
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ttm_buffer.c703 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/
Dhwpoison.rst154 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/
Damdgpu_ttm.c1297 uint32_t page_flags) in amdgpu_ttm_tt_create() argument
1308 if (ttm_sg_tt_init(&gtt->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/
Ddrm_gem_vram_helper.c935 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/
Drockchip-iommu.c485 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/
Dset_memory.c2244 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/
Dpgtable_types.h576 unsigned long page_flags);
/kernel/linux/patches/linux-5.10/yangfan_patch/
Ddrivers.patch39626 page_flags = pte & RK_PTE_PAGE_FLAGS_MASK;