Lines Matching refs:msize
411 unsigned long msize) in add_boot_mem_regions() argument
417 max_size = fw_dump.max_copy_size ? fw_dump.max_copy_size : msize; in add_boot_mem_regions()
418 while (msize) { in add_boot_mem_regions()
419 if (msize > max_size) in add_boot_mem_regions()
422 rsize = msize; in add_boot_mem_regions()
428 msize -= rsize; in add_boot_mem_regions()
1128 u64 mbase, msize; in fadump_create_elfcore_headers() local
1131 msize = crash_mrange_info.mem_ranges[i].size; in fadump_create_elfcore_headers()
1132 if (!msize) in fadump_create_elfcore_headers()
1156 phdr->p_filesz = msize; in fadump_create_elfcore_headers()
1157 phdr->p_memsz = msize; in fadump_create_elfcore_headers()
1720 u64 i, mstart, mend, msize; in fadump_reserve_crash_area() local
1723 msize = mend - mstart; in fadump_reserve_crash_area()
1725 if ((mstart + msize) < base) in fadump_reserve_crash_area()
1729 msize -= (base - mstart); in fadump_reserve_crash_area()
1734 (msize >> 20), mstart); in fadump_reserve_crash_area()
1735 memblock_reserve(mstart, msize); in fadump_reserve_crash_area()