HomeSort by: relevance | last modified time | path
    Searched refs:uvmexp (Results 1 - 25 of 79) sorted by relevancy

1 2 3 4

  /src/sys/uvm/
uvm_stat.c 79 uvmexp.pagesize, uvmexp.pagesize, uvmexp.pagemask,
80 uvmexp.pageshift, uvmexp.ncolors);
82 uvmexp.npages, active, inactive, uvmexp.wired, freepg);
86 uvmexp.freemin, uvmexp.freetarg, uvmexp.wiredmax)
    [all...]
uvm_meter.c 77 * sysctl helper routine for the vm.uvmexp node.
106 u.pagesize = uvmexp.pagesize;
107 u.pagemask = uvmexp.pagemask;
108 u.pageshift = uvmexp.pageshift;
109 u.npages = uvmexp.npages;
112 u.paging = uvmexp.paging;
113 u.wired = uvmexp.wired;
114 u.reserve_pagedaemon = uvmexp.reserve_pagedaemon;
115 u.reserve_kernel = uvmexp.reserve_kernel;
116 u.freemin = uvmexp.freemin
    [all...]
uvm_init.c 60 struct uvmexp uvmexp; /* decl */ variable in typeref:struct:uvmexp
64 const int * const uvmexp_pagesize = &uvmexp.pagesize;
65 const int * const uvmexp_pagemask = &uvmexp.pagemask;
66 const int * const uvmexp_pageshift = &uvmexp.pageshift;
98 if (uvmexp.pagesize == 0) {
uvm_pdaemon.c 150 if (curlwp == uvm.pagedaemon_lwp && uvmexp.paging == 0) {
178 UVM_UNLOCK_AND_WAIT(&uvmexp.free, &uvmpd_lock, false, wmsg, timo);
191 if (fpages + uvmexp.paging < uvmexp.freemin ||
192 (fpages + uvmexp.paging < uvmexp.freetarg &&
218 val = uvmexp.npages / 200;
224 if (val < uvmexp.reserve_kernel + 1)
225 val = uvmexp.reserve_kernel + 1;
226 uvmexp.freemin = val
    [all...]
uvm_page.c 316 for (i = 0; i < uvmexp.ncolors; i++) {
387 if (uvmexp.ncolors == 0)
388 uvmexp.ncolors = 1;
389 uvmexp.colormask = uvmexp.ncolors - 1;
390 KASSERT((uvmexp.colormask & uvmexp.ncolors) == 0);
406 bucketsize = offsetof(struct pgflbucket, pgb_colors[uvmexp.ncolors]);
457 uvmexp.reserve_pagedaemon = 1;
458 uvmexp.reserve_kernel = vm_page_reserve_kernel
    [all...]
uvm_swap.c 276 uvmexp.nswapdev = 0;
368 uvmexp.nswapdev++;
398 uvmexp.nswapdev--;
528 * [can also be obtained with uvmexp sysctl]
531 const int nswapdev = uvmexp.nswapdev;
794 if (misc == 0 || uvmexp.nswapdev == 0)
798 if ((size_t)misc > (size_t)uvmexp.nswapdev)
799 misc = uvmexp.nswapdev;
1032 uvmexp.swpages += size;
1033 uvmexp.swpgavail += size
    [all...]
uvm_pager.c 93 if (__predict_true(emergva != 0 && emerg_ncolors >= uvmexp.ncolors))
99 round_page(MAXPHYS) + ptoa(uvmexp.ncolors), ptoa(uvmexp.ncolors),
114 emerg_ncolors = uvmexp.ncolors;
260 // KASSERT(!((VM_PAGE_TO_PHYS(pp) ^ cva) & uvmexp.colormask));
303 if ((kva & ~ptoa(uvmexp.colormask)) == emergva) {
486 atomic_add_int(&uvmexp.swpgonly, npages);
494 atomic_dec_uint(&uvmexp.pdpending);
  /src/sys/compat/linux32/common/
linux32_sysinfo.c 83 si.freeram = (u_long)uvm_availmem(true) * uvmexp.pagesize;
89 si.bufferram = (u_long)(filepg * uvmexp.pagesize);
90 si.totalswap = (u_long)uvmexp.swpages * uvmexp.pagesize;
92 (u_long)(uvmexp.swpages - uvmexp.swpginuse) * uvmexp.pagesize;
  /src/usr.bin/systat/
vmstat.c 64 struct uvmexp_sysctl uvmexp; member in struct:Info
424 struct uvmexp_sysctl *uvmexp; member in struct:show_vmstat_top::__anone611bd440108
427 us.uvmexp = uvm;
428 us1.uvmexp = uvm1;
440 PUTRATE(us, us1, uvmexp->swtch, GENSTATROW + 1, GENSTATCOL - 1, 7);
441 PUTRATE(us, us1, uvmexp->traps, GENSTATROW + 1, GENSTATCOL + 7, 6);
442 PUTRATE(us, us1, uvmexp->syscalls, GENSTATROW + 1, GENSTATCOL + 14, 6);
443 PUTRATE(us, us1, uvmexp->intrs, GENSTATROW + 1, GENSTATCOL + 21, 5);
444 PUTRATE(us, us1, uvmexp->softs, GENSTATROW + 1, GENSTATCOL + 27, 6);
445 PUTRATE(us, us1, uvmexp->faults, GENSTATROW + 1, GENSTATCOL + 34, 6)
    [all...]
bufcache.c 83 static struct uvmexp_sysctl uvmexp; variable in typeref:struct:uvmexp_sysctl
148 ((bufmem * 100.0) + 0.5) / getpagesize() / uvmexp.npages);
153 pgwidth, uvmexp.filepages,
154 kbwidth, uvmexp.filepages * getpagesize() / 1024,
155 (uvmexp.filepages * 100 + 0.5) / uvmexp.npages);
160 pgwidth, uvmexp.execpages,
161 kbwidth, uvmexp.execpages * getpagesize() / 1024,
162 (uvmexp.execpages * 100 + 0.5) / uvmexp.npages)
    [all...]
syscall.c 58 struct uvmexp_sysctl uvmexp; member in struct:Info
203 show_vmstat_top(&s.Total, &s.uvmexp, &s1.uvmexp);
430 size = sizeof(stats->uvmexp);
433 if (sysctl(mib, 2, &stats->uvmexp, &size, NULL, 0) < 0) {
434 error("can't get uvmexp: %s\n", strerror(errno));
435 memset(&stats->uvmexp, 0, sizeof(stats->uvmexp));
  /src/sys/external/bsd/drm2/include/linux/
mm.h 66 si->totalram = uvmexp.npages;
77 return uvmexp.free;
93 return uvmexp.npages;
100 return uvmexp.npages;
shrinker.h 76 return uvmexp.swpages;
  /src/usr.bin/vmstat/
vmstat.c 254 struct uvmexp_sysctl uvmexp, ouvmexp; variable in typeref:struct:uvmexp_sysctl
765 struct uvmexp uvmexp_kernel;
773 #define COPY(field) uvmexp.field = uvmexp_kernel.field
787 size = sizeof(uvmexp);
788 if (sysctl(uvmexp2_mib, __arraycount(uvmexp2_mib), &uvmexp,
803 rate(uvmexp.pdreact - ouvmexp.pdreact));
805 rate(uvmexp.pageins - ouvmexp.pageins));
807 rate(uvmexp.pgswapout - ouvmexp.pgswapout));
809 rate(uvmexp.pdfreed - ouvmexp.pdfreed));
811 rate(uvmexp.pdscans - ouvmexp.pdscans))
    [all...]
  /src/regress/sys/uvm/pdsim/
pdsim.c 40 struct uvmexp uvmexp; variable in typeref:struct:uvmexp
73 uvmexp.free--;
74 uvmexp.filepages++;
103 uvmexp.filepages--;
106 uvmexp.free++;
150 uvmexp.npages = n;
167 uvmexp.freetarg = 1;
168 while (uvmexp.free < uvmexp.freetarg)
    [all...]
pdsim.h 93 struct uvmexp { struct
106 extern struct uvmexp uvmexp;
  /src/sys/fs/tmpfs/
tmpfs_mem.c 90 * Remember to remove uvmexp.freetarg from the returned value to avoid
98 size += uvmexp.swpgavail;
100 size -= uvmexp.swpgonly;
103 size += uvmexp.filepages;
104 if (size > uvmexp.wired) {
105 size -= uvmexp.wired;
116 int freetarg = uvmexp.freetarg; // XXX unlocked
  /src/tests/sys/uvm/
t_uvm_physseg.c 121 struct uvmexp uvmexp; /* decl */ variable in typeref:struct:uvmexp
274 * This macro was added to convert uvmexp.npages from int to psize_t
285 uvmexp.pagesize = PAGE_SIZE;
286 uvmexp.npages = 0;
492 ATF_REQUIRE_EQ(0, uvmexp.npages);
497 ATF_REQUIRE_EQ(0, uvmexp.npages);
506 , INT_TO_PSIZE_T(uvmexp.npages));
515 + npages3, INT_TO_PSIZE_T(uvmexp.npages));
559 ATF_REQUIRE_EQ(0, uvmexp.npages); /* Boot time sanity *
    [all...]
  /src/libexec/rpc.rstatd/
rstat_proc.c 181 struct uvmexp_sysctl uvmexp; local in function:updatestat
236 len = sizeof(uvmexp);
237 if (sysctl(mib, 2, &uvmexp, &len, NULL, 0) < 0) {
241 stats_all.s3.v_pgpgin = uvmexp.fltanget;
242 stats_all.s3.v_pgpgout = uvmexp.pdpageouts;
243 stats_all.s3.v_pswpin = uvmexp.swapins;
244 stats_all.s3.v_pswpout = uvmexp.swapouts;
245 stats_all.s3.v_intr = uvmexp.intrs;
246 stats_all.s3.v_swtch = uvmexp.swtch;
  /src/sys/rump/librump/rumpkern/
vm.c 88 struct uvmexp uvmexp; variable in typeref:struct:uvmexp
92 const int * const uvmexp_pagesize = &uvmexp.pagesize;
93 const int * const uvmexp_pagemask = &uvmexp.pagemask;
94 const int * const uvmexp_pageshift = &uvmexp.pageshift;
359 uvmexp.npages = physmem;
361 uvmexp.npages = pdlimit >> PAGE_SHIFT;
362 uvmexp.reserve_pagedaemon = PDRESERVE >> PAGE_SHIFT;
363 uvmexp.freetarg = (rump_physmemlimit-dddlim) >> PAGE_SHIFT;
366 * uvmexp.free is not used internally or updated. The reason i
    [all...]
  /src/sys/ufs/chfs/
chfs_subr.c 78 size += uvmexp.swpgavail;
80 size -= uvmexp.swpgonly;
83 size += uvmexp.filepages;
84 if (size > uvmexp.wired) {
85 size -= uvmexp.wired;
  /src/sys/arch/alpha/alpha/
dec_550.c 79 uvmexp.ncolors = atop(2 * 1024 * 1024);
dec_eb164.c 74 uvmexp.ncolors = atop(2 * 1024 * 1024);
dec_eb64plus.c 85 uvmexp.ncolors = atop(1 * 1024 * 1024);
  /src/sys/miscfs/procfs/
procfs_linux.c 191 PGTOB(uvmexp.npages),
192 PGTOB(uvmexp.npages - freepg),
197 PGTOB(uvmexp.swpages),
198 PGTOB(uvmexp.swpginuse),
199 PGTOB(uvmexp.swpages - uvmexp.swpginuse),
200 PGTOKB(uvmexp.npages),
205 PGTOKB(uvmexp.swpages),
206 PGTOKB(uvmexp.swpages - uvmexp.swpginuse))
    [all...]

Completed in 22 milliseconds

1 2 3 4