dbg(__FUNCTION__); 
dbg("%s", __FUNCTION__); 
static int au1000_mmap(struct file *file, struct vm_area_struct *vma){	struct au1000_state *s = (struct au1000_state *)file->private_data;	struct dmabuf  *db;	unsigned long   size;	int ret = 0;	dbg(__FUNCTION__);    	lock_kernel();	down(&s->sem);	if (vma->vm_flags & VM_WRITE)		db = &s->dma_dac;	else if (vma->vm_flags & VM_READ)		db = &s->dma_adc;	else {		ret = -EINVAL;		goto out;	}	if (vma->vm_pgoff != 0) {		ret = -EINVAL;		goto out;	}	size = vma->vm_end - vma->vm_start;	if (size > (PAGE_SIZE << db->buforder)) {		ret = -EINVAL;		goto out;	}	if (remap_pfn_range(vma, vma->vm_start, virt_to_phys(db->rawbuf),			     size, vma->vm_page_prot)) {		ret = -EAGAIN;		goto out;	}	vma->vm_flags &= ~VM_IO;	db->mapped = 1;out:	up(&s->sem);	unlock_kernel();	return ret;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/f65d9bea8692d7343e4636763f291408f025834f/au1000.c/clean/sound/oss/au1000.c