Home
last modified time | relevance | path

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

/linux-6.1.9/mm/
Dfolio-compat.c106 int fgp_flags, gfp_t gfp) in pagecache_get_page() argument
110 folio = __filemap_get_folio(mapping, index, fgp_flags, gfp); in pagecache_get_page()
111 if ((fgp_flags & FGP_HEAD) || !folio || xa_is_value(folio)) in pagecache_get_page()
120 unsigned fgp_flags = FGP_LOCK | FGP_WRITE | FGP_CREAT | FGP_STABLE; in grab_cache_page_write_begin() local
122 return pagecache_get_page(mapping, index, fgp_flags, in grab_cache_page_write_begin()
Dfilemap.c1910 int fgp_flags, gfp_t gfp) in __filemap_get_folio() argument
1917 if (fgp_flags & FGP_ENTRY) in __filemap_get_folio()
1924 if (fgp_flags & FGP_LOCK) { in __filemap_get_folio()
1925 if (fgp_flags & FGP_NOWAIT) { in __filemap_get_folio()
1943 if (fgp_flags & FGP_ACCESSED) in __filemap_get_folio()
1945 else if (fgp_flags & FGP_WRITE) { in __filemap_get_folio()
1951 if (fgp_flags & FGP_STABLE) in __filemap_get_folio()
1954 if (!folio && (fgp_flags & FGP_CREAT)) { in __filemap_get_folio()
1956 if ((fgp_flags & FGP_WRITE) && mapping_can_writeback(mapping)) in __filemap_get_folio()
1958 if (fgp_flags & FGP_NOFS) in __filemap_get_folio()
[all …]
/linux-6.1.9/fs/netfs/
Dbuffered_read.c344 unsigned int fgp_flags = FGP_LOCK | FGP_WRITE | FGP_CREAT | FGP_STABLE; in netfs_write_begin() local
351 folio = __filemap_get_folio(mapping, index, fgp_flags, in netfs_write_begin()
/linux-6.1.9/include/linux/
Dpagemap.h512 int fgp_flags, gfp_t gfp);
514 int fgp_flags, gfp_t gfp);
567 pgoff_t offset, int fgp_flags) in find_get_page_flags() argument
569 return pagecache_get_page(mapping, offset, fgp_flags, 0); in find_get_page_flags()
/linux-6.1.9/fs/btrfs/
Dfile.c1197 unsigned int fgp_flags = FGP_LOCK | FGP_ACCESSED | FGP_CREAT; in get_prepare_fgp_flags() local
1200 fgp_flags |= FGP_NOWAIT; in get_prepare_fgp_flags()
1202 return fgp_flags; in get_prepare_fgp_flags()
1229 unsigned int fgp_flags = get_prepare_fgp_flags(nowait); in prepare_pages() local
1236 fgp_flags, mask | __GFP_WRITE); in prepare_pages()
/linux-6.1.9/fs/f2fs/
Df2fs.h2744 int fgp_flags, gfp_t gfp_mask) in f2fs_pagecache_get_page() argument
2751 return pagecache_get_page(mapping, index, fgp_flags, gfp_mask); in f2fs_pagecache_get_page()