Home
last modified time | relevance | path

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

/Linux-v5.15/fs/nfs/
Dread.c198 int swap_flags = IS_SWAPFILE(inode) ? NFS_RPC_SWAPFLAGS : 0; in nfs_initiate_read() local
200 task_setup_data->flags |= swap_flags; in nfs_initiate_read()
/Linux-v5.15/mm/
Dswapfile.c3127 SYSCALL_DEFINE2(swapon, const char __user *, specialfile, int, swap_flags) in SYSCALL_DEFINE2() argument
3147 if (swap_flags & ~SWAP_FLAGS_VALID) in SYSCALL_DEFINE2()
3288 if (p->bdev && (swap_flags & SWAP_FLAG_DISCARD) && swap_discardable(p)) { in SYSCALL_DEFINE2()
3304 if (swap_flags & SWAP_FLAG_DISCARD_ONCE) in SYSCALL_DEFINE2()
3306 else if (swap_flags & SWAP_FLAG_DISCARD_PAGES) in SYSCALL_DEFINE2()
3335 if (swap_flags & SWAP_FLAG_PREFER) in SYSCALL_DEFINE2()
3337 (swap_flags & SWAP_FLAG_PRIO_MASK) >> SWAP_FLAG_PRIO_SHIFT; in SYSCALL_DEFINE2()
/Linux-v5.15/include/linux/
Dsyscalls.h904 asmlinkage long sys_swapon(const char __user *specialfile, int swap_flags);