Searched refs:kern_size (Results 1 – 4 of 4) sorted by relevance
77 unsigned long dest_kern_start, source_start, source_end, kern_size; in copy_kernel() local81 kern_size = source_end - source_start; in copy_kernel()85 memcpy((void *)dest_kern_start, (void *)source_start, kern_size); in copy_kernel()
313 unsigned long flags, user_size, kern_size; in dma_mmap() local326 kern_size = (c->vm_end - c->vm_start) >> PAGE_SHIFT; in dma_mmap()328 if (off < kern_size && in dma_mmap()329 user_size <= (kern_size - off)) { in dma_mmap()
153 unsigned long kern_size __read_mostly;1718 kern_size = (unsigned long)&_end - (unsigned long)KERNBASE; in paging_init()1761 lmb_reserve(kern_base, kern_size); in paging_init()1859 if (paddr >= kern_base && paddr < (kern_base + kern_size)) in page_in_phys_avail()1940 last = PAGE_ALIGN(kern_size) + addr; in mem_init()
17 extern unsigned long kern_base, kern_size;