Home
last modified time | relevance | path

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

/linux-4.4.14/mm/
Dfilemap.c1133 int fgp_flags, gfp_t gfp_mask) in pagecache_get_page() argument
1144 if (fgp_flags & FGP_LOCK) { in pagecache_get_page()
1145 if (fgp_flags & FGP_NOWAIT) { in pagecache_get_page()
1163 if (page && (fgp_flags & FGP_ACCESSED)) in pagecache_get_page()
1167 if (!page && (fgp_flags & FGP_CREAT)) { in pagecache_get_page()
1169 if ((fgp_flags & FGP_WRITE) && mapping_cap_account_dirty(mapping)) in pagecache_get_page()
1171 if (fgp_flags & FGP_NOFS) in pagecache_get_page()
1178 if (WARN_ON_ONCE(!(fgp_flags & FGP_LOCK))) in pagecache_get_page()
1179 fgp_flags |= FGP_LOCK; in pagecache_get_page()
1182 if (fgp_flags & FGP_ACCESSED) in pagecache_get_page()
[all …]
/linux-4.4.14/include/linux/
Dpagemap.h261 int fgp_flags, gfp_t cache_gfp_mask);
280 pgoff_t offset, int fgp_flags) in find_get_page_flags() argument
282 return pagecache_get_page(mapping, offset, fgp_flags, 0); in find_get_page_flags()