Searched refs:memory_management_struct (Results 1 – 5 of 5) sorted by relevance
17 struct memory_desc memory_management_struct = {{0}, 0}; variable51 memory_management_struct.kernel_code_start = (ul)&_text; in mm_init()52 memory_management_struct.kernel_code_end = (ul)&_etext; in mm_init()53 memory_management_struct.kernel_data_end = (ul)&_edata; in mm_init()54 memory_management_struct.rodata_end = (ul)&_erodata; in mm_init()55 memory_management_struct.start_brk = (ul)&_end; in mm_init()71 memory_management_struct.e820[i].BaseAddr = mb2_mem_info[i].addr; in mm_init()72 memory_management_struct.e820[i].Length = mb2_mem_info[i].len; in mm_init()73 memory_management_struct.e820[i].type = mb2_mem_info[i].type; in mm_init()74 memory_management_struct.len_e820 = i; in mm_init()[all …]
350 ul tmp_addr = memory_management_struct.end_of_struct; in slab_init()356 …kmalloc_cache_group[i].cache_pool_entry = (struct slab_obj *)memory_management_struct.end_of_struc… in slab_init()358 memory_management_struct.end_of_struct += sizeof(struct slab_obj) + (sizeof(ul) << 2); in slab_init()369 kmalloc_cache_group[i].cache_pool_entry->bmp = (ul *)memory_management_struct.end_of_struct; in slab_init()372 …memory_management_struct.end_of_struct = (ul)(memory_management_struct.end_of_struct + kmalloc_cac… in slab_init()387 ul tmp_page_mms_end = virt_2_phys(memory_management_struct.end_of_struct) >> PAGE_2M_SHIFT; in slab_init()393 page = memory_management_struct.pages_struct + i; in slab_init()395 *(memory_management_struct.bmp + (page_num >> 6)) |= (1UL << (page_num % 64)); in slab_init()408 …virt = (ul *)((memory_management_struct.end_of_struct + PAGE_2M_SIZE * i + PAGE_2M_SIZE - 1) & PAG… in slab_init()414 *(memory_management_struct.bmp + (page_num >> 6)) |= (1UL << (page_num % 64)); in slab_init()
65 result += (memory_management_struct.zones_struct + i)->count_pages_free; in __count_empty_2m_pages()109 result += (memory_management_struct.zones_struct + i)->count_pages_using; in __count_in_using_2m_pages()
43 #define Virt_To_2M_Page(kaddr) (memory_management_struct.pages_struct + (virt_2_phys(kaddr) >> PAGE…44 #define Phy_to_2M_Page(kaddr) (memory_management_struct.pages_struct + ((unsigned long)(kaddr) >> P…193 extern struct memory_desc memory_management_struct;
2 alloc_pages, free_pages, memory_management_struct, Page, PAGE_2M_SHIFT, PAGE_2M_SIZE,41 let pa = (memory_management_struct.pages_struct as usize in dma_dealloc()