Home
last modified time | relevance | path

Searched refs:mend (Results 1 – 18 of 18) sorted by relevance

/linux-6.12.1/kernel/
Dkexec_core.c129 unsigned long mstart, mend; in sanity_check_segment_list() local
132 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list()
133 if (mstart > mend) in sanity_check_segment_list()
135 if ((mstart & ~PAGE_MASK) || (mend & ~PAGE_MASK)) in sanity_check_segment_list()
137 if (mend >= KEXEC_DESTINATION_MEMORY_LIMIT) in sanity_check_segment_list()
147 unsigned long mstart, mend; in sanity_check_segment_list() local
151 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list()
158 if ((mend > pstart) && (mstart < pend)) in sanity_check_segment_list()
201 unsigned long mstart, mend; in sanity_check_segment_list() local
204 mend = mstart + image->segment[i].memsz - 1; in sanity_check_segment_list()
[all …]
Dcrash_core.c170 unsigned long mstart, mend; in crash_prepare_elf64_headers() local
238 mend = mem->ranges[i].end; in crash_prepare_elf64_headers()
246 phdr->p_filesz = phdr->p_memsz = mend - mstart + 1; in crash_prepare_elf64_headers()
263 unsigned long long mstart, unsigned long long mend) in crash_exclude_mem_range() argument
272 p_end = mend; in crash_exclude_mem_range()
Dkexec_file.c545 phys_addr_t mstart, mend; in kexec_walk_memblock() local
560 &mstart, &mend, NULL) { in kexec_walk_memblock()
567 res.end = mend - 1; in kexec_walk_memblock()
574 &mstart, &mend, NULL) { in kexec_walk_memblock()
581 res.end = mend - 1; in kexec_walk_memblock()
/linux-6.12.1/arch/x86/kernel/
Dmachine_kexec_64.c90 unsigned long mstart, mend; in map_efi_systab() local
101 mend = mstart + sizeof(efi_system_table_64_t); in map_efi_systab()
103 mend = mstart + sizeof(efi_system_table_32_t); in map_efi_systab()
108 ret = kernel_ident_mapping_init(info, level4p, mstart, mend); in map_efi_systab()
112 kaddr = memremap(mstart, mend - mstart, MEMREMAP_WB); in map_efi_systab()
123 mend = mstart + sizeof(efi_config_table_64_t) * stbl->nr_tables; in map_efi_systab()
127 mend = mstart + sizeof(efi_config_table_32_t) * stbl->nr_tables; in map_efi_systab()
132 return kernel_ident_mapping_init(info, level4p, mstart, mend); in map_efi_systab()
227 unsigned long mstart, mend; in init_pgtable() local
245 mend = pfn_mapped[i].end << PAGE_SHIFT; in init_pgtable()
[all …]
Dcrash.c278 unsigned long long mend) in memmap_exclude_ranges() argument
283 cmem->ranges[0].end = mend; in memmap_exclude_ranges()
/linux-6.12.1/arch/powerpc/kexec/
Dranges.c215 u64 mstart, mend, end; in add_mem_range() local
228 mend = mem_rngs->ranges[i].end; in add_mem_range()
229 if (base < mend && end > mstart) { in add_mem_range()
232 if (end > mend) in add_mem_range()
639 u64 mstart, mend; in remove_mem_range() local
653 mend = mem_rngs->ranges[i].end; in remove_mem_range()
659 if (!(base >= mstart && end <= mend)) in remove_mem_range()
666 if (base == mstart && end == mend) { in remove_mem_range()
690 else if (end == mend) { in remove_mem_range()
/linux-6.12.1/arch/x86/power/
Dhibernate_64.c99 unsigned long mstart, mend; in set_up_temporary_mappings() local
116 mend = pfn_mapped[i].end << PAGE_SHIFT; in set_up_temporary_mappings()
118 result = kernel_ident_mapping_init(&info, pgd, mstart, mend); in set_up_temporary_mappings()
/linux-6.12.1/arch/powerpc/kernel/
Dfadump.c512 phys_addr_t mstart, mend; in fadump_locate_reserve_mem() local
518 &mstart, &mend, NULL) { in fadump_locate_reserve_mem()
520 i, mstart, mend, base); in fadump_locate_reserve_mem()
525 while ((mend > base) && ((mend - base) >= size)) { in fadump_locate_reserve_mem()
1009 unsigned long long i, ra_start, ra_end, ra_size, mstart, mend; in fadump_populate_elfcorehdr() local
1070 for_each_mem_range(i, &mstart, &mend) { in fadump_populate_elfcorehdr()
1073 if (mend > fw_dump.boot_mem_top) in fadump_populate_elfcorehdr()
1080 if ((ra_start < mend) && (ra_end > mstart)) { in fadump_populate_elfcorehdr()
1081 if ((mstart < ra_start) && (mend > ra_end)) { in fadump_populate_elfcorehdr()
1087 populate_elf_pt_load(phdr, ra_end, mend - ra_end, ra_end); in fadump_populate_elfcorehdr()
[all …]
/linux-6.12.1/arch/x86/kernel/acpi/
Dmadt_wakeup.c140 unsigned long mstart, mend; in acpi_mp_setup_reset() local
143 mend = pfn_mapped[i].end << PAGE_SHIFT; in acpi_mp_setup_reset()
144 if (kernel_ident_mapping_init(&info, pgd, mstart, mend)) { in acpi_mp_setup_reset()
/linux-6.12.1/arch/powerpc/mm/book3s64/
Dslice.c70 unsigned long mend = min(end, in slice_range_to_mask() local
73 ret->low_slices = (1u << (GET_LOW_SLICE_INDEX(mend) + 1)) in slice_range_to_mask()
146 unsigned long mend = min(end, in slice_check_range_fits() local
149 low_slices = (1u << (GET_LOW_SLICE_INDEX(mend) + 1)) in slice_check_range_fits()
/linux-6.12.1/include/linux/
Dcrash_core.h61 unsigned long long mend);
/linux-6.12.1/drivers/hwtracing/stm/
Dstm.h57 unsigned int *mstart, unsigned int *mend,
Dcore.c249 unsigned int *mstart, unsigned int mend, in stm_find_master_chan() argument
256 for (midx = *mstart; midx <= mend; midx++) { in stm_find_master_chan()
285 unsigned int midx, cidx, mend, cend; in stm_output_assign() local
299 stp_policy_node_get_ranges(policy_node, &midx, &mend, &cidx, &cend); in stm_output_assign()
307 ret = stm_find_master_chan(stm, width, &midx, mend, &cidx, cend); in stm_output_assign()
Dpolicy.c51 unsigned int *mstart, unsigned int *mend, in stp_policy_node_get_ranges() argument
55 *mend = policy_node->last_master; in stp_policy_node_get_ranges()
/linux-6.12.1/kernel/bpf/
Dlog.c633 }, *m1, *m2, *mend = &minmaxs[ARRAY_SIZE(minmaxs)]; in print_scalar_ranges() local
636 for (m1 = &minmaxs[0]; m1 < mend; m1++) { in print_scalar_ranges()
645 for (m2 = m1 + 2; m2 < mend; m2 += 2) { in print_scalar_ranges()
/linux-6.12.1/drivers/xen/
Dgntdev.c541 unsigned long mstart, mend; in gntdev_invalidate() local
560 mend = min(range->end, map_end); in gntdev_invalidate()
563 range->start, range->end, mstart, mend); in gntdev_invalidate()
565 (mend - mstart) >> PAGE_SHIFT); in gntdev_invalidate()
/linux-6.12.1/drivers/misc/
Dfastrpc.c191 u64 mend; member
555 ctx->olaps[i].mend = ctx->olaps[i].end; in fastrpc_get_buff_overlaps()
561 ctx->olaps[i].mend = 0; in fastrpc_get_buff_overlaps()
566 ctx->olaps[i].mend = ctx->olaps[i].end; in fastrpc_get_buff_overlaps()
896 size += (ctx->olaps[oix].mend - ctx->olaps[oix].mstart); in fastrpc_get_payload_size()
1011 mlen = ctx->olaps[oix].mend - ctx->olaps[oix].mstart; in fastrpc_get_args()
/linux-6.12.1/arch/powerpc/xmon/
Dxmon.c3197 static unsigned mend; variable
3210 scanhex((void *)&mend); in memlocate()
3220 for (a = mdest; a < mend; a += 4) { in memlocate()