Home
last modified time | relevance | path

Searched refs:htab_data (Results 1 – 6 of 6) sorted by relevance

/linux-2.4.37.9/arch/ppc64/kernel/
Dhtab.c63 HTAB htab_data = {NULL, 0, 0, 0, 0}; variable
105 HPTE *htab = (HPTE *)__v2a(htab_data.htab); in create_pte_mapping()
149 htab_data.htab_num_ptegs = pteg_count; in htab_initialize()
150 htab_data.htab_hash_mask = pteg_count - 1; in htab_initialize()
157 "r" (htab_data.htab_hash_mask)); in htab_initialize()
158 htab_data.htab_lock_shift = (64 - lock_shift) - 8; in htab_initialize()
169 htab_data.htab = (HPTE *)__a2v(table); in htab_initialize()
178 htab_data.htab = NULL; in htab_initialize()
400 slot = (hash & htab_data.htab_hash_mask) * HPTES_PER_GROUP; in __hash_page()
548 slot = (hash & htab_data.htab_hash_mask) * HPTES_PER_GROUP; in flush_hash_page()
[all …]
DiSeries_setup.c495 htab_data.htab_num_ptegs = num_ptegs; in build_iSeries_Memory_Map()
496 htab_data.htab_hash_mask = num_ptegs - 1; in build_iSeries_Memory_Map()
503 asm ("cntlzd %0,%1" : "=r" (lock_shift) : "r" (htab_data.htab_hash_mask)); in build_iSeries_Memory_Map()
504 htab_data.htab_lock_shift = (64 - lock_shift) - 8; in build_iSeries_Memory_Map()
507 htab_data.htab = NULL; in build_iSeries_Memory_Map()
Dsetup.c44 extern HTAB htab_data;
177 printk("htab_data.htab = 0x%p\n", htab_data.htab); in setup_system()
178 printk("htab_data.num_ptegs = 0x%lx\n", htab_data.htab_num_ptegs); in setup_system()
/linux-2.4.37.9/arch/ppc64/xmon/
Dxmon.c2221 hpteg_slot_primary = ( primary_hash & htab_data.htab_hash_mask ) * HPTES_PER_GROUP; in mem_translate()
2222 hpteg_slot_secondary = ( ~primary_hash & htab_data.htab_hash_mask ) * HPTES_PER_GROUP; in mem_translate()
2234 hpte = htab_data.htab + hpteg_slot_primary; in mem_translate()
2236 printf("htab base : %.16lx\n", htab_data.htab); in mem_translate()
2263 hpte = htab_data.htab + hpteg_slot_secondary; in mem_translate()
2305 htab_size_bytes = htab_data.htab_num_ptegs * 128; // 128B / PTEG in mem_check()
2306 htab_end = (unsigned long)htab_data.htab + htab_size_bytes; in mem_check()
2311 printf("htab base : %.16lx\n", htab_data.htab); in mem_check()
2315 for(hpte1 = htab_data.htab; hpte1 < (HPTE *)htab_end; hpte1++) { in mem_check()
2355 htab_size_bytes = htab_data.htab_num_ptegs * 128; // 128B / PTEG in mem_find_real()
[all …]
/linux-2.4.37.9/include/asm-ppc64/
Dmmu.h180 extern HTAB htab_data;
/linux-2.4.37.9/arch/ppc64/mm/
Dinit.c261 make_pte(htab_data.htab, in map_io_page()
265 htab_data.htab_hash_mask, 0); in map_io_page()