Home
last modified time | relevance | path

Searched refs:res_end (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_page_dirty.c331 unsigned long res_end = res->backup_offset + res->backup_size; in vmw_bo_dirty_transfer_to_res() local
335 res_end = DIV_ROUND_UP(res_end, PAGE_SIZE); in vmw_bo_dirty_transfer_to_res()
337 if (res_start >= dirty->end || res_end <= dirty->start) in vmw_bo_dirty_transfer_to_res()
341 res_end = max(res_end, dirty->end); in vmw_bo_dirty_transfer_to_res()
342 while (cur < res_end) { in vmw_bo_dirty_transfer_to_res()
345 start = find_next_bit(&dirty->bitmap[0], res_end, cur); in vmw_bo_dirty_transfer_to_res()
346 if (start >= res_end) in vmw_bo_dirty_transfer_to_res()
349 end = find_next_zero_bit(&dirty->bitmap[0], res_end, start + 1); in vmw_bo_dirty_transfer_to_res()
356 if (res_start <= dirty->start && res_end > dirty->start) in vmw_bo_dirty_transfer_to_res()
357 dirty->start = res_end; in vmw_bo_dirty_transfer_to_res()
[all …]
Dvmwgfx_resource.c1109 unsigned long res_end = end << PAGE_SHIFT; in vmw_resources_clean() local
1120 if (cur_res->backup_offset >= res_end) { in vmw_resources_clean()
1155 if (found->backup_offset >= res_end) in vmw_resources_clean()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Diommu.c630 unsigned long res_start, unsigned long res_end) in iommu_table_reserve_pages() argument
634 WARN_ON_ONCE(res_end < res_start); in iommu_table_reserve_pages()
644 tbl->it_reserved_end = res_end; in iommu_table_reserve_pages()
647 if (res_start && res_end && in iommu_table_reserve_pages()
649 res_end < tbl->it_offset)) in iommu_table_reserve_pages()
676 unsigned long res_start, unsigned long res_end) in iommu_init_table() argument
695 iommu_table_reserve_pages(tbl, res_start, res_end); in iommu_init_table()
/kernel/linux/linux-5.10/arch/arm/kernel/
Dsetup.c850 phys_addr_t start, end, res_end; in request_standard_resources() local
867 res_end = end - 1; in request_standard_resources()
882 res->end = phys_to_idmap(res_end); in request_standard_resources()
893 res->end = res_end; in request_standard_resources()
/kernel/linux/linux-5.10/arch/parisc/kernel/
Dpci-dma.c230 for(; res_ptr < res_end; ++res_ptr) \
242 u##size *res_end = (u##size *)&pcxl_res_map[pcxl_res_size]; \
/kernel/linux/linux-5.10/arch/ia64/hp/common/
Dsba_iommu.c479 unsigned long *res_end = (unsigned long *) &(ioc->res_map[ioc->res_size]); in sba_search_bitmap() local
486 ASSERT(res_ptr < res_end); in sba_search_bitmap()
513 for(; res_ptr < res_end ; res_ptr++) { in sba_search_bitmap()
541 for(; res_ptr < res_end ; res_ptr++) in sba_search_bitmap()
570 end = res_end - qwords; in sba_search_bitmap()
/kernel/linux/linux-5.10/drivers/nvdimm/
Dregion_devs.c1290 resource_size_t res_end, region_end, region_start; in region_conflict() local
1299 res_end = ctx->start + ctx->size; in region_conflict()
1304 if (res_end > region_start && res_end <= region_end) in region_conflict()
/kernel/linux/linux-5.10/drivers/parisc/
Dsba_iommu.c340 unsigned long *res_end = (unsigned long *) &(ioc->res_map[ioc->res_size]); in sba_search_bitmap() local
357 for(; res_ptr < res_end; ++res_ptr) { in sba_search_bitmap()
389 while(res_ptr < res_end) in sba_search_bitmap()
415 if (res_end <= res_ptr) { in sba_search_bitmap()
Dccio-dma.c296 for(; res_ptr < res_end; ++res_ptr) { \
311 u##size *res_end = (u##size *)&(ioc)->res_map[ioa->res_size]; \
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Diommu.h156 int nid, unsigned long res_start, unsigned long res_end);
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Dpci-ioda.c1880 unsigned long res_start, res_end; in pnv_pci_ioda2_setup_default_config() local
1928 res_end = 0; in pnv_pci_ioda2_setup_default_config()
1931 res_end = min(window_size, SZ_4G) >> tbl->it_page_shift; in pnv_pci_ioda2_setup_default_config()
1933 iommu_init_table(tbl, pe->phb->hose->node, res_start, res_end); in pnv_pci_ioda2_setup_default_config()