Lines Matching refs:fgp_flags
1763 * @fgp_flags: %FGP flags modify how the page is returned.
1768 * @fgp_flags can be zero or more of these flags:
1792 int fgp_flags, gfp_t gfp_mask)
1803 if (fgp_flags & FGP_LOCK) {
1804 if (fgp_flags & FGP_NOWAIT) {
1822 if (fgp_flags & FGP_ACCESSED)
1824 else if (fgp_flags & FGP_WRITE) {
1829 if (!(fgp_flags & FGP_HEAD))
1833 if (!page && (fgp_flags & FGP_CREAT)) {
1835 if ((fgp_flags & FGP_WRITE) && mapping_can_writeback(mapping))
1837 if (fgp_flags & FGP_NOFS)
1844 if (WARN_ON_ONCE(!(fgp_flags & (FGP_LOCK | FGP_FOR_MMAP))))
1845 fgp_flags |= FGP_LOCK;
1848 if (fgp_flags & FGP_ACCESSED)
1863 if (page && (fgp_flags & FGP_FOR_MMAP))
3281 int fgp_flags = FGP_LOCK|FGP_WRITE|FGP_CREAT;
3284 fgp_flags |= FGP_NOFS;
3286 page = pagecache_get_page(mapping, index, fgp_flags,