Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/kernel/
Dmachine_kexec_64.c45 unsigned long mstart, mend; in mem_region_callback() local
48 mend = mstart + resource_size(res) - 1; in mem_region_callback()
50 return kernel_ident_mapping_init(data->info, data->level4p, mstart, mend); in mem_region_callback()
92 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 return kernel_ident_mapping_init(info, level4p, mstart, mend); in map_efi_systab()
203 unsigned long mstart, mend; in init_pgtable() local
221 mend = pfn_mapped[i].end << PAGE_SHIFT; in init_pgtable()
224 level4p, mstart, mend); in init_pgtable()
[all …]
Dcrash.c304 unsigned long long mend) in memmap_exclude_ranges() argument
309 cmem->ranges[0].end = mend; in memmap_exclude_ranges()
/linux-6.1.9/kernel/
Dkexec_core.c170 unsigned long mstart, mend; in sanity_check_segment_list() local
173 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list()
174 if (mstart > mend) in sanity_check_segment_list()
176 if ((mstart & ~PAGE_MASK) || (mend & ~PAGE_MASK)) in sanity_check_segment_list()
178 if (mend >= KEXEC_DESTINATION_MEMORY_LIMIT) in sanity_check_segment_list()
188 unsigned long mstart, mend; in sanity_check_segment_list() local
192 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list()
199 if ((mend > pstart) && (mstart < pend)) in sanity_check_segment_list()
241 unsigned long mstart, mend; in sanity_check_segment_list() local
244 mend = mstart + image->segment[i].memsz - 1; in sanity_check_segment_list()
[all …]
Dkexec_file.c524 phys_addr_t mstart, mend; in kexec_walk_memblock() local
537 &mstart, &mend, NULL) { in kexec_walk_memblock()
544 res.end = mend - 1; in kexec_walk_memblock()
551 &mstart, &mend, NULL) { in kexec_walk_memblock()
558 res.end = mend - 1; in kexec_walk_memblock()
1140 unsigned long long mstart, unsigned long long mend) in crash_exclude_mem_range() argument
1150 p_end = mend; in crash_exclude_mem_range()
1152 if (mstart > end || mend < start) in crash_exclude_mem_range()
1158 if (mend > end) in crash_exclude_mem_range()
1230 unsigned long mstart, mend; in crash_prepare_elf64_headers() local
[all …]
/linux-6.1.9/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.1.9/arch/powerpc/kexec/
Dranges.c211 u64 mstart, mend, end; in add_mem_range() local
224 mend = mem_rngs->ranges[i].end; in add_mem_range()
225 if (base < mend && end > mstart) { in add_mem_range()
228 if (end > mend) in add_mem_range()
/linux-6.1.9/arch/powerpc/kernel/
Dfadump.c506 phys_addr_t mstart, mend; in fadump_locate_reserve_mem() local
512 &mstart, &mend, NULL) { in fadump_locate_reserve_mem()
514 i, mstart, mend, base); in fadump_locate_reserve_mem()
519 while ((mend > base) && ((mend - base) >= size)) { in fadump_locate_reserve_mem()
1719 u64 i, mstart, mend, msize; in fadump_reserve_crash_area() local
1721 for_each_mem_range(i, &mstart, &mend) { in fadump_reserve_crash_area()
1722 msize = mend - mstart; in fadump_reserve_crash_area()
/linux-6.1.9/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.1.9/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.1.9/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.1.9/include/linux/
Dkexec.h255 unsigned long long mend);
/linux-6.1.9/drivers/misc/
Dfastrpc.c174 u64 mend; member
511 ctx->olaps[i].mend = ctx->olaps[i].end; in fastrpc_get_buff_overlaps()
517 ctx->olaps[i].mend = 0; in fastrpc_get_buff_overlaps()
522 ctx->olaps[i].mend = ctx->olaps[i].end; in fastrpc_get_buff_overlaps()
839 size += (ctx->olaps[oix].mend - ctx->olaps[oix].mstart); in fastrpc_get_payload_size()
950 mlen = ctx->olaps[oix].mend - ctx->olaps[oix].mstart; in fastrpc_get_args()
/linux-6.1.9/arch/powerpc/xmon/
Dxmon.c3200 static unsigned mend; variable
3213 scanhex((void *)&mend); in memlocate()
3223 for (a = mdest; a < mend; a += 4) { in memlocate()