aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pagemap.h
AgeCommit message (Expand)AuthorFilesLines
2024-05-01mm: Provide a means of invalidation without using launder_folioDavid Howells1-0/+2
2024-01-02Merge tag 'loongarch-kvm-6.8' of git://git.kernel.org/pub/scm/linux/kernel/gi...Paolo Bonzini1-2/+19
2023-11-20filemap: add a per-mapping stable writes flagChristoph Hellwig1-0/+17
2023-11-14Merge branch 'kvm-guestmemfd' into HEADPaolo Bonzini1-1/+18
2023-11-13mm: Add AS_UNMOVABLE to mark mapping as completely unmovableSean Christopherson1-1/+18
2023-10-18mm: add folio_end_read()Matthew Wilcox (Oracle)1-0/+1
2023-10-16mm/filemap: remove hugetlb special casing in filemap.cSidhartha Kumar1-30/+2
2023-08-29Merge tag 'mm-stable-2023-08-28-18-26' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-20/+40
2023-08-24mm: remove page_mapping_file()Matthew Wilcox (Oracle)1-8/+0
2023-08-24mm: add folio_flush_mapping()Matthew Wilcox (Oracle)1-5/+21
2023-08-24mm: change folio_lock_or_retry to use vm_fault directlySuren Baghdasaryan1-5/+6
2023-08-21pagemap: remove wait_on_page_locked_killable()Kefeng Wang1-5/+0
2023-08-18mm, netfs, fscache: stop read optimisation when folio removed from pagecacheDavid Howells1-0/+16
2023-07-24filemap: Allow __filemap_get_folio to allocate large foliosMatthew Wilcox (Oracle)1-0/+34
2023-07-24filemap: Add fgf_t typedefMatthew Wilcox (Oracle)1-11/+37
2023-06-09filemap: add a kiocb_invalidate_post_direct_write helperChristoph Hellwig1-0/+1
2023-06-09filemap: add a kiocb_invalidate_pages helperChristoph Hellwig1-0/+1
2023-06-09filemap: add a kiocb_write_and_wait helperChristoph Hellwig1-0/+2
2023-06-09filemap: remove page_endio()Pankaj Raghav1-2/+0
2023-04-27Merge tag 'mm-stable-2023-04-27-15-30' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-7/+8
2023-04-26Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-0/+2
2023-04-06fs: Add FGP_WRITEBEGINMatthew Wilcox1-0/+2
2023-04-05mm: return an ERR_PTR from __filemap_get_folioChristoph Hellwig1-5/+6
2023-04-05mm: remove FGP_ENTRYChristoph Hellwig1-2/+1
2023-04-05mm: make mapping_get_entry available outside of filemap.cChristoph Hellwig1-0/+1
2023-03-28mm,jfs: move write_one_page/folio_write_one to jfsChristoph Hellwig1-6/+0
2023-03-12mm,jfs: move write_one_page/folio_write_one to jfsChristoph Hellwig1-6/+0
2023-02-23Merge tag 'mm-stable-2023-02-20-13-37' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-10/+24
2023-02-20filemap: Remove lock_page_killable()Matthew Wilcox (Oracle)1-10/+0
2023-02-09filemap: add mapping_read_folio_gfp()Matthew Wilcox (Oracle)1-0/+2
2023-02-02filemap: remove find_get_pages_range_tag()Vishal Moola (Oracle)1-10/+0
2023-02-02filemap: add filemap_get_folios_tag()Vishal Moola (Oracle)1-0/+2
2023-02-02pagemap: add filemap_grab_folio()Vishal Moola (Oracle)1-0/+20
2022-12-11filemap: convert replace_page_cache_page() to replace_page_cache_folio()Vishal Moola (Oracle)1-1/+1
2022-11-30folio-compat: remove try_to_release_page()Vishal Moola (Oracle)1-1/+0
2022-11-08mm: remove FGP_HEADMatthew Wilcox (Oracle)1-3/+2
2022-11-08hugetlbfs: convert hugetlb_delete_from_page_cache() to use foliosSidhartha Kumar1-1/+0
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-9/+5
2022-10-03mm/filemap: make folio_put_wait_locked staticKe Sun1-1/+0
2022-10-03mm: convert lock_page_or_retry() to folio_lock_or_retry()Matthew Wilcox (Oracle)1-6/+3
2022-09-20mm: add PSI accounting around ->read_folio and ->readahead callsChristoph Hellwig1-0/+2
2022-09-11filemap: remove find_get_pages_contig()Vishal Moola (Oracle)1-2/+0
2022-09-11filemap: add filemap_get_folios_contig()Vishal Moola (Oracle)1-0/+2
2022-08-05Merge tag 'mm-stable-2022-08-03' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-2/+0
2022-08-02mm/migrate: Add filemap_migrate_folio()Matthew Wilcox (Oracle)1-0/+6
2022-07-03mm: add folios_put()Matthew Wilcox (Oracle)1-2/+0
2022-06-29filemap: Remove find_get_pages_range() and associated functionsMatthew Wilcox (Oracle)1-3/+0
2022-06-29filemap: Add filemap_get_folios()Matthew Wilcox (Oracle)1-0/+2
2022-06-29filemap: Remove add_to_page_cache() and add_to_page_cache_locked()Matthew Wilcox (Oracle)1-18/+0
2022-06-29mm: Remove __delete_from_page_cache()Matthew Wilcox (Oracle)1-4/+0
2022-05-24Merge tag 'folio-5.19' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-15/+63
2022-05-09fs: Change try_to_free_buffers() to take a folioMatthew Wilcox (Oracle)1-4/+0
2022-05-09fs: Change the type of filler_tMatthew Wilcox (Oracle)1-3/+3
2022-05-08mm/readahead: Convert page_cache_async_readahead to take a folioMatthew Wilcox (Oracle)1-3/+3
2022-05-08filemap: Update the folio_lock documentationMatthew Wilcox (Oracle)1-2/+57
2022-05-08filemap: Remove obsolete comment in lock_pageMiaohe Lin1-3/+0
2022-05-08fs: Remove aop flags parameter from grab_cache_page_write_begin()Matthew Wilcox (Oracle)1-1/+1
2022-04-25mm: Add fault_in_subpage_writeable() to probe at sub-page granularityCatalin Marinas1-0/+1
2022-04-01readahead: Remove read_cache_pages()Matthew Wilcox (Oracle)1-2/+0
2022-03-24mm: warn on deleting redirtied only if accountedHugh Dickins1-2/+1
2022-03-22Merge tag 'folio-5.18b' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-5/+24
2022-03-22Merge tag 'folio-5.18c' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-13/+133
2022-03-22filemap: remove find_get_pages()Miaohe Lin1-7/+0
2022-03-21mm: Make large folios depend on THPMatthew Wilcox (Oracle)1-1/+6
2022-03-21mm: Fix READ_ONLY_THP warningMatthew Wilcox (Oracle)1-2/+2
2022-03-21mm: Add folio_pgoff()Matthew Wilcox (Oracle)1-0/+11
2022-03-21fs: Move many prototypes to pagemap.hMatthew Wilcox (Oracle)1-0/+114
2022-03-21mm: Remove page_cache_add_speculative() and page_cache_get_speculative()Matthew Wilcox (Oracle)1-10/+0
2022-03-16fs: Convert __set_page_dirty_no_writeback to noop_dirty_folioMatthew Wilcox (Oracle)1-1/+1
2022-03-15ext4: Convert invalidatepage to invalidate_folioMatthew Wilcox (Oracle)1-0/+18
2022-03-15fs: Turn do_invalidatepage() into folio_invalidate()Matthew Wilcox (Oracle)1-0/+1
2022-03-14fs: read_mapping_page() should take a struct file argumentMatthew Wilcox (Oracle)1-4/+4
2022-01-12Merge tag 'folio-5.17' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-35/+24
2022-01-12Merge tag 'for-5.17/block-2022-01-11' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+29
2022-01-08mm: Use multi-index entries in the page cacheMatthew Wilcox (Oracle)1-10/+0
2022-01-08mm: Convert find_lock_entries() to use a folio_batchMatthew Wilcox (Oracle)1-2/+2
2022-01-08filemap: Return only folios from find_get_entries()Matthew Wilcox (Oracle)1-2/+0
2022-01-04filemap: Add filemap_release_folio()Matthew Wilcox (Oracle)1-0/+2
2022-01-04filemap: Add read_cache_folio and read_mapping_folioMatthew Wilcox (Oracle)1-2/+10
2022-01-04readahead: Convert page_cache_async_ra() to take a folioMatthew Wilcox (Oracle)1-2/+2
2022-01-04filemap: Remove thp_contains()Matthew Wilcox (Oracle)1-9/+0
2022-01-04filemap: Add filemap_remove_folio and __filemap_remove_folioMatthew Wilcox (Oracle)1-2/+7
2022-01-04filemap: Add filemap_unaccount_folio()Matthew Wilcox (Oracle)1-5/+0
2022-01-04filemap: Add folio_put_wait_locked()Matthew Wilcox (Oracle)1-1/+1
2021-12-25mm: delete unsafe BUG from page_cache_add_speculative()Hugh Dickins1-1/+0
2021-12-03mm: move filemap_range_needs_writeback() into headerJens Axboe1-0/+29
2021-11-17fs: Rename AS_THP_SUPPORT and mapping_thp_supportMatthew Wilcox (Oracle)1-6/+6
2021-11-17fs: Remove FS_THP_SUPPORTMatthew Wilcox (Oracle)1-0/+16
2021-11-10folio: Add a function to get the host inode for a folioDavid Howells1-0/+14
2021-11-10folio: Add a function to change the private data attached to a folioDavid Howells1-0/+19
2021-11-09Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-0/+50
2021-11-09vfs: keep inodes with page cache off the inode shrinker LRUJohannes Weiner1-0/+50
2021-11-02Merge tag 'gfs2-v5.15-rc5-mmap-fault' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-54/+4
2021-10-20iov_iter: Introduce fault_in_iov_iter_writeableAndreas Gruenbacher1-0/+1
2021-10-18gup: Turn fault_in_pages_{readable,writeable} into fault_in_{readable,writeable}Andreas Gruenbacher1-54/+3
2021-10-18mm/writeback: Add folio_write_oneMatthew Wilcox (Oracle)1-0/+5
2021-10-18mm/filemap: Add FGP_STABLEMatthew Wilcox (Oracle)1-0/+1
2021-10-18mm/filemap: Add filemap_get_folioMatthew Wilcox (Oracle)1-21/+20
2021-10-18mm/filemap: Add filemap_add_folio()Matthew Wilcox (Oracle)1-2/+8
2021-10-18mm/filemap: Add filemap_alloc_folioMatthew Wilcox (Oracle)1-3/+8
2021-10-18mm/filemap: Add readahead_folio()Matthew Wilcox (Oracle)1-15/+39
2021-10-18mm/filemap: Add folio_mkwrite_check_truncate()Matthew Wilcox (Oracle)1-0/+28
2021-10-18mm/filemap: Add i_blocks_per_folio()Matthew Wilcox (Oracle)1-6/+12
2021-10-18mm/writeback: Add folio_clear_dirty_for_io()Matthew Wilcox (Oracle)1-0/+2
2021-10-18mm/writeback: Add folio_cancel_dirty()Matthew Wilcox (Oracle)1-0/+11
2021-10-18mm/writeback: Add folio_account_cleaned()Matthew Wilcox (Oracle)1-0/+7
2021-10-18mm/writeback: Add __folio_mark_dirty()Matthew Wilcox (Oracle)1-1/+6
2021-09-27fs/netfs: Add folio fscache functionsMatthew Wilcox (Oracle)1-16/+0
2021-09-27mm/filemap: Add folio private_2 functionsMatthew Wilcox (Oracle)1-3/+3
2021-09-27mm/filemap: Convert page wait queues to be foliosMatthew Wilcox (Oracle)1-4/+4
2021-09-27mm/filemap: Add folio_wait_bit()Matthew Wilcox (Oracle)1-5/+5
2021-09-27mm/writeback: Add folio_wait_stable()Matthew Wilcox (Oracle)1-0/+1
2021-09-27mm/writeback: Add folio_wait_writeback()Matthew Wilcox (Oracle)1-1/+2
2021-09-27mm/filemap: Add folio_end_writeback()Matthew Wilcox (Oracle)1-1/+2
2021-09-27mm/filemap: Add __folio_lock_or_retry()Matthew Wilcox (Oracle)1-4/+7
2021-09-27mm/filemap: Add folio_wait_locked()Matthew Wilcox (Oracle)1-8/+18
2021-09-27mm/filemap: Add __folio_lock_async()Matthew Wilcox (Oracle)1-17/+0
2021-09-27mm/filemap: Add folio_lock_killable()Matthew Wilcox (Oracle)1-5/+10
2021-09-27mm/filemap: Add folio_lock()Matthew Wilcox (Oracle)1-5/+19
2021-09-27mm/filemap: Add folio_unlock()Matthew Wilcox (Oracle)1-1/+2
2021-09-27mm/util: Add folio_mapping() and folio_file_mapping()Matthew Wilcox (Oracle)1-2/+33
2021-09-27mm/filemap: Add folio_pos() and folio_file_pos()Matthew Wilcox (Oracle)1-0/+21
2021-09-27mm/filemap: Add folio_next_index()Matthew Wilcox (Oracle)1-0/+11
2021-09-27mm/filemap: Add folio_index(), folio_file_page() and folio_contains()Matthew Wilcox (Oracle)1-0/+56
2021-09-27mm: Handle per-folio private dataMatthew Wilcox (Oracle)1-19/+29
2021-09-27mm: Add folio_try_get_rcu()Matthew Wilcox (Oracle)1-80/+4
2021-09-08Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-4/+3
2021-09-08mm: remove redundant compound_head() callingMuchun Song1-4/+3
2021-09-03mm: change fault_in_pages_* to have an unsigned size parameterGreg Kroah-Hartman1-2/+2
2021-06-29mm: move page dirtying prototypes from mm.hMatthew Wilcox (Oracle)1-0/+4
2021-06-24mm, futex: fix shared futex pgoff on shmem huge pageHugh Dickins1-6/+7
2021-05-14mm/filemap: fix readahead return typesMatthew Wilcox (Oracle)1-3/+3
2021-05-05mm: introduce and use mapping_empty()Matthew Wilcox (Oracle)1-0/+5
2021-04-30mm: move page_mapping_file to pagemap.hMatthew Wilcox (Oracle)1-0/+10
2021-04-27Merge tag 'netfs-lib-20210426' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-9/+33
2021-04-23mm: Implement readahead_control pageset expansionDavid Howells1-0/+2
2021-04-23mm/filemap: Pass the file_ra_state in the ractlMatthew Wilcox (Oracle)1-9/+11
2021-04-23mm: Add set/end/wait functions for PG_private_2David Howells1-0/+20
2021-04-19btrfs: add and use readahead_batch_lengthMatthew Wilcox (Oracle)1-0/+9
2021-03-23mm/writeback: Add wait_on_page_writeback_killableMatthew Wilcox (Oracle)1-0/+1
2021-03-23fs/cachefiles: Remove wait_bit_key layout dependencyMatthew Wilcox (Oracle)1-1/+0
2021-02-26mm: pass pvec directly to find_get_entriesMatthew Wilcox (Oracle)1-2/+1
2021-02-26mm: add an 'end' parameter to find_get_entriesMatthew Wilcox (Oracle)1-2/+2
2021-02-26mm/filemap: add mapping_seek_hole_dataMatthew Wilcox (Oracle)1-0/+2
2021-02-26mm: add FGP_ENTRYMatthew Wilcox (Oracle)1-0/+1
2021-02-24mm/filemap: pass a sleep state to put_and_wait_on_page_lockedMatthew Wilcox (Oracle)1-2/+1
2021-02-24mm/filemap: remove unused parameter and change to void type for replace_page_...Baolin Wang1-1/+1
2020-11-22mm: fix readahead_page_batch for retry entriesMatthew Wilcox (Oracle)1-0/+2
2020-10-28mm: pagemap.h: fix two kernel-doc markupsMauro Carvalho Chehab1-4/+4
2020-10-16mm/readahead: add page_cache_sync_ra and page_cache_async_raMatthew Wilcox (Oracle)1-10/+54
2020-10-16mm/readahead: make page_cache_ra_unbounded take a readahead_controlMatthew Wilcox (Oracle)1-3/+2
2020-10-16mm/readahead: add DEFINE_READAHEADMatthew Wilcox (Oracle)1-0/+7
2020-10-16fs: do not update nr_thps for mappings which support THPsMatthew Wilcox (Oracle)1-0/+29
2020-10-16fs: add a filesystem flag for THPsMatthew Wilcox (Oracle)1-0/+6
2020-10-14Merge tag 'iomap-5.10-merge-4' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-0/+16
2020-10-13mm: add find_lock_headMatthew Wilcox (Oracle)1-6/+26
2020-10-13mm/shmem: return head page from find_lock_entryMatthew Wilcox (Oracle)1-0/+9
2020-10-13i915: use find_lock_page instead of find_lock_entryMatthew Wilcox (Oracle)1-2/+0
2020-10-11mm: validate inode in mapping_set_error()Minchan Kim1-1/+2
2020-09-21fs: Introduce i_blocks_per_pageMatthew Wilcox (Oracle)1-0/+16
2020-08-14mm: replace hpage_nr_pages with thp_nr_pagesMatthew Wilcox (Oracle)1-3/+3
2020-08-03Merge tag 'for-5.9/io_uring-20200802' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+43
2020-06-21mm: add kiocb_wait_page_queue_init() helperJens Axboe1-0/+21
2020-06-21mm: add support for async page lockingJens Axboe1-0/+17
2020-06-21mm: abstract out wake_page_match() from wake_page_function()Jens Axboe1-0/+37
2020-06-09mmap locking API: convert mmap_sem commentsMichel Lespinasse1-1/+1
2020-06-02include/linux/pagemap.h: introduce attach/detach_page_privateGuoqing Jiang1-0/+37
2020-06-02mm: add page_cache_readahead_unboundedMatthew Wilcox (Oracle)1-0/+3
2020-06-02mm: add new readahead_control APIMatthew Wilcox (Oracle)1-0/+140
2020-06-02mm: move readahead prototypes from mm.hMatthew Wilcox (Oracle)1-0/+8
2020-06-02vfs: track per-sb writeback errors and report them to syncfsJeff Layton1-1/+4
2020-04-07include/linux/pagemap.h: optimise find_subpage for !THPMatthew Wilcox (Oracle)1-3/+1
2020-04-02mm: add pagemap.h to the fine documentationMatthew Wilcox (Oracle)1-4/+4
2020-04-02mm: swap: make page_evictable() inlineYang Shi1-4/+2
2020-04-02include/linux/pagemap.h: rename arguments to find_subpageMatthew Wilcox (Oracle)1-5/+10
2020-01-06fs: Fix page_mkwrite off-by-one errorsAndreas Gruenbacher1-0/+28
2019-09-24mm: page cache: store only head pages in i_pagesMatthew Wilcox (Oracle)1-0/+10
2019-07-12mm/filemap: don't cast ->readpage to filler_t for do_read_cache_pageChristoph Hellwig1-2/+1
2019-07-12include/linux/pagemap.h: document trylock_page() return valueAndrew Morton1-0/+3
2019-07-05Revert "mm: page cache: store only head pages in i_pages"Linus Torvalds1-13/+0
2019-05-14mm: delete find_get_entries_tagMatthew Wilcox (Oracle)1-3/+0
2019-05-14mm/page-writeback: introduce tracepoint for wait_on_page_writeback()Yafang Shao1-9/+1
2019-05-14mm: page cache: store only head pages in i_pagesMatthew Wilcox1-0/+13
2019-03-15filemap: kill page_cache_read usage in filemap_faultJosef Bacik1-0/+1
2019-03-05mm: page_cache_add_speculative(): refactor out some code duplicationjohn.hubbard@gmail.com1-22/+9
2018-12-28mm: put_and_wait_on_page_locked() while page is migratedHugh Dickins1-0/+2
2018-10-21page cache: Convert find_get_entries_tag to XArrayMatthew Wilcox1-1/+1
2018-10-21page cache; Convert find_get_pages_range_tag to XArrayMatthew Wilcox1-2/+2
2018-10-21page cache: Convert hole search to XArrayMatthew Wilcox1-2/+2
2018-04-11page cache: use xa_lockMatthew Wilcox1-2/+2
2017-11-15mm: remove __GFP_COLDMel Gorman1-7/+1
2017-11-15mm: remove cold parameter for release_pagesMel Gorman1-1/+1
2017-11-15mm: batch radix tree operations when truncating pagesJan Kara1-0/+4
2017-11-15mm: implement find_get_pages_range_tag()Jan Kara1-2/+10
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-09-06mm: implement find_get_pages_range()Jan Kara1-2/+10
2017-09-06mm: make pagevec_lookup() update indexJan Kara1-1/+1
2017-08-02mm: allow page_cache_get_speculative in interrupt contextKan Liang1-2/+0
2017-07-07Merge tag 'for-linus-v4.13-2' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-6/+25
2017-07-06mm: set both AS_EIO/AS_ENOSPC and errseq_t in mapping_set_errorJeff Layton1-6/+25