snd_printk("gf1: DMA transfer failure; not enough memory\n"); 
snd_printk(KERN_ERR "gf1: DMA transfer failure; not enough memory\n"); 
int snd_gf1_dma_transfer_block(snd_gus_card_t * gus,			       snd_gf1_dma_block_t * __block,			       int atomic,			       int synth){	unsigned long flags;	snd_gf1_dma_block_t *block;	block = kmalloc(sizeof(*block), atomic ? GFP_ATOMIC : GFP_KERNEL);	if (block == NULL) {		snd_printk("gf1: DMA transfer failure; not enough memory\n");		return -ENOMEM;	}	*block = *__block;	block->next = NULL;#if 0	printk("addr = 0x%x, buffer = 0x%lx, count = 0x%x, cmd = 0x%x\n", block->addr, (long) block->buffer, block->count, block->cmd);#endif#if 0	printk("gus->gf1.dma_data_pcm_last = 0x%lx\n", (long)gus->gf1.dma_data_pcm_last);	printk("gus->gf1.dma_data_pcm = 0x%lx\n", (long)gus->gf1.dma_data_pcm);#endif	spin_lock_irqsave(&gus->dma_lock, flags);	if (synth) {		if (gus->gf1.dma_data_synth_last) {			gus->gf1.dma_data_synth_last->next = block;			gus->gf1.dma_data_synth_last = block;		} else {			gus->gf1.dma_data_synth = 			gus->gf1.dma_data_synth_last = block;		}	} else {		if (gus->gf1.dma_data_pcm_last) {			gus->gf1.dma_data_pcm_last->next = block;			gus->gf1.dma_data_pcm_last = block;		} else {			gus->gf1.dma_data_pcm = 			gus->gf1.dma_data_pcm_last = block;		}	}	if (!(gus->gf1.dma_flags & SNDRV_GF1_DMA_TRIGGER)) {		gus->gf1.dma_flags |= SNDRV_GF1_DMA_TRIGGER;		block = snd_gf1_dma_next_block(gus);		spin_unlock_irqrestore(&gus->dma_lock, flags);		if (block == NULL)			return 0;		snd_gf1_dma_program(gus, block->addr, block->buf_addr, block->count, (unsigned short) block->cmd);		kfree(block);		return 0;	}	spin_unlock_irqrestore(&gus->dma_lock, flags);	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/99b359ba10a582148c6725f428a33ba5356dd993/gus_dma.c/clean/sound/isa/gus/gus_dma.c