Searched refs:res_end (Results 1 – 12 of 12) sorted by relevance
/Linux-v6.6/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_page_dirty.c | 313 unsigned long res_end = res->guest_memory_offset + res->guest_memory_size; in vmw_bo_dirty_transfer_to_res() local 317 res_end = DIV_ROUND_UP(res_end, PAGE_SIZE); in vmw_bo_dirty_transfer_to_res() 319 if (res_start >= dirty->end || res_end <= dirty->start) in vmw_bo_dirty_transfer_to_res() 323 res_end = max(res_end, dirty->end); in vmw_bo_dirty_transfer_to_res() 324 while (cur < res_end) { in vmw_bo_dirty_transfer_to_res() 327 start = find_next_bit(&dirty->bitmap[0], res_end, cur); in vmw_bo_dirty_transfer_to_res() 328 if (start >= res_end) in vmw_bo_dirty_transfer_to_res() 331 end = find_next_zero_bit(&dirty->bitmap[0], res_end, start + 1); in vmw_bo_dirty_transfer_to_res() 338 if (res_start <= dirty->start && res_end > dirty->start) in vmw_bo_dirty_transfer_to_res() 339 dirty->start = res_end; in vmw_bo_dirty_transfer_to_res() [all …]
|
D | vmwgfx_resource.c | 1081 unsigned long res_end = end << PAGE_SHIFT; in vmw_resources_clean() local 1092 if (cur_res->guest_memory_offset >= res_end) { in vmw_resources_clean() 1127 if (found->guest_memory_offset >= res_end) in vmw_resources_clean()
|
/Linux-v6.6/arch/s390/boot/ |
D | kaslr.c | 113 struct reserved_range *res_end = res + res_count; in iterate_valid_positions() local 132 if (res >= res_end) in iterate_valid_positions()
|
/Linux-v6.6/arch/powerpc/kernel/ |
D | iommu.c | 687 unsigned long res_start, unsigned long res_end) in iommu_table_reserve_pages() argument 691 WARN_ON_ONCE(res_end < res_start); in iommu_table_reserve_pages() 703 if (res_end > (tbl->it_offset + tbl->it_size)) in iommu_table_reserve_pages() 704 res_end = tbl->it_offset + tbl->it_size; in iommu_table_reserve_pages() 707 if (res_start >= res_end) { in iommu_table_reserve_pages() 714 tbl->it_reserved_end = res_end; in iommu_table_reserve_pages() 725 unsigned long res_start, unsigned long res_end) in iommu_init_table() argument 743 iommu_table_reserve_pages(tbl, res_start, res_end); in iommu_init_table()
|
/Linux-v6.6/arch/arm/kernel/ |
D | setup.c | 857 phys_addr_t start, end, res_end; in request_standard_resources() local 874 res_end = end - 1; in request_standard_resources() 889 res->end = phys_to_idmap(res_end); in request_standard_resources() 900 res->end = res_end; in request_standard_resources()
|
/Linux-v6.6/arch/parisc/kernel/ |
D | pci-dma.c | 230 for(; res_ptr < res_end; ++res_ptr) \ 242 u##size *res_end = (u##size *)&pcxl_res_map[pcxl_res_size]; \
|
/Linux-v6.6/arch/ia64/hp/common/ |
D | sba_iommu.c | 479 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()
|
/Linux-v6.6/drivers/nvdimm/ |
D | region_devs.c | 1241 resource_size_t res_end, region_end, region_start; in region_conflict() local 1250 res_end = ctx->start + ctx->size; in region_conflict() 1255 if (res_end > region_start && res_end <= region_end) in region_conflict()
|
/Linux-v6.6/drivers/parisc/ |
D | sba_iommu.c | 345 unsigned long *res_end = (unsigned long *) &(ioc->res_map[ioc->res_size]); in sba_search_bitmap() local 362 for(; res_ptr < res_end; ++res_ptr) { in sba_search_bitmap() 394 while(res_ptr < res_end) in sba_search_bitmap() 420 if (res_end <= res_ptr) { in sba_search_bitmap()
|
D | ccio-dma.c | 285 for (; res_ptr < res_end; ++res_ptr) { \ 300 u##size *res_end = (u##size *)&(ioc)->res_map[ioa->res_size]; \
|
/Linux-v6.6/arch/powerpc/include/asm/ |
D | iommu.h | 157 int nid, unsigned long res_start, unsigned long res_end);
|
/Linux-v6.6/arch/powerpc/platforms/powernv/ |
D | pci-ioda.c | 1378 unsigned long res_start, res_end; in pnv_pci_ioda2_setup_default_config() local 1426 res_end = 0; in pnv_pci_ioda2_setup_default_config() 1429 res_end = min(window_size, SZ_4G) >> tbl->it_page_shift; in pnv_pci_ioda2_setup_default_config() 1433 if (iommu_init_table(tbl, pe->phb->hose->node, res_start, res_end)) in pnv_pci_ioda2_setup_default_config()
|