Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/kernel/
Dmachine_kexec_64.c43 unsigned long mstart, mend; in mem_region_callback() local
46 mend = mstart + resource_size(res) - 1; in mem_region_callback()
48 return kernel_ident_mapping_init(data->info, data->level4p, mstart, mend); in mem_region_callback()
90 unsigned long mstart, mend; in map_efi_systab() local
99 mend = mstart + sizeof(efi_system_table_64_t); in map_efi_systab()
101 mend = mstart + sizeof(efi_system_table_32_t); in map_efi_systab()
106 return kernel_ident_mapping_init(info, level4p, mstart, mend); in map_efi_systab()
201 unsigned long mstart, mend; in init_pgtable() local
219 mend = pfn_mapped[i].end << PAGE_SHIFT; in init_pgtable()
222 level4p, mstart, mend); in init_pgtable()
[all …]
Dcrash.c317 unsigned long long mend) in memmap_exclude_ranges() argument
322 cmem->ranges[0].end = mend; in memmap_exclude_ranges()
/kernel/linux/linux-5.10/kernel/
Dkexec_core.c169 unsigned long mstart, mend; in sanity_check_segment_list() local
172 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list()
173 if (mstart > mend) in sanity_check_segment_list()
175 if ((mstart & ~PAGE_MASK) || (mend & ~PAGE_MASK)) in sanity_check_segment_list()
177 if (mend >= KEXEC_DESTINATION_MEMORY_LIMIT) in sanity_check_segment_list()
187 unsigned long mstart, mend; in sanity_check_segment_list() local
191 mend = mstart + image->segment[i].memsz; in sanity_check_segment_list()
198 if ((mend > pstart) && (mstart < pend)) in sanity_check_segment_list()
240 unsigned long mstart, mend; in sanity_check_segment_list() local
243 mend = mstart + image->segment[i].memsz - 1; in sanity_check_segment_list()
[all …]
Dkexec_file.c553 phys_addr_t mstart, mend; in kexec_walk_memblock() local
561 &mstart, &mend, NULL) { in kexec_walk_memblock()
568 res.end = mend - 1; in kexec_walk_memblock()
575 &mstart, &mend, NULL) { in kexec_walk_memblock()
582 res.end = mend - 1; in kexec_walk_memblock()
1177 unsigned long long mstart, unsigned long long mend) in crash_exclude_mem_range() argument
1187 p_end = mend; in crash_exclude_mem_range()
1189 if (mstart > end || mend < start) in crash_exclude_mem_range()
1195 if (mend > end) in crash_exclude_mem_range()
1267 unsigned long mstart, mend; in crash_prepare_elf64_headers() local
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dfadump.c494 phys_addr_t mstart, mend; in fadump_locate_reserve_mem() local
500 &mstart, &mend, NULL) { in fadump_locate_reserve_mem()
502 i, mstart, mend, base); in fadump_locate_reserve_mem()
507 while ((mend > base) && ((mend - base) >= size)) { in fadump_locate_reserve_mem()
1692 u64 i, mstart, mend, msize; in fadump_reserve_crash_area() local
1694 for_each_mem_range(i, &mstart, &mend) { in fadump_reserve_crash_area()
1695 msize = mend - mstart; in fadump_reserve_crash_area()
/kernel/linux/linux-5.10/arch/powerpc/mm/
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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/xen/
Dgntdev.c470 unsigned long mstart, mend; in gntdev_invalidate() local
487 mend = min(range->end, map->vma->vm_end); in gntdev_invalidate()
491 range->start, range->end, mstart, mend); in gntdev_invalidate()
494 (mend - mstart) >> PAGE_SHIFT); in gntdev_invalidate()
/kernel/linux/linux-5.10/drivers/misc/
Dfastrpc.c137 u64 mend; member
421 ctx->olaps[i].mend = ctx->olaps[i].end; in fastrpc_get_buff_overlaps()
427 ctx->olaps[i].mend = 0; in fastrpc_get_buff_overlaps()
432 ctx->olaps[i].mend = ctx->olaps[i].end; in fastrpc_get_buff_overlaps()
731 size += (ctx->olaps[oix].mend - ctx->olaps[oix].mstart); in fastrpc_get_payload_size()
836 mlen = ctx->olaps[oix].mend - ctx->olaps[oix].mstart; in fastrpc_get_args()
/kernel/linux/linux-5.10/include/linux/
Dkexec.h223 unsigned long long mend);
/kernel/linux/linux-5.10/arch/powerpc/xmon/
Dxmon.c3131 static unsigned mend; variable
3144 scanhex((void *)&mend); in memlocate()
3154 for (a = mdest; a < mend; a += 4) { in memlocate()
/kernel/linux/linux-5.10/drivers/media/usb/uvc/
Duvc_ctrl.c2236 const struct uvc_control_mapping *mend = in uvc_ctrl_init_ctrl() local
2265 for (; mapping < mend; ++mapping) { in uvc_ctrl_init_ctrl()