HomeSort by: relevance | last modified time | path
    Searched defs:uvmexp (Results 1 - 13 of 13) sorted by relevancy

  /src/lib/libc/gen/
sysconf.c 83 struct uvmexp_sysctl uvmexp; local in function:__weak_alias
387 len = sizeof(uvmexp);
390 return (sysctl(mib, 2, &uvmexp, &len, NULL, 0) == -1 ? -1
391 : (long)(uvmexp.free));
  /src/sys/uvm/
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_extern.h 309 * uvmexp: global data structures that are exported to parts of the kernel
313 struct uvmexp { struct
519 extern struct uvmexp uvmexp;
  /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/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/usr.bin/systat/
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));
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...]
  /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...]
t_uvm_physseg_load.c 125 struct uvmexp uvmexp; /* decl */ variable in typeref:struct:uvmexp
316 uvmexp.pagesize = PAGE_SIZE;
317 uvmexp.npages = 0;
  /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/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...]

Completed in 17 milliseconds