linux/fs/btrfs
David Sterba 2d44a15afd btrfs: use list_first_entry() everywhere
Using the helper makes it a bit more clear that we're accessing the
first list entry.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2025-05-15 14:30:47 +02:00
..
tests btrfs: rename remaining exported extent map functions 2025-05-15 14:30:45 +02:00
Kconfig lib/crc: remove CONFIG_LIBCRC32C 2025-04-04 11:31:42 -07:00
Makefile btrfs: selftests: add delayed ref self test cases 2025-01-13 14:53:13 +01:00
accessors.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
accessors.h btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
acl.c
acl.h btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
async-thread.c btrfs: use list_first_entry() everywhere 2025-05-15 14:30:47 +02:00
async-thread.h
backref.c btrfs: use list_first_entry() everywhere 2025-05-15 14:30:47 +02:00
backref.h btrfs: remove detached list from struct btrfs_backref_cache 2025-01-13 14:53:15 +01:00
bio.c btrfs: pass a physical address to btrfs_repair_io_failure() 2025-05-15 14:30:46 +02:00
bio.h btrfs: pass a physical address to btrfs_repair_io_failure() 2025-05-15 14:30:46 +02:00
block-group.c btrfs: use list_first_entry() everywhere 2025-05-15 14:30:47 +02:00
block-group.h btrfs: constify more pointer parameters 2024-09-10 16:51:22 +02:00
block-rsv.c btrfs: drop fs_info argument from btrfs_update_space_info_*() 2025-01-13 14:53:14 +01:00
block-rsv.h btrfs: constify more pointer parameters 2024-09-10 16:51:22 +02:00
btrfs_inode.h btrfs: move kmapping out of btrfs_check_sector_csum() 2025-05-15 14:30:46 +02:00
compression.c btrfs: use bvec_kmap_local() in btrfs_decompress_buf2page() 2025-05-15 14:30:47 +02:00
compression.h btrfs: prepare compression paths for large data folios 2025-05-15 14:30:45 +02:00
ctree.c btrfs: avoid redundant path slot assignment in btrfs_search_forward() 2025-03-18 20:35:52 +01:00
ctree.h btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
defrag.c btrfs: enable large data folios support for defrag 2025-05-15 14:30:45 +02:00
defrag.h btrfs: pass struct btrfs_inode to btrfs_defrag_file() 2025-03-18 20:35:43 +01:00
delalloc-space.c btrfs: refactor how we handle reserved space inside copy_one_range() 2025-05-15 14:30:40 +02:00
delalloc-space.h btrfs: refactor how we handle reserved space inside copy_one_range() 2025-05-15 14:30:40 +02:00
delayed-inode.c btrfs: update and correct description of btrfs_get_or_create_delayed_node() 2025-05-15 14:30:46 +02:00
delayed-inode.h btrfs: pass struct btrfs_inode to btrfs_fill_inode() 2025-03-18 20:35:43 +01:00
delayed-ref.c btrfs: simplify return logic from btrfs_delayed_ref_init() 2025-05-15 14:30:46 +02:00
delayed-ref.h btrfs: remove BTRFS_REF_LAST from enum btrfs_ref_type 2025-05-15 14:30:47 +02:00
dev-replace.c btrfs: convert ASSERT(0) with handled errors to DEBUG_WARN() 2025-05-15 14:30:47 +02:00
dev-replace.h
dir-item.c btrfs: use BTRFS_PATH_AUTO_FREE in btrfs_check_dir_item_collision() 2025-03-18 20:35:47 +01:00
dir-item.h btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
direct-io.c btrfs: rename remaining exported extent map functions 2025-05-15 14:30:45 +02:00
direct-io.h btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
discard.c btrfs: fix discard worker infinite loop after disabling discard 2025-05-12 21:38:56 +02:00
discard.h btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
disk-io.c btrfs: use list_first_entry() everywhere 2025-05-15 14:30:47 +02:00
disk-io.h btrfs: remove stray comment about SRCU 2025-01-13 14:53:21 +01:00
export.c btrfs: make btrfs_iget() return a btrfs inode instead 2025-03-18 20:35:50 +01:00
export.h
extent-io-tree.c btrfs: use list_first_entry() everywhere 2025-05-15 14:30:47 +02:00
extent-io-tree.h btrfs: make btrfs_find_contiguous_extent_bit() return bool instead of int 2025-05-15 14:30:44 +02:00
extent-tree.c btrfs: convert WARN_ON(IS_ENABLED(CONFIG_BTRFS_DEBUG)) to DEBUG_WARN 2025-05-15 14:30:47 +02:00
extent-tree.h btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
extent_io.c btrfs: convert ASSERT(0) with handled errors to DEBUG_WARN() 2025-05-15 14:30:47 +02:00
extent_io.h btrfs: remove unused flag EXTENT_BUFFER_IN_TREE 2025-05-15 14:30:39 +02:00
extent_map.c btrfs: rename __tree_search() to remove double underscore prefix 2025-05-15 14:30:45 +02:00
extent_map.h btrfs: rename remaining exported extent map functions 2025-05-15 14:30:45 +02:00
fiemap.c btrfs: rename free_extent_state() to include a btrfs prefix 2025-05-15 14:30:44 +02:00
fiemap.h
file-item.c btrfs: rename exported extent map compression functions 2025-05-15 14:30:45 +02:00
file-item.h btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
file.c btrfs: rename iov_iter iterator parameter in btrfs_buffered_write() 2025-05-15 14:30:46 +02:00
file.h btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
free-space-cache.c btrfs: use list_first_entry() everywhere 2025-05-15 14:30:47 +02:00
free-space-cache.h btrfs: add cancellation points to trim loops 2024-10-07 23:21:56 +02:00
free-space-tree.c btrfs: convert ASSERT(0) with handled errors to DEBUG_WARN() 2025-05-15 14:30:47 +02:00
free-space-tree.h
fs.c btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
fs.h btrfs: add back warning for mount option commit values exceeding 300 2025-05-12 21:39:34 +02:00
inode-item.c btrfs: use BTRFS_PATH_AUTO_FREE in btrfs_insert_inode_extref() 2025-05-15 14:30:42 +02:00
inode-item.h btrfs: constify more pointer parameters 2024-09-10 16:51:22 +02:00
inode.c btrfs: use list_first_entry() everywhere 2025-05-15 14:30:47 +02:00
ioctl.c btrfs: add btrfs prefix to main lock, try lock and unlock extent functions 2025-05-15 14:30:43 +02:00
ioctl.h btrfs: pass struct btrfs_inode to btrfs_sync_inode_flags_to_i_flags() 2025-03-18 20:35:49 +01:00
locking.c btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
locking.h btrfs: add assertions and comment about path expectations to btrfs_cross_ref_exist() 2025-01-13 14:53:16 +01:00
lru_cache.c
lru_cache.h btrfs: cleanup recursive include of the same header 2024-07-11 15:33:22 +02:00
lzo.c btrfs: prepare compression paths for large data folios 2025-05-15 14:30:45 +02:00
messages.c btrfs: disable rate limiting when debug enabled 2024-10-01 19:29:41 +02:00
messages.h btrfs: add debug build only WARN 2025-05-15 14:30:47 +02:00
misc.h btrfs: constify pointer parameters where applicable 2024-07-11 15:33:22 +02:00
ordered-data.c btrfs: add btrfs prefix to main lock, try lock and unlock extent functions 2025-05-15 14:30:43 +02:00
ordered-data.h btrfs: introduce a read path dedicated extent lock helper 2025-03-18 20:35:48 +01:00
orphan.c btrfs: BTRFS_PATH_AUTO_FREE in orphan.c 2024-09-10 16:51:22 +02:00
orphan.h
print-tree.c btrfs: avoid using fixed char array size for tree names 2024-08-02 22:44:27 +02:00
print-tree.h btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
props.c btrfs: props: switch prop_handler::extract to struct btrfs_inode 2025-03-18 20:35:44 +01:00
props.h btrfs: pass struct btrfs_inode to btrfs_inode_inherit_props() 2025-03-18 20:35:44 +01:00
qgroup.c btrfs: convert WARN_ON(IS_ENABLED(CONFIG_BTRFS_DEBUG)) to DEBUG_WARN 2025-05-15 14:30:47 +02:00
qgroup.h btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
raid-stripe-tree.c btrfs: don't use btrfs_set_item_key_safe on RAID stripe-extents 2025-01-14 15:52:22 +01:00
raid-stripe-tree.h btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
raid56.c btrfs: use list_first_entry() everywhere 2025-05-15 14:30:47 +02:00
raid56.h
rcu-string.h
ref-verify.c btrfs: ref-verify: fix use-after-free after invalid ref action 2024-11-29 16:52:29 +01:00
ref-verify.h
reflink.c btrfs: rename the functions to clear bits for an extent range 2025-05-15 14:30:43 +02:00
reflink.h
relocation.c btrfs: use list_first_entry() everywhere 2025-05-15 14:30:47 +02:00
relocation.h
root-tree.c btrfs: root-tree: remove unnecessary calls to btrfs_mark_buffer_dirty() 2025-01-13 14:53:20 +01:00
root-tree.h
scrub.c btrfs: scrub: use virtual addresses directly 2025-05-15 14:30:47 +02:00
scrub.h
send.c btrfs: use list_first_entry() everywhere 2025-05-15 14:30:47 +02:00
send.h btrfs: pass btrfs_root pointers to send ioctl parameters 2025-03-18 20:35:49 +01:00
space-info.c btrfs: fix typo in space info explanation 2025-05-15 14:30:39 +02:00
space-info.h btrfs: zoned: reclaim unused zone by zone resetting 2025-01-13 14:53:14 +01:00
subpage.c btrfs: subpage: prepare for large data folios 2025-05-15 14:30:42 +02:00
subpage.h btrfs: replace PAGE_SIZE with folio_size for subpage.[ch] 2025-03-18 20:35:52 +01:00
super.c btrfs: rename remaining exported extent map functions 2025-05-15 14:30:45 +02:00
super.h btrfs: change BTRFS_MOUNT_* flags to 64bit type 2024-07-19 17:20:23 +02:00
sysfs.c btrfs: allow debug builds to accept 2K block size 2025-03-18 20:35:49 +01:00
sysfs.h btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
transaction.c btrfs: rename remaining exported functions from extent-io-tree.h 2025-05-15 14:30:44 +02:00
transaction.h btrfs: move abort_should_print_stack() to transaction.h 2025-01-13 14:53:17 +01:00
tree-checker.c btrfs: convert WARN_ON(IS_ENABLED(CONFIG_BTRFS_DEBUG)) to DEBUG_WARN 2025-05-15 14:30:47 +02:00
tree-checker.h btrfs: validate system chunk array at btrfs_validate_super() 2025-01-13 14:53:18 +01:00
tree-log.c btrfs: use list_first_entry() everywhere 2025-05-15 14:30:47 +02:00
tree-log.h btrfs: avoid transaction commit on any fsync after subvolume creation 2024-07-11 15:33:24 +02:00
tree-mod-log.c btrfs: drop unused parameter path from btrfs_tree_mod_log_rewind() 2024-11-11 14:34:15 +01:00
tree-mod-log.h btrfs: drop unused parameter path from btrfs_tree_mod_log_rewind() 2024-11-11 14:34:15 +01:00
ulist.c btrfs: preallocate ulist memory for qgroup rsv 2024-07-11 15:33:26 +02:00
ulist.h btrfs: preallocate ulist memory for qgroup rsv 2024-07-11 15:33:26 +02:00
uuid-tree.c btrfs: uuid-tree: remove unnecessary call to btrfs_mark_buffer_dirty() 2025-01-13 14:53:20 +01:00
uuid-tree.h btrfs: move uuid tree related code to uuid-tree.[ch] 2024-09-10 16:51:12 +02:00
verity.c btrfs: pass struct btrfs_inode to btrfs_sync_inode_flags_to_i_flags() 2025-03-18 20:35:49 +01:00
verity.h
volumes.c btrfs: use list_first_entry() everywhere 2025-05-15 14:30:47 +02:00
volumes.h btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
xattr.c btrfs: xattr: remove unnecessary call to btrfs_mark_buffer_dirty() 2025-01-13 14:53:20 +01:00
xattr.h btrfs: update include and forward declarations in headers 2025-03-18 20:35:43 +01:00
zlib.c btrfs: prepare compression paths for large data folios 2025-05-15 14:30:45 +02:00
zoned.c btrfs: convert ASSERT(0) with handled errors to DEBUG_WARN() 2025-05-15 14:30:47 +02:00
zoned.h btrfs: zoned: reclaim unused zone by zone resetting 2025-01-13 14:53:14 +01:00
zstd.c btrfs: prepare compression paths for large data folios 2025-05-15 14:30:45 +02:00