Home
last modified time | relevance | path

Searched refs:swap_flags (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/mm/
Dswapfile.c2978 SYSCALL_DEFINE2(swapon, const char __user *, specialfile, int, swap_flags) in SYSCALL_DEFINE2() argument
2997 if (swap_flags & ~SWAP_FLAGS_VALID) in SYSCALL_DEFINE2()
3133 if ((swap_flags & SWAP_FLAG_DISCARD) && in SYSCALL_DEFINE2()
3150 if (swap_flags & SWAP_FLAG_DISCARD_ONCE) in SYSCALL_DEFINE2()
3152 else if (swap_flags & SWAP_FLAG_DISCARD_PAGES) in SYSCALL_DEFINE2()
3181 if (swap_flags & SWAP_FLAG_PREFER) in SYSCALL_DEFINE2()
3183 (swap_flags & SWAP_FLAG_PRIO_MASK) >> SWAP_FLAG_PRIO_SHIFT; in SYSCALL_DEFINE2()
/linux-6.6.21/include/linux/
Dsyscalls.h788 asmlinkage long sys_swapon(const char __user *specialfile, int swap_flags);