/* * Now the hash list */ for (hash_order = 0; ((PAGE_SIZE << hash_order) / sizeof(void *)) < HASH_SIZE; hash_order++); hash_table = (struct metapage **) __get_free_pages(GFP_KERNEL, hash_order); assert(hash_table); memset(hash_table, 0, PAGE_SIZE << hash_order); 
int __init metapage_init(void){	/*	 * Allocate the metapage structures	 */	metapage_cache = kmem_cache_create("jfs_mp", sizeof(struct metapage),					   0, 0, init_once, NULL);	if (metapage_cache == NULL)		return -ENOMEM;	metapage_mempool = mempool_create(METAPOOL_MIN_PAGES, mempool_alloc_slab,					  mempool_free_slab, metapage_cache);	if (metapage_mempool == NULL) {		kmem_cache_destroy(metapage_cache);		return -ENOMEM;	}	/*	 * Now the hash list	 */	for (hash_order = 0;	     ((PAGE_SIZE << hash_order) / sizeof(void *)) < HASH_SIZE;	     hash_order++);	hash_table =	    (struct metapage **) __get_free_pages(GFP_KERNEL, hash_order);	assert(hash_table);	memset(hash_table, 0, PAGE_SIZE << hash_order);	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/7fab479bebb96b1b4888bdae9b42e1fa9c5d3f38/jfs_metapage.c/clean/fs/jfs/jfs_metapage.c