Searched refs:mempages (Results 1 – 8 of 8) sorted by relevance
1181 static void __init dcache_init(unsigned long mempages) in dcache_init() argument1205 mempages >>= (13 - PAGE_SHIFT); in dcache_init()1207 mempages *= sizeof(struct list_head); in dcache_init()1208 for (order = 0; ((1UL << order) << PAGE_SHIFT) < mempages; order++) in dcache_init()1271 void __init vfs_caches_init(unsigned long mempages) in vfs_caches_init() argument1299 dcache_init(mempages); in vfs_caches_init()1300 inode_init(mempages); in vfs_caches_init()1301 files_init(mempages); in vfs_caches_init()1302 mnt_init(mempages); in vfs_caches_init()
193 void __init files_init(unsigned long mempages) in files_init() argument200 n = (mempages * (PAGE_SIZE / 1024)) / 10; in files_init()
1299 void __init inode_init(unsigned long mempages) in inode_init() argument1306 mempages >>= (14 - PAGE_SHIFT); in inode_init()1307 mempages *= sizeof(struct list_head); in inode_init()1308 for (order = 0; ((1UL << order) << PAGE_SHIFT) < mempages; order++) in inode_init()
2856 void __init buffer_init(unsigned long mempages) in buffer_init() argument2864 mempages >>= 14; in buffer_init()2866 mempages *= sizeof(struct buffer_head *); in buffer_init()2868 for (order = 0; (1 << order) < mempages; order++) in buffer_init()
1020 void __init mnt_init(unsigned long mempages) in mnt_init() argument
71 void __init fork_init(unsigned long mempages) in fork_init() argument78 max_threads = mempages / (THREAD_SIZE/PAGE_SIZE) / 8; in fork_init()
3370 void __init page_cache_init(unsigned long mempages) in page_cache_init() argument3374 htable_size = mempages; in page_cache_init()
210 extern void files_init(unsigned long mempages);