Home
last modified time | relevance | path

Searched refs:writepage (Results 1 – 14 of 14) sorted by relevance

/linux-6.15/Documentation/filesystems/
H A Dlocking.rst252 int (*writepage)(struct page *page, struct writeback_control *wbc);
283 writepage: yes, unlocks (see below)
312 ->writepage() is used for two purposes: for "memory cleansing" and for
316 If writepage is called for sync (wbc->sync_mode != WBC_SYNC_NONE) then
320 If writepage is called for memory cleansing (sync_mode ==
322 possible. So writepage should try to avoid blocking against
335 caller, unless ->writepage() returns special WRITEPAGE_ACTIVATE
337 currently, and VM should stop calling ->writepage() on this page for some
342 and return zero, writepage *must* run set_page_writeback() against the page,
347 writepage.
[all …]
H A Dvfs.rst720 in order to reuse them. To do this it can call the ->writepage method
735 ->writepage on. If mpage_writepages is not used (i.e. the address
759 dirty_folio to write data into the address_space, and writepage and
766 typically remains set until writepage asks for it to be written. This
772 operations. This gives the writepage and writepages operations some
822 int (*writepage)(struct page *page, struct writeback_control *wbc);
851 ``writepage``
856 PageLocked is true. writepage should start writeout, should set
861 If wbc->sync_mode is WB_SYNC_NONE, ->writepage doesn't have to
866 keep calling ->writepage on that page.
[all …]
H A Dfscrypt.rst1412 For the write path (->writepage()) of regular files, filesystems
/linux-6.15/drivers/gpu/drm/ttm/
H A Dttm_backup.c123 ret = mapping->a_ops->writepage(folio_file_page(to_folio, idx), &wbc); in ttm_backup_backup_page()
/linux-6.15/include/linux/
H A Dwriteback.h378 struct writeback_control *wbc, writepage_t writepage,
H A Dfs.h436 int (*writepage)(struct page *page, struct writeback_control *wbc); member
/linux-6.15/fs/vboxsf/
H A Dfile.c350 .writepage = vboxsf_writepage,
/linux-6.15/mm/
H A Dpage-writeback.c2606 struct writeback_control *wbc, writepage_t writepage, in write_cache_pages() argument
2613 error = writepage(folio, wbc, data); in write_cache_pages()
2633 err = mapping->a_ops->writepage(&folio->page, wbc); in writeback_use_writepage()
2657 } else if (mapping->a_ops->writepage) { in do_writepages()
H A Dswap_state.c33 .writepage = swap_writepage,
H A Dmigrate.c963 if (!mapping->a_ops->writepage) in writeout()
981 rc = mapping->a_ops->writepage(&folio->page, &wbc); in writeout()
H A Dvmscan.c688 if (mapping->a_ops->writepage == NULL) in pageout()
711 res = mapping->a_ops->writepage(&folio->page, &wbc); in pageout()
H A Dshmem.c5194 .writepage = shmem_writepage,
/linux-6.15/drivers/gpu/drm/i915/gem/
H A Di915_gem_shmem.c329 ret = mapping->a_ops->writepage(page, &wbc); in __shmem_writeback()
/linux-6.15/Documentation/admin-guide/
H A Dcgroup-v2.rst3022 address_space_operations->writepage[s]() to annotate bio's using the