Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/kernel/
H A Dmachine_kexec_64.c45 unsigned long mstart, mend; in mem_region_callback() local
48 mend = mstart + resource_size(res) - 1; 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()
237 mend = mstart + image->segment[i].memsz; in init_pgtable()
[all …]
H A Dcrash.c262 unsigned long long mend) in memmap_exclude_ranges() argument
267 cmem->ranges[0].end = mend; in memmap_exclude_ranges()
/openbmc/linux/kernel/
H A Dkexec_core.c168 unsigned long mstart, mend; in sanity_check_segment_list() local
171 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list()
172 if (mstart > mend) in sanity_check_segment_list()
186 unsigned long mstart, mend; in sanity_check_segment_list() local
190 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list()
197 if ((mend > pstart) && (mstart < pend)) in sanity_check_segment_list()
239 unsigned long mstart, mend; in sanity_check_segment_list() local
293 unsigned long mstart, mend; in kimage_is_destination_range() local
296 mend = mstart + image->segment[i].memsz; in kimage_is_destination_range()
297 if ((end > mstart) && (start < mend)) in kimage_is_destination_range()
[all …]
H A Dcrash_core.c333 unsigned long mstart, mend; in crash_prepare_elf64_headers() local
401 mend = mem->ranges[i].end; in crash_prepare_elf64_headers()
409 phdr->p_filesz = phdr->p_memsz = mend - mstart + 1; in crash_prepare_elf64_headers()
424 unsigned long long mstart, unsigned long long mend) in crash_exclude_mem_range() argument
434 p_end = mend; in crash_exclude_mem_range()
436 if (mstart > end || mend < start) in crash_exclude_mem_range()
442 if (mend > end) in crash_exclude_mem_range()
H A Dkexec_file.c527 phys_addr_t mstart, mend; in kexec_walk_memblock() local
540 &mstart, &mend, NULL) { in kexec_walk_memblock()
547 res.end = mend - 1; in kexec_walk_memblock()
554 &mstart, &mend, NULL) { in kexec_walk_memblock()
561 res.end = mend - 1; in kexec_walk_memblock()
/openbmc/linux/arch/x86/power/
H A 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()
/openbmc/linux/arch/powerpc/kexec/
H A 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()
/openbmc/linux/arch/powerpc/kernel/
H A 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()
1720 u64 i, mstart, mend, msize; in fadump_reserve_crash_area() local
1722 for_each_mem_range(i, &mstart, &mend) { in fadump_reserve_crash_area()
1723 msize = mend - mstart; in fadump_reserve_crash_area()
/openbmc/linux/arch/powerpc/mm/book3s64/
H A 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()
/openbmc/linux/drivers/hwtracing/stm/
H A Dstm.h57 unsigned int *mstart, unsigned int *mend,
H A 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()
H A 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()
/openbmc/linux/include/linux/
H A Dcrash_core.h100 unsigned long long mend);
/openbmc/linux/drivers/xen/
H A 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()
/openbmc/linux/drivers/misc/
H A Dfastrpc.c190 u64 mend; member
554 ctx->olaps[i].mend = ctx->olaps[i].end; in fastrpc_get_buff_overlaps()
560 ctx->olaps[i].mend = 0; in fastrpc_get_buff_overlaps()
565 ctx->olaps[i].mend = ctx->olaps[i].end; in fastrpc_get_buff_overlaps()
895 size += (ctx->olaps[oix].mend - ctx->olaps[oix].mstart); in fastrpc_get_payload_size()
1007 mlen = ctx->olaps[oix].mend - ctx->olaps[oix].mstart; in fastrpc_get_args()
/openbmc/linux/arch/powerpc/xmon/
H A Dxmon.c3199 static unsigned mend; variable
3212 scanhex((void *)&mend); in memlocate()
3222 for (a = mdest; a < mend; a += 4) { in memlocate()