Home
last modified time | relevance | path

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

/netbsd-src/sys/uvm/
H A Duvm_pgflcache.c115 struct pgflbucket *pgb; in uvm_pgflcache_fill() local
132 pgb = uvm.page_free[fl].pgfl_buckets[b]; in uvm_pgflcache_fill()
133 head = &pgb->pgb_colors[c]; in uvm_pgflcache_fill()
153 pgb->pgb_nfree -= (count - pcc->count); in uvm_pgflcache_fill()
168 struct pgflbucket *pgb; in uvm_pgflcache_spill() local
180 pgb = pgfl->pgfl_buckets[b]; in uvm_pgflcache_spill()
181 head = &pgb->pgb_colors[c]; in uvm_pgflcache_spill()
191 pgb->pgb_nfree += adj; in uvm_pgflcache_spill()
H A Duvm_page.c311 uvm_page_init_bucket(struct pgfreelist *pgfl, struct pgflbucket *pgb, int num) in uvm_page_init_bucket() argument
315 pgb->pgb_nfree = 0; in uvm_page_init_bucket()
317 LIST_INIT(&pgb->pgb_colors[i]); in uvm_page_init_bucket()
319 pgfl->pgfl_buckets[num] = pgb; in uvm_page_init_bucket()
333 struct pgflbucket *pgb; in uvm_page_init() local
415 pgb = (struct pgflbucket *)(bucketarray + bucketsize * fl); in uvm_page_init()
416 uvm_page_init_bucket(&uvm.page_free[fl], pgb, 0); in uvm_page_init()
1007 struct pgflbucket *pgb; in uvm_pagealloc_pgb() local
1016 pgb = uvm.page_free[f].pgfl_buckets[b]; in uvm_pagealloc_pgb()
1017 if (pgb->pgb_nfree == 0) { in uvm_pagealloc_pgb()
[all …]
H A Duvm_pglist.c87 struct pgflbucket *pgb; in uvm_pglist_add() local
90 pgb = pgfl->pgfl_buckets[uvm_page_get_bucket(pg)]; in uvm_pglist_add()
94 LIST_FOREACH(tp, &pgb->pgb_colors[VM_PGCOLOR(pg)], pageq.list) { in uvm_pglist_add()
102 pgb->pgb_nfree--; in uvm_pglist_add()