Lines Matching refs:swapinfo
111 extern struct swapinfo *swapinfo;
113 static struct swapinfo *silast;
116 static u_offset_t swap_getoff(struct swapinfo *);
119 static int swapslot_free(struct vnode *, u_offset_t, struct swapinfo *);
151 struct swapinfo *sip; in swap_phys_alloc()
176 sip = swapinfo; in swap_phys_alloc()
208 silast = swapinfo; in swap_phys_alloc()
223 swap_getoff(struct swapinfo *sip) in swap_getoff()
320 struct swapinfo *sip; in swap_phys_free()
324 sip = swapinfo; in swap_phys_free()
380 struct swapinfo *sip; in swap_in_range()
387 sip = swapinfo; in swap_in_range()
413 struct swapinfo **sipp, *osip; in swapdel_byname()
425 for (sipp = &swapinfo; (osip = *sipp) != NULL; sipp = &osip->si_next) { in swapdel_byname()
446 struct swapinfo *sip, *csip, *tsip; in swapctl()
600 for (sip = swapinfo, nswap = 0; in swapctl()
657 csip = kmem_zalloc(tmp_nswapfiles * sizeof (struct swapinfo), in swapctl()
669 tmp_nswapfiles * sizeof (struct swapinfo)); in swapctl()
673 for (sip = swapinfo, tsip = csip, tpname = pname, nswap = 0; in swapctl()
718 kmem_free(csip, tmp_nswapfiles * sizeof (struct swapinfo)); in swapctl()
793 struct swapinfo *sip, *csip, *tsip; in swapctl32()
906 for (sip = swapinfo, nswap = 0; in swapctl32()
977 for (sip = swapinfo, tsip = csip, tpname = pname, nswap = 0; in swapctl32()
1102 struct swapinfo **sipp, *nsip = NULL, *esip = NULL; in swapadd()
1239 nsip = kmem_zalloc(sizeof (struct swapinfo), KM_SLEEP); in swapadd()
1277 for (sipp = &swapinfo; (esip = *sipp) != NULL; sipp = &esip->si_next) { in swapadd()
1394 struct swapinfo **sipp, *osip = NULL; in swapdel()
1413 for (sipp = &swapinfo; (osip = *sipp) != NULL; sipp = &osip->si_next) { in swapdel()
1553 for (sipp = &swapinfo; *sipp != NULL; sipp = &(*sipp)->si_next) { in swapdel()
1561 silast = swapinfo; in swapdel()
1595 struct swapinfo *sip) in swapslot_free()