Files
linux/include/linux
Taotao Chen b799474b9a mm/pagemap: add write_begin_get_folio() helper function
Add write_begin_get_folio() to simplify the common folio lookup logic
used by filesystem ->write_begin() implementations.

This helper wraps __filemap_get_folio() with common flags such as
FGP_WRITEBEGIN, conditional FGP_DONTCACHE, and set folio order based
on the write length.

Part of a series refactoring address_space_operations write_begin and
write_end callbacks to use struct kiocb for passing write context and
flags.

Signed-off-by: Taotao Chen <chentaotao@didiglobal.com>
Link: https://lore.kernel.org/20250716093559.217344-5-chentaotao@didiglobal.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
2025-07-16 14:48:18 +02:00
..
2025-04-03 21:35:32 +02:00
2025-05-11 17:54:10 -07:00
2025-02-21 17:31:45 -06:00
2025-02-21 09:54:01 +01:00
2025-04-21 10:27:59 +02:00
2025-04-29 15:58:38 -04:00
2025-04-29 15:58:38 -04:00
2025-04-29 15:58:38 -04:00
2025-05-19 08:17:08 -07:00
2025-04-17 10:50:55 -07:00
2025-04-02 07:06:59 -06:00
2025-03-08 14:37:39 +01:00
2025-02-26 12:10:48 +01:00
2025-05-21 13:41:03 +02:00
2025-05-21 13:39:45 +02:00
2025-03-17 22:06:41 -07:00
2025-04-11 18:58:10 -07:00
2025-05-20 05:34:27 +02:00
2025-04-17 10:56:11 +02:00
2025-02-24 12:08:51 +02:00
2025-04-10 10:39:14 +01:00
2025-05-15 20:24:40 +02:00
2025-05-22 11:07:05 +02:00
2025-03-10 13:13:04 -07:00
2025-03-22 15:36:49 +02:00
2025-03-08 12:13:25 +01:00
2025-05-11 17:48:29 -07:00
2025-02-20 15:24:13 +01:00
2025-03-17 13:54:50 +00:00
2025-06-04 09:51:10 +02:00
2025-02-18 11:51:22 -05:00
2025-05-21 16:46:37 +02:00
2025-04-26 08:28:03 +02:00
2025-03-10 08:53:40 +01:00
2025-05-02 11:03:18 +05:30
2025-03-12 20:41:14 +01:00
2025-03-16 17:40:22 -07:00
2025-05-03 12:02:04 +02:00
2025-05-11 17:54:09 -07:00
2025-05-06 11:11:45 -06:00
2025-03-17 11:52:25 +01:00
2025-04-25 15:53:59 +02:00
2025-05-11 17:54:08 -07:00
2025-04-07 09:36:49 +02:00
2025-04-10 18:34:05 -07:00
2025-02-28 11:51:26 -08:00
2025-05-15 04:49:15 +03:00
2025-03-20 08:00:50 -07:00
2025-02-28 11:51:26 -08:00
2025-04-18 10:05:49 -04:00
2025-03-13 13:25:58 -07:00
2025-03-13 13:25:58 -07:00
2025-03-13 13:25:58 -07:00