int i810_mmap_buffers(struct file *filp, struct vm_area_struct *vma) 
static int i810_mmap_buffers(struct file *filp, struct vm_area_struct *vma) 
int i810_mmap_buffers(struct file *filp, struct vm_area_struct *vma){	drm_file_t	    *priv	  = filp->private_data;	drm_device_t	    *dev;	drm_i810_private_t  *dev_priv;	drm_buf_t           *buf;	drm_i810_buf_priv_t *buf_priv;	lock_kernel();	dev	 = priv->head->dev;	dev_priv = dev->dev_private;	buf      = dev_priv->mmap_buffer;	buf_priv = buf->dev_private;	vma->vm_flags |= (VM_IO | VM_DONTCOPY);	vma->vm_file = filp;   	buf_priv->currently_mapped = I810_BUF_MAPPED;	unlock_kernel();	if (io_remap_pfn_range(vma, vma->vm_start,			     VM_OFFSET(vma) >> PAGE_SHIFT,			     vma->vm_end - vma->vm_start,			     vma->vm_page_prot)) return -EAGAIN;	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/c94f70298529d99ac6e1ee7709f61eab00adeb39/i810_dma.c/clean/drivers/char/drm/i810_dma.c