if (sgl) memset(sgl, 0, sgp->size); 
static struct scatterlist *scsi_alloc_sgtable(struct scsi_cmnd *cmd, int gfp_mask){	struct scsi_host_sg_pool *sgp;	struct scatterlist *sgl;	BUG_ON(!cmd->use_sg);	switch (cmd->use_sg) {	case 1 ... 8:		cmd->sglist_len = 0;		break;	case 9 ... 16:		cmd->sglist_len = 1;		break;	case 17 ... 32:		cmd->sglist_len = 2;		break;#if (SCSI_MAX_PHYS_SEGMENTS > 32)	case 33 ... 64:		cmd->sglist_len = 3;		break;#if (SCSI_MAX_PHYS_SEGMENTS > 64)	case 65 ... 128:		cmd->sglist_len = 4;		break;#if (SCSI_MAX_PHYS_SEGMENTS  > 128)	case 129 ... 256:		cmd->sglist_len = 5;		break;#endif#endif#endif	default:		return NULL;	}	sgp = scsi_sg_pools + cmd->sglist_len;	sgl = mempool_alloc(sgp->pool, gfp_mask);	if (sgl)		memset(sgl, 0, sgp->size);	return sgl;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/0f34e3f53378a11c9ecba0f8165da50e8b01d53f/scsi_lib.c/buggy/drivers/scsi/scsi_lib.c