Home | History | Annotate | Download | only in uvm

Lines Matching defs:swap_on

117  *  [3] SWAP_ON: given a pathname in arg (could be device or file) and a
119 * [4] SWAP_OFF: as SWAP_ON, but stops swapping to a device
230 static int swap_on(struct lwp *, struct swapdev *);
503 * [with two helper functions: swap_on and swap_off]
604 if (SCARG(uap, cmd) == SWAP_ON &&
612 * (SWAP_PATH_MAX instead of PATH_MAX) for SWAP_ON.
623 if (SCARG(uap, cmd) == SWAP_ON) {
674 case SWAP_ON:
712 * if swap_on is a success, it will clear the SWF_FAKE flag
715 if ((error = swap_on(l, sdp)) != 0) {
828 * swap_on: attempt to enable a swapdev for swapping. note that the
838 swap_on(struct lwp *l, struct swapdev *sdp)
991 panic("swap_on: miniroot larger than swap?");
994 panic("swap_on: unable to preserve miniroot");