Lines Matching refs:OLDMEM_SIZE
149 if (OLDMEM_BASE && from - OLDMEM_BASE < OLDMEM_SIZE) { in copy_oldmem_kernel()
151 len = min(count, OLDMEM_SIZE - from); in copy_oldmem_kernel()
152 } else if (OLDMEM_BASE && from < OLDMEM_SIZE) { in copy_oldmem_kernel()
153 len = min(count, OLDMEM_SIZE - from); in copy_oldmem_kernel()
192 if (OLDMEM_BASE && from - OLDMEM_BASE < OLDMEM_SIZE) { in copy_oldmem_user()
194 len = min(count, OLDMEM_SIZE - from); in copy_oldmem_user()
195 } else if (OLDMEM_BASE && from < OLDMEM_SIZE) { in copy_oldmem_user()
196 len = min(count, OLDMEM_SIZE - from); in copy_oldmem_user()
244 if (pfn < OLDMEM_SIZE >> PAGE_SHIFT) { in remap_oldmem_pfn_range_kdump()
245 size_old = min(size, OLDMEM_SIZE - (pfn << PAGE_SHIFT)); in remap_oldmem_pfn_range_kdump()
645 oldmem_region.size = OLDMEM_SIZE; in elfcorehdr_alloc()
646 oldmem_type.total_size = OLDMEM_SIZE; in elfcorehdr_alloc()