Lines Matching refs:swapinfo
106 struct swapinfo *swapinfo; variable
108 static struct swapinfo *silast;
111 static u_offset_t swap_getoff(struct swapinfo *);
114 static int swapslot_free(struct vnode *, u_offset_t, struct swapinfo *);
146 struct swapinfo *sip; in swap_phys_alloc()
171 sip = swapinfo; in swap_phys_alloc()
203 silast = swapinfo; in swap_phys_alloc()
218 swap_getoff(struct swapinfo *sip) in swap_getoff()
315 struct swapinfo *sip; in swap_phys_free()
319 sip = swapinfo; in swap_phys_free()
375 struct swapinfo *sip; in swap_in_range()
382 sip = swapinfo; in swap_in_range()
408 struct swapinfo **sipp, *osip; in swapdel_byname()
420 for (sipp = &swapinfo; (osip = *sipp) != NULL; sipp = &osip->si_next) { in swapdel_byname()
441 struct swapinfo *sip, *csip, *tsip; in swapctl()
595 for (sip = swapinfo, nswap = 0; in swapctl()
641 csip = kmem_zalloc(tmp_nswapfiles * sizeof (struct swapinfo), in swapctl()
653 tmp_nswapfiles * sizeof (struct swapinfo)); in swapctl()
657 for (sip = swapinfo, tsip = csip, tpname = pname, nswap = 0; in swapctl()
702 kmem_free(csip, tmp_nswapfiles * sizeof (struct swapinfo)); in swapctl()
777 struct swapinfo *sip, *csip, *tsip; in swapctl32()
890 for (sip = swapinfo, nswap = 0; in swapctl32()
950 for (sip = swapinfo, tsip = csip, tpname = pname, nswap = 0; in swapctl32()
1075 struct swapinfo **sipp, *nsip = NULL, *esip = NULL; in swapadd()
1212 nsip = kmem_zalloc(sizeof (struct swapinfo), KM_SLEEP); in swapadd()
1250 for (sipp = &swapinfo; (esip = *sipp) != NULL; sipp = &esip->si_next) { in swapadd()
1367 struct swapinfo **sipp, *osip = NULL; in swapdel()
1386 for (sipp = &swapinfo; (osip = *sipp) != NULL; sipp = &osip->si_next) { in swapdel()
1526 for (sipp = &swapinfo; *sipp != NULL; sipp = &(*sipp)->si_next) { in swapdel()
1534 silast = swapinfo; in swapdel()
1568 struct swapinfo *sip) in swapslot_free()