ALLOC_PAGEDIR
Section: (9)
Updated: 09 October 2005
Index
Return to Main Contents
NAME
alloc_pagedir - Allocate the page directory.
SYNOPSIS
"SYNOPSIS"
struct pbe * alloc_pagedir (unsigned nr_pages);
ARGUMENTS
- nr_pages
-
-- undescribed --
DESCRIPTION
First, determine exactly how many pages we need and
allocate them.
WE ARRANGE THE PAGES IN A CHAIN
each page is an array of PBES_PER_PAGE
struct pbe elements (pbes) and the last element in the page points
to the next page.
On each page we set up a list of struct_pbe elements.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
- WE ARRANGE THE PAGES IN A CHAIN
-
This document was created by
man2html,
using the manual pages.
Time: 00:01:55 GMT, October 09, 2005