/linux-6.1.9/drivers/firmware/efi/libstub/ ! |
D | randomalloc.c | 22 u64 first_slot, last_slot, region_end; in get_entry_num_slots() local 31 region_end = min(md->phys_addr + md->num_pages * EFI_PAGE_SIZE - 1, in get_entry_num_slots() 33 if (region_end < size) in get_entry_num_slots() 37 last_slot = round_down(region_end - size + 1, align); in get_entry_num_slots()
|
/linux-6.1.9/tools/testing/memblock/tests/ ! |
D | alloc_nid_api.c | 1257 ASSERT_EQ(new_rgn->base, region_end(req_node) - size); in alloc_try_nid_top_down_numa_simple_check() 1309 ASSERT_EQ(new_rgn->base, region_end(exp_node) - size); in alloc_try_nid_top_down_numa_small_node_check() 1363 ASSERT_EQ(new_rgn->base, region_end(exp_node) - size); in alloc_try_nid_top_down_numa_node_reserved_check() 1418 ASSERT_EQ(new_rgn->base, region_end(req_node) - size); in alloc_try_nid_top_down_numa_part_reserved_check() 1479 ASSERT_EQ(new_rgn->base, region_end(exp_node) - size); in alloc_try_nid_top_down_numa_part_reserved_fallback_check() 1524 req_node_end = region_end(req_node); in alloc_try_nid_top_down_numa_split_range_low_check() 1581 exp_node_end = region_end(exp_node); in alloc_try_nid_top_down_numa_split_range_high_check() 1648 ASSERT_EQ(new_rgn->base, region_end(req_node) - size); in alloc_try_nid_top_down_numa_no_overlap_split_check() 1695 max_addr = region_end(max_node); in alloc_try_nid_top_down_numa_no_overlap_low_check() 1751 max_addr = region_end(max_node); in alloc_try_nid_top_down_numa_no_overlap_high_check() [all …]
|
D | alloc_api.c | 325 phys_addr_t region_end; in alloc_small_gaps_generic_check() local 330 region_end = memblock_start_of_DRAM(); in alloc_small_gaps_generic_check() 332 while (region_end < memblock_end_of_DRAM()) { in alloc_small_gaps_generic_check() 333 memblock_reserve(region_end + gap_size, region_size); in alloc_small_gaps_generic_check() 334 region_end += gap_size + region_size; in alloc_small_gaps_generic_check()
|
D | common.h | 116 static inline phys_addr_t __maybe_unused region_end(struct memblock_region *rgn) in region_end() function
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/ ! |
D | dcn10_cm_common.c | 109 reg_region_cur <= reg->region_end; in cm_helper_program_xfer_func() 321 int32_t region_start, region_end; in cm_helper_translate_curve_to_hw_format() local 343 region_end = NUMBER_REGIONS - MAX_LOW_POINT; in cm_helper_translate_curve_to_hw_format() 362 region_end = 1; in cm_helper_translate_curve_to_hw_format() 365 for (i = region_end - region_start; i < MAX_REGIONS_NUMBER ; i++) in cm_helper_translate_curve_to_hw_format() 374 for (k = 0; k < (region_end - region_start); k++) { in cm_helper_translate_curve_to_hw_format() 390 start_index = (region_end + MAX_LOW_POINT) * NUMBER_SW_SEGMENTS; in cm_helper_translate_curve_to_hw_format() 406 dc_fixpt_from_int(region_end)); in cm_helper_translate_curve_to_hw_format() 518 int32_t region_start, region_end; in cm_helper_translate_curve_to_degamma_hw_format() local 533 region_end = 0; in cm_helper_translate_curve_to_degamma_hw_format() [all …]
|
D | dcn10_cm_common.h | 55 uint32_t region_end
|
D | dcn10_dpp_cm.c | 386 gam_regs.region_end = REG(CM_RGAM_RAMA_REGION_32_33); in dpp1_cm_program_regamma_luta_settings() 415 gam_regs.region_end = REG(CM_RGAM_RAMB_REGION_32_33); in dpp1_cm_program_regamma_lutb_settings() 539 gam_regs.region_end = REG(CM_DGAM_RAMB_REGION_14_15); in dpp1_program_degamma_lutb_settings() 568 gam_regs.region_end = REG(CM_DGAM_RAMA_REGION_14_15); in dpp1_program_degamma_luta_settings()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/ ! |
D | dcn30_cm_common.c | 86 reg_region_cur <= reg->region_end; in cm_helper_program_gamcor_xfer_func() 119 int32_t region_start, region_end; in cm3_helper_translate_curve_to_hw_format() local 142 region_end = NUMBER_REGIONS - MAX_LOW_POINT; in cm3_helper_translate_curve_to_hw_format() 161 region_end = 1; in cm3_helper_translate_curve_to_hw_format() 164 for (i = region_end - region_start; i < MAX_REGIONS_NUMBER ; i++) in cm3_helper_translate_curve_to_hw_format() 173 for (k = 0; k < (region_end - region_start); k++) { in cm3_helper_translate_curve_to_hw_format() 189 start_index = (region_end + MAX_LOW_POINT) * NUMBER_SW_SEGMENTS; in cm3_helper_translate_curve_to_hw_format() 205 dc_fixpt_from_int(region_end)); in cm3_helper_translate_curve_to_hw_format() 318 int32_t region_start, region_end; in cm3_helper_translate_curve_to_degamma_hw_format() local 333 region_end = 0; in cm3_helper_translate_curve_to_degamma_hw_format() [all …]
|
D | dcn30_dwb_cm.c | 108 gam_regs.region_end = REG(DWB_OGAM_RAMA_REGION_32_33); in dwb3_program_ogam_luta_settings() 141 gam_regs.region_end = REG(DWB_OGAM_RAMB_REGION_32_33); in dwb3_program_ogam_lutb_settings()
|
D | dcn30_dpp_cm.c | 260 gam_regs.region_end = REG(CM_GAMCOR_RAMB_REGION_32_33); in dpp3_program_gamcor_lut() 282 gam_regs.region_end = REG(CM_GAMCOR_RAMA_REGION_32_33); in dpp3_program_gamcor_lut()
|
/linux-6.1.9/drivers/mtd/parsers/ ! |
D | afs.c | 294 u32 region_end; in afs_parse_v2_partition() local 304 region_end = region_start + region_size; in afs_parse_v2_partition() 306 region_end += (mtd->erasesize - 1); in afs_parse_v2_partition() 307 region_end &= ~(mtd->erasesize -1); in afs_parse_v2_partition() 309 region_start, region_end); in afs_parse_v2_partition() 316 part->size = region_end - region_start; in afs_parse_v2_partition()
|
/linux-6.1.9/mm/kasan/ ! |
D | shadow.c | 459 unsigned long region_start, region_end; in kasan_release_vmalloc() local 463 region_end = ALIGN_DOWN(end, KASAN_MEMORY_PER_SHADOW_PAGE); in kasan_release_vmalloc() 473 if (end != region_end && in kasan_release_vmalloc() 474 free_region_end > region_end) in kasan_release_vmalloc() 475 region_end += KASAN_MEMORY_PER_SHADOW_PAGE; in kasan_release_vmalloc() 478 shadow_end = kasan_mem_to_shadow((void *)region_end); in kasan_release_vmalloc()
|
/linux-6.1.9/arch/parisc/kernel/ ! |
D | unwind.c | 63 else if (addr > e->region_end) in find_unwind_entry_in_table() 114 table->end = base_addr + end->region_end; in unwind_table_init() 121 start->region_end > (start+1)->region_start) { in unwind_table_init() 127 start->region_end += base_addr; in unwind_table_init() 202 __start___unwind[i].region_end); in unwind_init() 325 e->region_start, e->region_end, e->Save_SP, e->Save_RP, in unwind_frame_regs()
|
/linux-6.1.9/arch/x86/boot/compressed/ ! |
D | kaslr.c | 585 u64 region_end; in __process_mem_region() local 589 region_end = min(entry->start + entry->size, mem_limit); in __process_mem_region() 597 if (region.start > region_end) in __process_mem_region() 601 region.size = region_end - region.start; in __process_mem_region() 649 u64 start, end, entry_end, region_end; in process_mem_region() local 657 region_end = region->start + region->size; in process_mem_region() 660 entry_end = clamp(region_end, start, end); in process_mem_region()
|
/linux-6.1.9/arch/powerpc/mm/book3s64/ ! |
D | radix_pgtable.c | 43 unsigned long region_start, unsigned long region_end) in early_alloc_pgtable() argument 51 if (region_end) in early_alloc_pgtable() 52 max_addr = region_end; in early_alloc_pgtable() 74 unsigned long region_start, unsigned long region_end) in early_map_kernel_page() argument 87 region_start, region_end); in early_map_kernel_page() 97 region_end); in early_map_kernel_page() 107 region_start, region_end); in early_map_kernel_page() 126 unsigned long region_start, unsigned long region_end) in __map_kernel_page() argument 145 nid, region_start, region_end); in __map_kernel_page()
|
/linux-6.1.9/arch/parisc/include/asm/ ! |
D | unwind.h | 13 unsigned int region_end; member
|
/linux-6.1.9/drivers/nvdimm/ ! |
D | region_devs.c | 1194 resource_size_t res_end, region_end, region_start; in region_conflict() local 1205 region_end = region_start + nd_region->ndr_size; in region_conflict() 1206 if (ctx->start >= region_start && ctx->start < region_end) in region_conflict() 1208 if (res_end > region_start && res_end <= region_end) in region_conflict()
|
/linux-6.1.9/drivers/mtd/spi-nor/ ! |
D | core.c | 1247 u64 region_end = region_start + region->size; in spi_nor_find_erase_region() local 1249 while (addr < region_start || addr >= region_end) { in spi_nor_find_erase_region() 1255 region_end = region_start + region->size; in spi_nor_find_erase_region() 1326 u64 region_end; in spi_nor_init_erase_cmd_list() local 1333 region_end = spi_nor_region_end(region); in spi_nor_init_erase_cmd_list() 1357 if (len && addr >= region_end) { in spi_nor_init_erase_cmd_list() 1361 region_end = spi_nor_region_end(region); in spi_nor_init_erase_cmd_list()
|
/linux-6.1.9/include/uapi/linux/ ! |
D | firewire-cdev.h | 582 __u64 region_end; /* available since kernel version 2.6.36 */ member
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/ ! |
D | dcn20_mpc.c | 343 gam_regs.region_end = REG(MPCC_OGAM_RAMB_REGION_32_33[mpcc_id]); in mpc2_program_lutb() 370 gam_regs.region_end = REG(MPCC_OGAM_RAMA_REGION_32_33[mpcc_id]); in mpc2_program_luta()
|
D | dcn20_dpp_cm.c | 408 gam_regs.region_end = REG(CM_BLNDGAM_RAMA_REGION_32_33); in dpp20_program_blnd_luta_settings() 436 gam_regs.region_end = REG(CM_BLNDGAM_RAMB_REGION_32_33); in dpp20_program_blnd_lutb_settings()
|
/linux-6.1.9/drivers/gpu/drm/panfrost/ ! |
D | panfrost_mmu.c | 65 u64 region_end = region_start + size; in lock_region() local 78 region_width = max(fls64(region_start ^ (region_end - 1)), in lock_region()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce110/ ! |
D | dce110_hw_sequencer.c | 452 int32_t region_start, region_end; in dce110_translate_regamma_to_hw_format() local 469 region_end = region_start + NUMBER_REGIONS; in dce110_translate_regamma_to_hw_format() 482 region_end = 1; in dce110_translate_regamma_to_hw_format() 508 for (k = 0; k < (region_end - region_start); k++) { in dce110_translate_regamma_to_hw_format() 524 start_index = (region_end + MAX_LOW_POINT) * NUMBER_SW_SEGMENTS; in dce110_translate_regamma_to_hw_format() 532 dc_fixpt_from_int(region_end)); in dce110_translate_regamma_to_hw_format()
|
/linux-6.1.9/drivers/md/ ! |
D | dm-clone-target.c | 795 unsigned long region_start, region_end; in hydration_copy() local 805 region_end = region_start + nr_regions - 1; in hydration_copy() 809 if (region_end == clone->nr_regions - 1) { in hydration_copy()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/ ! |
D | dcn32_mpc.c | 189 gam_regs.region_end = REG(MPCC_MCM_1DLUT_RAMA_REGION_32_33[mpcc_id]); in mpc32_program_post1dluta_settings() 218 gam_regs.region_end = REG(MPCC_MCM_1DLUT_RAMB_REGION_32_33[mpcc_id]); in mpc32_program_post1dlutb_settings()
|