Lines Matching refs:mods_count
806 if ( !(mbi->flags & MBI_MODULES) || (mbi->mods_count == 0) ) in __start_xen()
915 nr_initial_images = mbi->mods_count; in __start_xen()
930 for ( i = 0; !efi_enabled(EFI_LOADER) && i < mbi->mods_count; i++ ) in __start_xen()
947 mod[mbi->mods_count].mod_start = virt_to_mfn(_stext); in __start_xen()
948 mod[mbi->mods_count].mod_end = __2M_rwdata_end - _stext; in __start_xen()
992 mod, mbi->mods_count, -1); in __start_xen()
1125 for ( j = mbi->mods_count - 1; j >= 0; j-- ) in __start_xen()
1135 mbi->mods_count + relocated, j); in __start_xen()
1162 mbi->mods_count + relocated, -1); in __start_xen()
1177 for ( i = 0; i < mbi->mods_count; ++i ) in __start_xen()
1233 for ( j = 0; j < mbi->mods_count; ++j ) in __start_xen()
1309 for ( i = 0; i < mbi->mods_count; ++i ) in __start_xen()
1505 module_map = xmalloc_array(unsigned long, BITS_TO_LONGS(mbi->mods_count)); in __start_xen()
1506 bitmap_fill(module_map, mbi->mods_count); in __start_xen()
1674 initrdidx = find_first_bit(module_map, mbi->mods_count); in __start_xen()
1675 if ( bitmap_weight(module_map, mbi->mods_count) > 1 ) in __start_xen()
1700 (initrdidx > 0) && (initrdidx < mbi->mods_count) in __start_xen()