Home | History | Annotate | Download | only in uvm

Lines Matching defs:ucpu

113 uvm_pgflcache_fill(struct uvm_cpu *ucpu, int fl, int b, int c)
123 KASSERT(ucpu->pgflbucket == b);
126 if (__predict_false((pc = ucpu->pgflcache[fl]) == NULL)) {
166 uvm_pgflcache_spill(struct uvm_cpu *ucpu, int fl, int c)
176 pc = ucpu->pgflcache[fl];
179 b = ucpu->pgflbucket;
204 uvm_pgflcache_alloc(struct uvm_cpu *ucpu, int fl, int c)
211 if (__predict_false((pc = ucpu->pgflcache[fl]) == NULL)) {
224 KASSERT(uvm_page_get_bucket(pg) == ucpu->pgflbucket);
237 uvm_pgflcache_free(struct uvm_cpu *ucpu, struct vm_page *pg)
243 KASSERT(uvm_page_get_bucket(pg) == ucpu->pgflbucket);
247 if (__predict_false((pc = ucpu->pgflcache[fl]) == NULL)) {
256 uvm_pgflcache_spill(ucpu, fl, c);
273 struct uvm_cpu *ucpu;
276 ucpu = ci->ci_data.cpu_uvm;
277 KASSERT(ucpu->pgflcachemem == NULL);
278 KASSERT(ucpu->pgflcache[0] == NULL);
281 ucpu->pgflcachememsz =
283 ucpu->pgflcachemem = kmem_zalloc(ucpu->pgflcachememsz, KM_SLEEP);
295 struct uvm_cpu *ucpu;
298 ucpu = curcpu()->ci_data.cpu_uvm;
302 uvm_pgflcache_spill(ucpu, fl, color);
304 ucpu->pgflcache[fl] = NULL;
337 struct uvm_cpu *ucpu;
362 ucpu = ci->ci_data.cpu_uvm;
363 addr = roundup2((uintptr_t)ucpu->pgflcachemem, coherency_unit);
365 ucpu->pgflcache[fl] = (struct pgflcache *)addr;
418 uvm_pgflcache_alloc(struct uvm_cpu *ucpu, int fl, int c)
425 uvm_pgflcache_free(struct uvm_cpu *ucpu, struct vm_page *pg)
432 uvm_pgflcache_fill(struct uvm_cpu *ucpu, int fl, int b, int c)