Lines Matching refs:mapsize
351 unsigned int i, num, mapsize, vmpagesz, vmmapsz, nbits;
476 mapsize = size = round_page(size); /* Get size of area to map that we just calculated */
477 mapsize = mapsize + kmapsize; /* Account for the kernel text size */
482 mapsize = mapsize + vmpagesz + vmmapsz; /* Add the VM system estimates into the grand total */
484 mapsize = mapsize + (4 * 1024 * 1024); /* Allow for 4 meg of extra mappings */
485 mapsize = ((mapsize / PAGE_SIZE) + MAPPERBLOK - 1) / MAPPERBLOK; /* Get number of blocks of mappings we need */
486 mapsize = mapsize + ((mapsize + MAPPERBLOK - 1) / MAPPERBLOK); /* Account for the mappings themselves */
488 size = size + (mapsize * PAGE_SIZE); /* Get the true size we need */