Lines Matching refs:j
170 for (int j = 0; j < z->count_pages; ++j, ++p) in mm_init() local
173 p->addr_phys = addr_start + PAGE_2M_SIZE * j; in mm_init()
213 for (ul j = 1; j <= mms_max_page; ++j) in mm_init() local
216 tmp_page = memory_management_struct.pages_struct + j; in mm_init()
337 for (ul j = page_start; j < page_end; j += ((j % 64) ? tmp : 64)) in alloc_pages() local
341 ul *p = memory_management_struct.bmp + (j >> 6); in alloc_pages()
343 ul shift = j % 64; in alloc_pages()
351 ul start_page_num = j + k - shift; // 计算得到要开始获取的内存页的页号 in alloc_pages()
485 for (int j = 0; j < z->count_pages; ++j) in page_table_init() local
601 for (ul j = page_start; j < page_end; j += ((j % 64) ? tmp : 64)) in mm_find_page() local
605 ul *p = memory_management_struct.bmp + (j >> 6); in mm_find_page()
607 ul shift = j % 64; in mm_find_page()
612 uint64_t page_num = j + k - shift; in mm_find_page()