static inline struct bio_vec *bvec_alloc_bs(unsigned int __nocast gfp_mask, int nr, unsigned long *idx, struct bio_set *bs) 
static inline struct bio_vec *bvec_alloc_bs(gfp_t gfp_mask, int nr, unsigned long *idx, struct bio_set *bs) 
static inline struct bio_vec *bvec_alloc_bs(unsigned int __nocast gfp_mask, int nr, unsigned long *idx, struct bio_set *bs){	struct bio_vec *bvl;	struct biovec_slab *bp;	/*	 * see comment near bvec_array define!	 */	switch (nr) {		case   1        : *idx = 0; break;		case   2 ...   4: *idx = 1; break;		case   5 ...  16: *idx = 2; break;		case  17 ...  64: *idx = 3; break;		case  65 ... 128: *idx = 4; break;		case 129 ... BIO_MAX_PAGES: *idx = 5; break;		default:			return NULL;	}	/*	 * idx now points to the pool we want to allocate from	 */	bp = bvec_slabs + *idx;	bvl = mempool_alloc(bs->bvec_pools[*idx], gfp_mask);	if (bvl)		memset(bvl, 0, bp->nr_vecs * sizeof(struct bio_vec));	return bvl;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/dd0fc66fb33cd610bc1a5db8a5e232d34879b4d7/bio.c/buggy/fs/bio.c