linux-kernelorg-stable/fs/ext4
Matthew Wilcox (Oracle) 4db47b2521
ext4: Use folio_next_pos()
This is one instruction more efficient than open-coding folio_pos() +
folio_size().  It's the equivalent of (x + y) << z rather than
x << z + y << z.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Link: https://patch.msgid.link/20251024170822.1427218-5-willy@infradead.org
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Zhang Yi <yi.zhang@huawei.com>
Cc: Theodore Ts'o <tytso@mit.edu>
Cc: Andreas Dilger <adilger.kernel@dilger.ca>
Cc: linux-ext4@vger.kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
2025-10-31 13:11:37 +01:00
..
.kunitconfig
Kconfig ext4: remove obsolete EXT3 config options 2025-09-25 14:47:05 -04:00
Makefile
acl.c
acl.h
balloc.c ext4: convert sbi->s_mb_free_pending to atomic_t 2025-07-25 09:14:17 -04:00
bitmap.c
block_validity.c
crypto.c ext4: move crypt info pointer to fs-specific part of inode 2025-08-21 13:58:07 +02:00
dir.c
ext4.h New ext4 features: 2025-10-03 13:47:10 -07:00
ext4_extents.h ext4: remove unused EXT_STATS macro from ext4_extents.h 2025-07-12 19:01:38 -04:00
ext4_jbd2.c
ext4_jbd2.h
extents.c Major ext4 changes for 6.17: 2025-07-31 10:02:44 -07:00
extents_status.c
extents_status.h
fast_commit.c ext4: increase IO priority of fastcommit 2025-09-25 14:56:31 -04:00
fast_commit.h
file.c ext4: fix checks for orphan inodes 2025-09-26 08:36:08 -04:00
fsmap.c ext4: correctly handle queries for metadata mappings 2025-09-25 23:04:48 -04:00
fsmap.h
fsync.c
hash.c
ialloc.c fs: add an icount_read helper 2025-09-01 12:41:09 +02:00
indirect.c ext4: add ext4_sb_bread_nofail() helper function for ext4_free_branches() 2025-09-25 14:36:54 -04:00
inline.c ext4: do not BUG when INLINE_DATA_FL lacks system.data xattr 2025-07-25 09:14:17 -04:00
inode-test.c
inode.c ext4: Use folio_next_pos() 2025-10-31 13:11:37 +01:00
ioctl.c ext4: implemet new ioctls to set and get superblock parameters 2025-09-26 08:36:08 -04:00
mballoc-test.c ext4: convert free groups order lists to xarrays 2025-07-25 09:14:17 -04:00
mballoc.c New ext4 features: 2025-10-03 13:47:10 -07:00
mballoc.h ext4: refactor choose group to scan group 2025-07-25 09:14:17 -04:00
migrate.c
mmp.c ext4: replace min/max nesting with clamp() 2025-09-25 14:35:21 -04:00
move_extent.c ext4: fix an off-by-one issue during moving extents 2025-09-26 08:36:08 -04:00
namei.c ext4: fix unused variable warning in ext4_init_new_dir 2025-08-12 23:15:05 -04:00
orphan.c ext4: fix checks for orphan inodes 2025-09-26 08:36:08 -04:00
page-io.c ext4: remove redundant __GFP_NOWARN 2025-08-12 23:15:05 -04:00
readpage.c
resize.c
super.c New ext4 features: 2025-10-03 13:47:10 -07:00
symlink.c
sysfs.c
truncate.h
verity.c ext4: move verity info pointer to fs-specific part of inode 2025-08-21 13:58:08 +02:00
xattr.c ext4: validate ea_ino and size in check_xattrs 2025-09-26 08:36:08 -04:00
xattr.h
xattr_hurd.c
xattr_security.c
xattr_trusted.c
xattr_user.c