aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
AgeCommit message (Expand)AuthorFilesLines
2026-02-03btrfs: introduce BTRFS_PATH_AUTO_RELEASE() helperQu Wenruo1-0/+9
2025-11-24btrfs: use bool type for btrfs_path members used as booleansFilipe Manana1-8/+8
2025-11-24btrfs: headers cleanup to remove unnecessary local includesQu Wenruo1-2/+0
2025-07-21btrfs: split btrfs_is_fstree() into multiple if statements for readabilityFilipe Manana1-4/+9
2025-07-21btrfs: add btrfs prefix to is_fstree() and make it return boolFilipe Manana1-3/+3
2025-07-21btrfs: update comment for xarray fields in struct btrfs_rootSun YangKai1-8/+2
2025-07-21btrfs: constify more pointer parametersDavid Sterba1-4/+4
2025-05-17btrfs: move misplaced comment of btrfs_path::keep_locksSun YangKai1-1/+1
2025-03-18btrfs: update include and forward declarations in headersDavid Sterba1-1/+1
2025-01-13btrfs: remove pointless comment from ctree.hFilipe Manana1-1/+0
2025-01-13btrfs: move extent-tree function declarations out of ctree.hFilipe Manana1-5/+0
2025-01-13btrfs: move btrfs_alloc_write_mask() into fs.hFilipe Manana1-6/+0
2025-01-13btrfs: move BTRFS_BYTES_TO_BLKS() into fs.hFilipe Manana1-3/+0
2025-01-13btrfs: move the folio ordered helpers from ctree.h into fs.hFilipe Manana1-8/+0
2025-01-13btrfs: move csum related functions from ctree.c into fs.cFilipe Manana1-6/+0
2024-12-17btrfs: fix improper generation check in snapshot deleteJosef Bacik1-0/+19
2024-10-04btrfs: Switch from using the private_2 flag to owner_2Matthew Wilcox (Oracle)1-9/+4
2024-09-17btrfs: fix race setting file private on concurrent lseek using same fdFilipe Manana1-0/+2
2024-09-10btrfs: DEFINE_FREE for struct btrfs_pathLeo Martins1-0/+5
2024-09-10btrfs: constify more pointer parametersDavid Sterba1-3/+3
2024-09-03btrfs: fix race between direct IO write and fsync when using same fdFilipe Manana1-1/+0
2024-07-29btrfs: fix corruption after buffer fault in during direct IO append writeFilipe Manana1-0/+1
2024-07-11btrfs: fix data race when accessing the last_trans field of a rootFilipe Manana1-0/+10
2024-07-11btrfs: remove inode_lock from struct btrfs_root and use xarray locksFilipe Manana1-1/+0
2024-07-11btrfs: use an xarray to track open inodes in a rootFilipe Manana1-2/+5
2024-03-04btrfs: add forward declarations and headers, part 3David Sterba1-13/+12
2024-03-04btrfs: make btrfs_error_unpin_extent_range() return voidDavid Sterba1-2/+1
2023-12-15btrfs: switch btrfs_root::delayed_nodes_tree to xarray from radix-treeDavid Sterba1-3/+3
2023-12-15btrfs: remove unused btrfs_root::typeDavid Sterba1-2/+0
2023-12-15btrfs: use bool for return type of btrfs_block_can_be_shared()Filipe Manana1-3/+3
2023-12-15btrfs: remove log_extents_lock and logged_list from struct btrfs_rootFilipe Manana1-3/+0
2023-10-30Merge tag 'for-6.7-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdav...Linus Torvalds1-61/+81
2023-10-23btrfs: fix unwritten extent buffer after snapshotting a new subvolumeFilipe Manana1-1/+2
2023-10-12btrfs: add and use helpers for reading and writing log_transidFilipe Manana1-0/+18
2023-10-12btrfs: add and use helpers for reading and writing last_log_commitFilipe Manana1-1/+15
2023-10-12btrfs: move btrfs_realloc_node() from ctree.c into defrag.cFilipe Manana1-4/+0
2023-10-12btrfs: export comp_keys() from ctree.c as btrfs_comp_keys()Filipe Manana1-0/+31
2023-10-12btrfs: rename and export __btrfs_cow_block()Filipe Manana1-0/+7
2023-10-12btrfs: track data relocation with simple quotaBoris Burkov1-0/+3
2023-10-12btrfs: abort transaction on generation mismatch when marking eb as dirtyFilipe Manana1-4/+7
2023-10-12btrfs: remove extraneous includes from ctree.hJosef Bacik1-28/+0
2023-10-12btrfs: move btrfs_name_hash to dir-item.hJosef Bacik1-5/+0
2023-10-12btrfs: move btrfs_extref_hash into inode-item.hJosef Bacik1-9/+0
2023-10-12btrfs: remove btrfs_crc32c wrapperJosef Bacik1-5/+0
2023-10-12btrfs: move btrfs_crc32c_final into free-space-cache.cJosef Bacik1-5/+0
2023-08-14btrfs: fix infinite directory readsFilipe Manana1-0/+1
2023-06-19btrfs: do not BUG_ON() on tree mod log failures at btrfs_del_ptr()Filipe Manana1-2/+2
2023-06-19btrfs: rename del_ptr to btrfs_del_ptr and export itJosef Bacik1-0/+2
2023-06-19btrfs: add a btrfs_csum_type_size helperJosef Bacik1-0/+1
2023-06-19btrfs: print-tree: pass const extent buffer pointerQu Wenruo1-1/+1
2023-06-19btrfs: unexport btrfs_prev_leaf()Filipe Manana1-1/+0
2023-04-17btrfs: open code btrfs_bin_search()Anand Jain1-15/+2
2023-02-15btrfs: do unsigned integer division in the extent buffer binary search loopFilipe Manana1-1/+1
2023-02-15btrfs: eliminate extra call when doing binary search on extent bufferFilipe Manana1-0/+15
2022-12-05btrfs: move the csum helpers into ctree.hJosef Bacik1-0/+5
2022-12-05btrfs: move eb offset helpers into extent_io.hJosef Bacik1-33/+0
2022-12-05btrfs: move file_extent_item helpers into file-item.hJosef Bacik1-8/+0
2022-12-05btrfs: move root helpers back into ctree.hJosef Bacik1-0/+17
2022-12-05btrfs: use cached state when looking for delalloc ranges with lseekFilipe Manana1-0/+1
2022-12-05btrfs: move orphan prototypes into orphan.hJosef Bacik1-6/+0
2022-12-05btrfs: move super prototypes into super.hJosef Bacik1-7/+0
2022-12-05btrfs: move CONFIG_BTRFS_FS_RUN_SANITY_TESTS checks to fs.hJosef Bacik1-15/+0
2022-12-05btrfs: move verity prototypes into verity.hJosef Bacik1-22/+0
2022-12-05btrfs: move dev-replace prototypes into dev-replace.hJosef Bacik1-9/+0
2022-12-05btrfs: move scrub prototypes into scrub.hJosef Bacik1-11/+0
2022-12-05btrfs: move relocation prototypes into relocation.hJosef Bacik1-20/+0
2022-12-05btrfs: move acl prototypes into acl.hJosef Bacik1-18/+0
2022-12-05btrfs: move the snapshot drop related prototypes to extent-tree.hJosef Bacik1-6/+0
2022-12-05btrfs: move the 32bit warn defines into messages.hJosef Bacik1-13/+0
2022-12-05btrfs: move file prototypes to file.hJosef Bacik1-26/+0
2022-12-05btrfs: move ioctl prototypes into ioctl.hJosef Bacik1-12/+0
2022-12-05btrfs: move uuid tree prototypes to uuid-tree.hJosef Bacik1-7/+0
2022-12-05btrfs: move file-item prototypes into their own headerJosef Bacik1-31/+0
2022-12-05btrfs: move dir-item prototypes into dir-item.hJosef Bacik1-38/+0
2022-12-05btrfs: move defrag related prototypes to their own headerJosef Bacik1-18/+0
2022-12-05btrfs: move inode prototypes to btrfs_inode.hJosef Bacik1-140/+0
2022-12-05btrfs: move btrfs_chunk_item_size out of ctree.hJosef Bacik1-7/+0
2022-12-05btrfs: remove unused function prototypesJosef Bacik1-3/+0
2022-12-05btrfs: move root tree prototypes to their own headerJosef Bacik1-32/+0
2022-12-05btrfs: delete unused function prototypes in ctree.hJosef Bacik1-6/+0
2022-12-05btrfs: move delalloc space related prototypes to delalloc-space.hJosef Bacik1-3/+0
2022-12-05btrfs: move extent-tree helpers into their own header fileJosef Bacik1-72/+0
2022-12-05btrfs: move btrfs_account_ro_block_groups_free_space into space-info.cJosef Bacik1-1/+0
2022-12-05btrfs: remove extra space info prototypes in ctree.hJosef Bacik1-3/+0
2022-12-05btrfs: minor whitespace in ctree.hJosef Bacik1-2/+0
2022-12-05btrfs: move the lockdep helpers into locking.hJosef Bacik1-76/+0
2022-12-05btrfs: move btrfs_fs_info declarations into fs.hJosef Bacik1-658/+1
2022-12-05btrfs: use struct fscrypt_str instead of struct qstrSweet Tea Dorminy1-10/+9
2022-12-05btrfs: setup qstr from dentrys using fscrypt helperSweet Tea Dorminy1-0/+3
2022-12-05btrfs: use struct qstr instead of name and namelen pairsSweet Tea Dorminy1-14/+12
2022-12-05btrfs: remove temporary btrfs_map_token declaration in ctree.hJosef Bacik1-2/+0
2022-12-05btrfs: move accessor helpers into accessors.hJosef Bacik1-1090/+0
2022-12-05btrfs: move btrfs_map_token to accessorsJosef Bacik1-14/+2
2022-12-05btrfs: move the compat/incompat flag masks to fs.hJosef Bacik1-57/+0
2022-12-05btrfs: remove fs_info::pending_changes and related codeJosef Bacik1-22/+1
2022-12-05btrfs: move fs_info::flags enum to fs.hJosef Bacik1-68/+0
2022-12-05btrfs: move mount option definitions to fs.hJosef Bacik1-63/+0
2022-12-05btrfs: move BTRFS_FS_STATE* definitions and helpers to fs.hJosef Bacik1-46/+0
2022-12-05btrfs: move the printk helpers out of ctree.hJosef Bacik1-249/+0
2022-12-05btrfs: move assert helpers out of ctree.hJosef Bacik1-15/+3
2022-12-05btrfs: move fs wide helpers out of ctree.hJosef Bacik1-164/+0
2022-12-05btrfs: auto enable discard=async when possibleDavid Sterba1-0/+1
2022-12-05btrfs: convert BTRFS_ILOCK-* defines to enum bitDavid Sterba1-3/+6
2022-12-05btrfs: move the btrfs_verity_descriptor_item defs up in ctree.hJosef Bacik1-9/+10
2022-12-05btrfs: move btrfs_next_old_item into ctree.cJosef Bacik1-8/+1
2022-12-05btrfs: move free space cachep's out of ctree.hJosef Bacik1-2/+0
2022-12-05btrfs: move btrfs_path_cachep out of ctree.hJosef Bacik1-1/+2
2022-12-05btrfs: move trans_handle_cachep out of ctree.hJosef Bacik1-1/+0
2022-12-05btrfs: move flush related definitions to space-info.hJosef Bacik1-59/+0
2022-12-05btrfs: move discard stat defs to free-space-cache.hJosef Bacik1-9/+0
2022-12-05btrfs: move BTRFS_MAX_MIRRORS into scrub.cJosef Bacik1-11/+0
2022-12-05btrfs: move maximum limits to btrfs_tree.hJosef Bacik1-13/+0
2022-12-05btrfs: move btrfs on-disk definitions out of ctree.hJosef Bacik1-214/+1
2022-12-05btrfs: remove unused BTRFS_IOPRIO_READAJosef Bacik1-3/+0
2022-12-05btrfs: remove unused BTRFS_TOTAL_BYTES_PINNED_BATCHJosef Bacik1-8/+0
2022-12-05btrfs: remove unused set/clear_pending_info helpersJosef Bacik1-24/+0
2022-11-07btrfs: don't print stack trace when transaction is aborted due to ENOMEMDavid Sterba1-4/+7
2022-10-31btrfs: fix lost file sync on direct IO write with nowait and dsync iocbFilipe Manana1-1/+4
2022-09-29btrfs: move btrfs_drop_extent_cache() to extent_map.cFilipe Manana1-2/+0
2022-09-29btrfs: remove stale prototype of btrfs_write_inodeJeff Layton1-1/+0
2022-09-29btrfs: make btrfs_check_nocow_lock nowait compatibleJosef Bacik1-1/+1
2022-09-29btrfs: make can_nocow_extent nowait compatibleJosef Bacik1-2/+3
2022-09-26btrfs: implement a nowait option for tree searchesJosef Bacik1-0/+2
2022-09-26btrfs: move the fs_info related helpers closer to fs_info in ctree.hJosef Bacik1-60/+63
2022-09-26btrfs: move btrfs_csum_ptr to inode.cJosef Bacik1-8/+0
2022-09-26btrfs: move fs_info forward declarations to the top of ctree.hJosef Bacik1-7/+5
2022-09-26btrfs: move btrfs_swapfile_pin into volumes.hJosef Bacik1-25/+0
2022-09-26btrfs: move btrfs_pinned_by_swapfile prototype into volumes.hJosef Bacik1-2/+0
2022-09-26btrfs: move btrfs_init_async_reclaim_work prototype to space-info.hJosef Bacik1-2/+0
2022-09-26btrfs: move btrfs_full_stripe_locks_tree into block-group.hJosef Bacik1-14/+0
2022-09-26btrfs: move btrfs_caching_type to block-group.hJosef Bacik1-7/+0
2022-09-26btrfs: remove btrfs_bit_radix_cachep declarationGaosheng Cui1-1/+0
2022-09-26btrfs: skip subtree scan if it's too high to avoid low stall in btrfs_commit_...Qu Wenruo1-0/+1
2022-09-26btrfs: make fiemap more efficient and accurate reporting extent sharednessFilipe Manana1-2/+2
2022-09-26btrfs: speedup checking for extent sharedness during fiemapFilipe Manana1-0/+18
2022-09-26btrfs: separate BLOCK_GROUP_TREE compat RO flag from EXTENT_TREE_V2Qu Wenruo1-1/+2
2022-09-26btrfs: don't save block group root into super blockQu Wenruo1-25/+2
2022-09-26btrfs: dump all space infos if we abort transaction due to ENOSPCQu Wenruo1-2/+4
2022-09-26btrfs: don't take a bio_counter reference for cloned biosChristoph Hellwig1-1/+0
2022-09-26btrfs: sysfs: show discard stats and tunables in non-debug buildDavid Sterba1-1/+1
2022-09-26btrfs: send: add support for fs-verityBoris Burkov1-0/+7
2022-09-26btrfs: rename btrfs_insert_file_extent() to btrfs_insert_hole_extent()Omar Sandoval1-6/+3
2022-09-26btrfs: add lockdep annotations for the ordered extents wait eventIoannis Angelakopoulos1-0/+1
2022-09-26btrfs: add lockdep annotations for pending_ordered wait eventIoannis Angelakopoulos1-0/+1
2022-09-26btrfs: add lockdep annotations for transaction states wait eventsIoannis Angelakopoulos1-0/+32
2022-09-26btrfs: add lockdep annotations for num_extwriters wait eventIoannis Angelakopoulos1-0/+1
2022-09-26btrfs: add lockdep annotations for num_writers wait eventIoannis Angelakopoulos1-0/+6
2022-09-26btrfs: add macros for annotating wait events with lockdepIoannis Angelakopoulos1-0/+45
2022-09-05btrfs: zoned: fix API misuse of zone finish waitingNaohiro Aota1-2/+0
2022-08-23btrfs: fix space cache corruption and potential double allocationsOmar Sandoval1-1/+0
2022-08-17btrfs: fix lockdep splat with reloc root extent buffersJosef Bacik1-0/+2
2022-07-25btrfs: fix repair of compressed extentsChristoph Hellwig1-0/+2
2022-07-25btrfs: remove the start argument to check_data_csum and exportChristoph Hellwig1-0/+2
2022-07-25btrfs: zoned: wait until zone is finished when allocation didn't progressNaohiro Aota1-0/+5
2022-07-25btrfs: convert count_max_extents() to use fs_info->max_extent_sizeNaohiro Aota1-8/+13
2022-07-25btrfs: replace BTRFS_MAX_EXTENT_SIZE with fs_info->max_extent_sizeNaohiro Aota1-0/+6
2022-07-25btrfs: zoned: revive max_zone_append_bytesNaohiro Aota1-0/+2
2022-07-25btrfs: collect commit stats, count, durationIoannis Angelakopoulos1-0/+15
2022-07-25btrfs: use named constant for reserved device spaceQu Wenruo1-0/+7
2022-07-25btrfs: pass bits by value not by pointer for extent_state helpersDavid Sterba1-2/+2
2022-07-25btrfs: make btrfs_super_block::log_root_transid deprecatedQu Wenruo1-4/+6
2022-07-25btrfs: remove btrfs_end_io_wqChristoph Hellwig1-2/+2
2022-07-25btrfs: don't use btrfs_bio_wq_end_io for compressed writesChristoph Hellwig1-1/+1
2022-07-25btrfs: defer I/O completion based on the btrfs_raid_bioChristoph Hellwig1-1/+1
2022-07-25btrfs: split btrfs_submit_data_bio to read and write partsChristoph Hellwig1-2/+3
2022-07-25btrfs: send: send compressed extents with encoded writesOmar Sandoval1-0/+6
2022-07-25btrfs: factor out a btrfs_csum_ptr helperChristoph Hellwig1-0/+8
2022-07-25btrfs: introduce a data checksum checking helperQu Wenruo1-0/+2
2022-07-25btrfs: fix typos in commentsDavid Sterba1-1/+1
2022-07-15Revert "btrfs: turn delayed_nodes_tree into an XArray"David Sterba1-3/+3
2022-07-15Revert "btrfs: turn fs_info member buffer_radix into XArray"David Sterba1-2/+2
2022-07-15Revert "btrfs: turn fs_roots_radix in btrfs_fs_info into an XArray"David Sterba1-5/+3
2022-06-21btrfs: add missing inode updates on each iteration when replacing extentsFilipe Manana1-0/+2
2022-05-16btrfs: move struct btrfs_dio_private to inode.cChristoph Hellwig1-1/+0
2022-05-16btrfs: add a btrfs_dio_rw wrapperChristoph Hellwig1-2/+2
2022-05-16btrfs: rename bio_flags in parameters and switch typeDavid Sterba1-1/+1
2022-05-16btrfs: sink parameter is_data to btrfs_set_disk_extent_flagsDavid Sterba1-2/+1
2022-05-16btrfs: turn fs_roots_radix in btrfs_fs_info into an XArrayGabriel Niebler1-3/+5
2022-05-16btrfs: turn fs_info member buffer_radix into XArrayGabriel Niebler1-2/+2
2022-05-16btrfs: turn delayed_nodes_tree into an XArrayGabriel Niebler1-3/+3
2022-05-16btrfs: use a normal workqueue for rmw_workersChristoph Hellwig1-1/+1
2022-05-16btrfs: use normal workqueues for scrubChristoph Hellwig1-3/+3
2022-05-16btrfs: simplify WQ_HIGHPRI handling in struct btrfs_workqueueChristoph Hellwig1-0/+1
2022-05-16btrfs: do not return errors from submit_bio_hook_t instancesChristoph Hellwig1-2/+2
2022-05-16btrfs: move btrfs_readpage to extent_io.cChristoph Hellwig1-1/+0
2022-05-16btrfs: use a read/write lock for protecting the block groups treeFilipe Manana1-1/+1
2022-05-16btrfs: use rbtree with leftmost node cached for tracking lowest block groupFilipe Manana1-2/+1
2022-05-16btrfs: remove the zoned/zone_size union in struct btrfs_fs_infoChristoph Hellwig1-5/+2
2022-05-16btrfs: avoid blocking on space revervation when doing nowait dio writesFilipe Manana1-1/+1
2022-05-16btrfs: stop allocating a path when checking if cross reference existsFilipe Manana1-1/+2
2022-05-16btrfs: add messages to printk indexJonathan Lassoff1-5/+36
2022-05-16btrfs: add and use helper to assert an inode range is cleanFilipe Manana1-0/+1
2022-05-16btrfs: move common inode creation code into btrfs_create_new_inode()Omar Sandoval1-5/+1
2022-05-16btrfs: reserve correct number of items for inode creationOmar Sandoval1-6/+28
2022-05-16btrfs: allocate inode outside of btrfs_new_inode()Omar Sandoval1-2/+3
2022-05-16btrfs: introduce btrfs_for_each_slot iterator macroGabriel Niebler1-0/+29
2022-04-26Merge tag 'for-5.18-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-0/+1
2022-04-21btrfs: zoned: use dedicated lock for data relocationNaohiro Aota1-0/+1
2022-03-22Merge tag 'folio-5.18b' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-0/+3
2022-03-15btrfs: Convert from invalidatepage to invalidate_folioMatthew Wilcox (Oracle)1-0/+3