Searched refs:swap_flags (Results 1 – 1 of 1) sorted by relevance
3135 SYSCALL_DEFINE2(swapon, const char __user *, specialfile, int, swap_flags) in SYSCALL_DEFINE2() argument3156 if (swap_flags & ~SWAP_FLAGS_VALID) in SYSCALL_DEFINE2()3300 if (p->bdev && (swap_flags & SWAP_FLAG_DISCARD) && swap_discardable(p)) { in SYSCALL_DEFINE2()3316 if (swap_flags & SWAP_FLAG_DISCARD_ONCE) in SYSCALL_DEFINE2()3318 else if (swap_flags & SWAP_FLAG_DISCARD_PAGES) in SYSCALL_DEFINE2()3347 if (swap_flags & SWAP_FLAG_PREFER) in SYSCALL_DEFINE2()3349 (swap_flags & SWAP_FLAG_PRIO_MASK) >> SWAP_FLAG_PRIO_SHIFT; in SYSCALL_DEFINE2()