static void * r1buf_pool_alloc(unsigned int __nocast gfp_flags, void *data) 
static void * r1buf_pool_alloc(gfp_t gfp_flags, void *data) 
static void * r1buf_pool_alloc(unsigned int __nocast gfp_flags, void *data){	struct pool_info *pi = data;	struct page *page;	r1bio_t *r1_bio;	struct bio *bio;	int i, j;	r1_bio = r1bio_pool_alloc(gfp_flags, pi);	if (!r1_bio) {		unplug_slaves(pi->mddev);		return NULL;	}	/*	 * Allocate bios : 1 for reading, n-1 for writing	 */	for (j = pi->raid_disks ; j-- ; ) {		bio = bio_alloc(gfp_flags, RESYNC_PAGES);		if (!bio)			goto out_free_bio;		r1_bio->bios[j] = bio;	}	/*	 * Allocate RESYNC_PAGES data pages and attach them to	 * the first bio;	 */	bio = r1_bio->bios[0];	for (i = 0; i < RESYNC_PAGES; i++) {		page = alloc_page(gfp_flags);		if (unlikely(!page))			goto out_free_pages;		bio->bi_io_vec[i].bv_page = page;	}	r1_bio->master_bio = NULL;	return r1_bio;out_free_pages:	for ( ; i > 0 ; i--)		__free_page(bio->bi_io_vec[i-1].bv_page);out_free_bio:	while ( ++j < pi->raid_disks )		bio_put(r1_bio->bios[j]);	r1bio_pool_free(r1_bio, data);	return NULL;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/dd0fc66fb33cd610bc1a5db8a5e232d34879b4d7/raid1.c/clean/drivers/md/raid1.c