Searched refs:swap_flags (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/fs/nfs/
H A Dread.c192 int swap_flags = IS_SWAPFILE(inode) ? NFS_RPC_SWAPFLAGS : 0; nfs_initiate_read() local
194 task_setup_data->flags |= swap_flags; nfs_initiate_read()
/linux-4.4.14/mm/
H A Dswapfile.c2386 SYSCALL_DEFINE2(swapon, const char __user *, specialfile, int, swap_flags) SYSCALL_DEFINE2()
2404 if (swap_flags & ~SWAP_FLAGS_VALID) SYSCALL_DEFINE2()
2506 if (p->bdev &&(swap_flags & SWAP_FLAG_DISCARD) && swap_discardable(p)) {
2522 if (swap_flags & SWAP_FLAG_DISCARD_ONCE)
2524 else if (swap_flags & SWAP_FLAG_DISCARD_PAGES)
2538 if (swap_flags & SWAP_FLAG_PREFER)
2540 (swap_flags & SWAP_FLAG_PRIO_MASK) >> SWAP_FLAG_PRIO_SHIFT;
/linux-4.4.14/arch/s390/kernel/
H A Dcompat_wrapper.c84 COMPAT_SYSCALL_WRAP2(swapon, const char __user *, specialfile, int, swap_flags);
/linux-4.4.14/include/linux/
H A Dsyscalls.h695 asmlinkage long sys_swapon(const char __user *specialfile, int swap_flags);

Completed in 207 milliseconds