DRM_MMAP

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

drm_mmap -  

SYNOPSIS

"SYNOPSIS"

int drm_mmap (struct file * filp, struct vm_area_struct * vma);  

ARGUMENTS

filp
-- undescribed --
vma
-- undescribed --
 

DESCRIPTION

\param filp file pointer. \param vma virtual memory area. \return zero on success or a negative number on failure.

If the virtual memory area has no offset associated with it then it's a DMA area, so calls mmap_dma. Otherwise searches the map in drm_device::maplist, checks that the restricted flag is not set, sets the virtual memory operations according to the mapping type and remaps the pages. Finally sets the file pointer and calls vm_open.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:05 GMT, October 09, 2005