5 #ifndef SWAP_FLAG_PREFER
6 # define SWAP_FLAG_PREFER 0x8000
8 #ifndef SWAP_FLAG_DISCARD
9 # define SWAP_FLAG_DISCARD 0x10000
11 #ifndef SWAP_FLAG_DISCARD_ONCE
12 # define SWAP_FLAG_DISCARD_ONCE 0x20000
14 #ifndef SWAP_FLAG_DISCARD_PAGES
15 # define SWAP_FLAG_DISCARD_PAGES 0x40000
18 #include "xlat/swap_flags.h"
23 int flags = tcp->u_arg[1];
24 printpath(tcp, tcp->u_arg[0]);
26 printflags(swap_flags, flags & ~SWAP_FLAG_PRIO_MASK,
28 if (flags & SWAP_FLAG_PREFER)
29 tprintf("|%d", flags & SWAP_FLAG_PRIO_MASK);