Searched refs:_msChunks (Results 1 – 3 of 3) sorted by relevance
40 struct msChunks *_msChunks = PTRRELOC(&msChunks); in chunk_to_addr() local42 return chunk << _msChunks->chunk_shift; in chunk_to_addr()49 struct msChunks *_msChunks = PTRRELOC(&msChunks); in addr_to_chunk() local51 return addr >> _msChunks->chunk_shift; in addr_to_chunk()58 struct msChunks *_msChunks = PTRRELOC(&msChunks); in chunk_offset() local60 return addr & _msChunks->chunk_mask; in chunk_offset()67 struct msChunks *_msChunks = PTRRELOC(&msChunks); in abs_chunk() local68 if ( pchunk >= _msChunks->num_chunks ) { in abs_chunk()71 return PTRRELOC(_msChunks->abs)[pchunk]; in abs_chunk()
237 struct msChunks *_msChunks = PTRRELOC(&msChunks); in msChunks_alloc() local239 _msChunks->num_chunks = num_chunks; in msChunks_alloc()240 _msChunks->chunk_size = chunk_size; in msChunks_alloc()241 _msChunks->chunk_shift = __ilog2(chunk_size); in msChunks_alloc()242 _msChunks->chunk_mask = (1UL<<_msChunks->chunk_shift)-1; in msChunks_alloc()245 _msChunks->abs = (msChunks_entry *)(mem + offset); in msChunks_alloc()
729 struct msChunks *_msChunks = PTRRELOC(&msChunks); in prom_initialize_mschunks() local749 PTRRELOC(_msChunks->abs)[pchunk++] = achunk++; in prom_initialize_mschunks() local766 PTRRELOC(_msChunks->abs)[pchunk++] = achunk++; in prom_initialize_mschunks() local779 struct msChunks *_msChunks = PTRRELOC(&msChunks); in prom_dump_mschunks_mapping() local784 prom_print_hex(_msChunks->num_chunks); in prom_dump_mschunks_mapping()787 prom_print_hex(_msChunks->chunk_size); in prom_dump_mschunks_mapping()790 prom_print_hex(_msChunks->chunk_shift); in prom_dump_mschunks_mapping()793 prom_print_hex(_msChunks->chunk_mask); in prom_dump_mschunks_mapping()796 prom_print_hex(_msChunks->abs); in prom_dump_mschunks_mapping()800 for(chunk=0; chunk < _msChunks->num_chunks ;chunk++) { in prom_dump_mschunks_mapping()[all …]