Searched refs:nswap (Results 1 – 11 of 11) sorted by relevance
/titanic_41/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_check.c | 109 int *nswap, in get_swapinfo() argument 119 if ((*nswap = swapctl(SC_GETNSWP, NULL)) < 0) { in get_swapinfo() 125 ((*nswap) * sizeof ((*swtpp)->swt_ent[0])); in get_swapinfo() 127 (*swtpp)->swt_n = *nswap; in get_swapinfo() 128 for (i = 0; (i < (*nswap)); ++i) in get_swapinfo() 132 if (((*nswap) = swapctl(SC_LIST, (*swtpp))) < 0) { in get_swapinfo() 153 int nswap; in meta_check_swapped() local 161 if (get_swapinfo(&swtp, &nswap, ep) != 0) in meta_check_swapped() 165 for (i = 0; ((i < nswap) && (rval == 0)); ++i) { in meta_check_swapped() 202 int nswap; in meta_check_driveswapped() local [all …]
|
/titanic_41/usr/src/uts/common/vm/ |
H A D | vm_swap.c | 448 int nswap; in swapctl() local 595 for (sip = swapinfo, nswap = 0; in swapctl() 596 sip != NULL && nswap < nswapfiles; in swapctl() 597 sip = sip->si_next, nswap++) { in swapctl() 657 for (sip = swapinfo, tsip = csip, tpname = pname, nswap = 0; in swapctl() 658 sip && nswap < tmp_nswapfiles; in swapctl() 659 sip = sip->si_next, tsip++, tpname += plen, nswap++) { in swapctl() 677 for (tsip = csip, cnt = 0; cnt < nswap; tsip++, ust++, cnt++) { in swapctl() 700 *rv = nswap; in swapctl() 784 int nswap; in swapctl32() local [all …]
|
/titanic_41/usr/src/uts/common/syscall/ |
H A D | rusagesys.c | 53 r.ru_nswap = p->p_ru.nswap; in getrusage() 74 r.ru_nswap += lwp->lwp_ru.nswap; in getrusage() 139 r.ru_nswap = p->p_cru.nswap; in getrusage_chld() 203 r.ru_nswap = lwp->lwp_ru.nswap; in getrusage_lwp()
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | klwp.h | 70 u_longlong_t nswap; /* swaps */ member
|
/titanic_41/usr/src/uts/common/os/ |
H A D | exit.c | 743 p->p_ru.nswap += p->p_cru.nswap; in proc_exit() 1272 p->p_nextofkin->p_cru.nswap += p->p_ru.nswap; in freeproc()
|
H A D | msacct.c | 827 p->p_ru.nswap += lwp->lwp_ru.nswap; in term_mstate()
|
H A D | sched.c | 695 lwp->lwp_ru.nswap++; in swapout() 874 lwp->lwp_ru.nswap++; in process_swap_queue()
|
H A D | exacct.c | 375 tu->tu_nswp += p->p_ru.nswap; in exacct_snapshot_task_usage() 426 tu->tu_nswp += p->p_ru.nswap; in exacct_update_task_mstate() 906 pu->pu_nswp += t->t_lwp->lwp_ru.nswap; in exacct_calculate_proc_mstate() 924 pu->pu_nswp = p->p_ru.nswap; in exacct_copy_proc_mstate() 1774 tu->tu_nswp = p->p_ru.nswap; in exacct_snapshot_proc_mstate()
|
/titanic_41/usr/src/uts/common/fs/proc/ |
H A D | prioctl.c | 1100 pup->pr_nswap = p->p_ru.nswap; in prioctl64() 1191 pup->pr_nswap = p->p_ru.nswap; in prioctl64() 2730 pup->pr_nswap = p->p_ru.nswap; in prioctl32() 2821 pup->pr_nswap = p->p_ru.nswap; in prioctl32()
|
H A D | prvnops.c | 1164 pup->pr_nswap = p->p_ru.nswap; in pr_read_usage() 1274 pup->pr_nswap = p->p_ru.nswap; in pr_read_lusage() 2189 pup->pr_nswap = p->p_ru.nswap; in pr_read_usage_32() 2299 pup->pr_nswap = p->p_ru.nswap; in pr_read_lusage_32()
|
H A D | prsubr.c | 2916 pup->pr_nswap = lwp->lwp_ru.nswap; in prgetusage() 3078 pup->pr_nswap += lwp->lwp_ru.nswap; in praddusage()
|