Searched refs:nswap (Results 1 - 11 of 11) sorted by relevance

/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_check.c109 int *nswap,
119 if ((*nswap = swapctl(SC_GETNSWP, NULL)) < 0) {
125 ((*nswap) * sizeof ((*swtpp)->swt_ent[0]));
127 (*swtpp)->swt_n = *nswap;
128 for (i = 0; (i < (*nswap)); ++i)
132 if (((*nswap) = swapctl(SC_LIST, (*swtpp))) < 0) {
153 int nswap; local
161 if (get_swapinfo(&swtp, &nswap, ep) != 0)
165 for (i = 0; ((i < nswap) && (rval == 0)); ++i) {
202 int nswap; local
107 get_swapinfo( struct swaptable **swtpp, int *nswap, md_error_t *ep ) argument
[all...]
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_swap.c448 int nswap; local
595 for (sip = swapinfo, nswap = 0;
596 sip != NULL && nswap < nswapfiles;
597 sip = sip->si_next, nswap++) {
657 for (sip = swapinfo, tsip = csip, tpname = pname, nswap = 0;
658 sip && nswap < tmp_nswapfiles;
659 sip = sip->si_next, tsip++, tpname += plen, nswap++) {
677 for (tsip = csip, cnt = 0; cnt < nswap; tsip++, ust++, cnt++) {
700 *rv = nswap;
784 int nswap; local
[all...]
/illumos-gate/usr/src/uts/common/syscall/
H A Drusagesys.c53 r.ru_nswap = p->p_ru.nswap;
74 r.ru_nswap += lwp->lwp_ru.nswap;
139 r.ru_nswap = p->p_cru.nswap;
203 r.ru_nswap = lwp->lwp_ru.nswap;
/illumos-gate/usr/src/uts/common/sys/
H A Dklwp.h70 u_longlong_t nswap; /* swaps */ member in struct:lrusage
/illumos-gate/usr/src/uts/common/os/
H A Dexit.c751 p->p_ru.nswap += p->p_cru.nswap;
1280 p->p_nextofkin->p_cru.nswap += p->p_ru.nswap;
H A Dsched.c695 lwp->lwp_ru.nswap++;
874 lwp->lwp_ru.nswap++;
H A Dmsacct.c819 p->p_ru.nswap += lwp->lwp_ru.nswap;
H A Dexacct.c375 tu->tu_nswp += p->p_ru.nswap;
426 tu->tu_nswp += p->p_ru.nswap;
906 pu->pu_nswp += t->t_lwp->lwp_ru.nswap;
924 pu->pu_nswp = p->p_ru.nswap;
1774 tu->tu_nswp = p->p_ru.nswap;
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprioctl.c1100 pup->pr_nswap = p->p_ru.nswap;
1191 pup->pr_nswap = p->p_ru.nswap;
2730 pup->pr_nswap = p->p_ru.nswap;
2821 pup->pr_nswap = p->p_ru.nswap;
H A Dprvnops.c1167 pup->pr_nswap = p->p_ru.nswap;
1277 pup->pr_nswap = p->p_ru.nswap;
2212 pup->pr_nswap = p->p_ru.nswap;
2322 pup->pr_nswap = p->p_ru.nswap;
H A Dprsubr.c2916 pup->pr_nswap = lwp->lwp_ru.nswap;
3078 pup->pr_nswap += lwp->lwp_ru.nswap;

Completed in 115 milliseconds