Lines Matching refs:tsip
441 struct swapinfo *sip, *csip, *tsip; in swapctl() local
657 for (sip = swapinfo, tsip = csip, tpname = pname, nswap = 0; in swapctl()
659 sip = sip->si_next, tsip++, tpname += plen, nswap++) { in swapctl()
666 *tsip = *sip; in swapctl()
667 tsip->si_pname = tpname; in swapctl()
668 (void) strcpy(tsip->si_pname, sip->si_pname); in swapctl()
677 for (tsip = csip, cnt = 0; cnt < nswap; tsip++, ust++, cnt++) { in swapctl()
682 st.ste_flags = tsip->si_flags; in swapctl()
684 (tsip->si_eoff - tsip->si_soff) >> SCTRSHFT; in swapctl()
685 st.ste_start = tsip->si_soff >> SCTRSHFT; in swapctl()
686 st.ste_pages = tsip->si_npgs; in swapctl()
687 st.ste_free = tsip->si_nfpgs; in swapctl()
692 if (!tsip->si_pnamelen) in swapctl()
694 if (copyout(tsip->si_pname, st.ste_path, in swapctl()
695 tsip->si_pnamelen) != 0) { in swapctl()
777 struct swapinfo *sip, *csip, *tsip; in swapctl32() local
950 for (sip = swapinfo, tsip = csip, tpname = pname, nswap = 0; in swapctl32()
952 sip = sip->si_next, tsip++, tpname += plen, nswap++) { in swapctl32()
959 *tsip = *sip; in swapctl32()
960 tsip->si_pname = tpname; in swapctl32()
961 (void) strcpy(tsip->si_pname, sip->si_pname); in swapctl32()
970 for (tsip = csip, cnt = 0; cnt < nswap; tsip++, ust++, cnt++) { in swapctl32()
975 st.ste_flags = tsip->si_flags; in swapctl32()
977 (tsip->si_eoff - tsip->si_soff) >> SCTRSHFT; in swapctl32()
978 st.ste_start = tsip->si_soff >> SCTRSHFT; in swapctl32()
979 st.ste_pages = tsip->si_npgs; in swapctl32()
980 st.ste_free = tsip->si_nfpgs; in swapctl32()
985 if (!tsip->si_pnamelen) in swapctl32()
987 if (copyout(tsip->si_pname, in swapctl32()
989 tsip->si_pnamelen) != 0) { in swapctl32()