Searched refs:dmapages (Results 1 – 5 of 5) sorted by relevance
138 u_int64_t dmapages; in bufinit() local141 dmapages = uvm_pagecount(&dma_constraint); in bufinit()143 dmapages -= (atop(physmem) - atop(uvmexp.free)); in bufinit()157 if (highpages > dmapages / 4) in bufinit()176 bufpages = dmapages * bufcachepercent / 100; in bufinit()179 KASSERT(bufpages < dmapages); in bufinit()187 buflowpages = dmapages * 5 / 100; in bufinit()264 npages = bcstats.dmapages - targetpages; in bufadjust()271 if (bcstats.dmapages > targetpages) in bufadjust()272 (void) bufcache_recover_dmapages(0, bcstats.dmapages - targetpages); in bufadjust()[all …]
285 bcstats.dmapages += atop(size); in buf_alloc_pages()314 bcstats.dmapages--; in buf_free_pages()369 bcstats.dmapages -= atop(bp->b_bufsize); in buf_realloc_pages()387 bcstats.dmapages += atop(bp->b_bufsize); in buf_realloc_pages()
727 u_int64_t dmapages; in kern_sysctl_locked() local738 dmapages = uvm_pagecount(&dma_constraint); in kern_sysctl_locked()740 pgs = bufcachepercent * dmapages / 100; in kern_sysctl_locked()
258 print_fld_ssize(FLD_IO_SVAL, bccur.dmapages); in showbcache()
481 int64_t dmapages; /* dma reachable pages in buffer cache */ member