Section: VM Functions (9)
MAP_NR - get memory map index for page in kernel memory
This macro maps the page of kernel memory to an index into the
array. The input page is kernel-space page addresses such as those
that come from the
function. The expression
returns a pointer to a
for the page in question.
Device drivers need access to the page structure if it is implimenting
some special kind of memory segment, i.e. cache for a virtual frame buffer.
Returns an index into the
Stephen Williams <email@example.com>
There is no check that the page you are passing really is a valid page