RHEL-kernel-ark/fs/squashfs
Matthew Wilcox (Oracle) 5748be3e9e squashfs: convert squashfs_fill_page() to take a folio
squashfs_fill_page is only used in this file, so make it static.
Use kmap_local instead of kmap_atomic, and return a bool so that
the caller can use folio_end_read() which saves an atomic operation
over calling folio_mark_uptodate() followed by folio_unlock().

[willy@infradead.org: fix polarity of "uptodate" Thanks to Ryan for testing]
  Link: https://lkml.kernel.org/r/20250110163300.3346321-2-willy@infradead.org
Link: https://lkml.kernel.org/r/20241220224634.723899-5-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Tested-by: Ryan Roberts <ryan.roberts@arm.com>
Cc: Phillip Lougher <phillip@squashfs.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2025-01-24 22:47:22 -08:00
..
Kconfig squashfs: update Kconfig information 2025-01-24 22:47:22 -08:00
Makefile
block.c
cache.c squashfs: make squashfs_cache_init() return ERR_PTR(-ENOMEM) 2025-01-24 22:45:34 -08:00
decompressor.c
decompressor.h
decompressor_multi.c
decompressor_multi_percpu.c
decompressor_single.c
dir.c
export.c
file.c squashfs: convert squashfs_fill_page() to take a folio 2025-01-24 22:47:22 -08:00
file_cache.c squashfs; convert squashfs_copy_cache() to take a folio 2025-01-24 22:47:22 -08:00
file_direct.c squashfs: convert squashfs_readpage_block() to take a folio 2025-01-24 22:47:22 -08:00
fragment.c
id.c
inode.c
lz4_wrapper.c
lzo_wrapper.c
namei.c
page_actor.c
page_actor.h
squashfs.h squashfs: convert squashfs_fill_page() to take a folio 2025-01-24 22:47:22 -08:00
squashfs_fs.h
squashfs_fs_i.h
squashfs_fs_sb.h
super.c squashfs: don't allocate read_page cache if SQUASHFS_FILE_DIRECT configured 2025-01-24 22:47:21 -08:00
symlink.c
xattr.c
xattr.h
xattr_id.c
xz_wrapper.c
zlib_wrapper.c
zstd_wrapper.c