Searched refs:kern_size (Results 1 – 4 of 4) sorted by relevance
74 unsigned long dest_kern_start, source_start, source_end, kern_size; in copy_kernel() local78 kern_size = source_end - source_start; in copy_kernel()82 memcpy((void *)dest_kern_start, (void *)source_start, kern_size); in copy_kernel()
401 unsigned long user_size, kern_size; in dma_mmap() local410 kern_size = (c->vm_end - c->vm_start) >> PAGE_SHIFT; in dma_mmap()412 if (off < kern_size && in dma_mmap()413 user_size <= (kern_size - off)) { in dma_mmap()
153 unsigned long kern_size __read_mostly;1738 kern_size = (unsigned long)&_end - (unsigned long)KERNBASE; in paging_init()1781 memblock_reserve(kern_base, kern_size); in paging_init()1882 if (paddr >= kern_base && paddr < (kern_base + kern_size)) in page_in_phys_avail()1963 last = PAGE_ALIGN(kern_size) + addr; in mem_init()
17 extern unsigned long kern_base, kern_size;