Home
last modified time | relevance | path

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

/Linux-v5.4/fs/nfs/
Dread.c213 int swap_flags = IS_SWAPFILE(inode) ? NFS_RPC_SWAPFLAGS : 0; in nfs_initiate_read() local
215 task_setup_data->flags |= swap_flags; in nfs_initiate_read()
/Linux-v5.4/mm/
Dswapfile.c3102 SYSCALL_DEFINE2(swapon, const char __user *, specialfile, int, swap_flags) in SYSCALL_DEFINE2() argument
3121 if (swap_flags & ~SWAP_FLAGS_VALID) in SYSCALL_DEFINE2()
3244 if (p->bdev &&(swap_flags & SWAP_FLAG_DISCARD) && swap_discardable(p)) { in SYSCALL_DEFINE2()
3260 if (swap_flags & SWAP_FLAG_DISCARD_ONCE) in SYSCALL_DEFINE2()
3262 else if (swap_flags & SWAP_FLAG_DISCARD_PAGES) in SYSCALL_DEFINE2()
3291 if (swap_flags & SWAP_FLAG_PREFER) in SYSCALL_DEFINE2()
3293 (swap_flags & SWAP_FLAG_PRIO_MASK) >> SWAP_FLAG_PRIO_SHIFT; in SYSCALL_DEFINE2()
/Linux-v5.4/include/linux/
Dsyscalls.h865 asmlinkage long sys_swapon(const char __user *specialfile, int swap_flags);