Home
last modified time | relevance | path

Searched refs:memguard_mapsize (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/vm/
H A Dmemguard.c114 static vm_size_t memguard_mapsize; variable
122 &memguard_mapsize, 0, "MemGuard private arena size");
193 memguard_mapsize = round_page(parent_size / vm_memguard_divisor); in memguard_fudge()
194 if (memguard_mapsize / (2 * PAGE_SIZE) > mem_pgs) in memguard_fudge()
195 memguard_mapsize = mem_pgs * 2 * PAGE_SIZE; in memguard_fudge()
196 if (km_size + memguard_mapsize > parent_size) in memguard_fudge()
197 memguard_mapsize = 0; in memguard_fudge()
198 return (km_size + memguard_mapsize); in memguard_fudge()
211 vmem_alloc(parent, memguard_mapsize, M_BESTFIT | M_WAITOK, &base); in memguard_init()
212 vmem_init(memguard_arena, "memguard arena", base, memguard_mapsize, in memguard_init()
[all …]