Searched refs:leafsize (Results 1 – 8 of 8) sorted by relevance
/fs/btrfs/ |
D | disk-io.c | 1129 static void __setup_root(u32 nodesize, u32 leafsize, u32 sectorsize, in __setup_root() argument 1138 root->leafsize = leafsize; in __setup_root() 1195 __setup_root(tree_root->nodesize, tree_root->leafsize, in find_and_setup_root() 1238 __setup_root(tree_root->nodesize, tree_root->leafsize, in alloc_log_tree() 1253 leaf = btrfs_alloc_free_block(trans, root, root->leafsize, 0, in alloc_log_tree() 1306 inode_item->nbytes = cpu_to_le64(root->leafsize); in btrfs_add_log_tree() 1342 __setup_root(tree_root->nodesize, tree_root->leafsize, in btrfs_read_fs_root_no_radix() 1850 u32 leafsize; in open_ctree() local 2129 leafsize = btrfs_super_leafsize(disk_super); in open_ctree() 2138 (sectorsize != leafsize)) { in open_ctree() [all …]
|
D | scrub.c | 108 u32 leafsize; member 252 sdev->leafsize = dev->dev_root->leafsize; in scrub_setup_dev() 1314 BUG_ON(sdev->nodesize != sdev->leafsize); in scrub_checksum_tree_block() 1718 BUG_ON(sdev->nodesize != sdev->leafsize); in scrub_extent() 2226 if (root->nodesize != root->leafsize) { in btrfs_scrub_dev() 2229 root->nodesize, root->leafsize); in btrfs_scrub_dev()
|
D | ctree.h | 358 #define BTRFS_LEAF_DATA_SIZE(r) (__BTRFS_LEAF_DATA_SIZE(r->leafsize)) 441 __le32 leafsize; member 1347 u32 leafsize; member 2331 leafsize, 32); 2426 return root->leafsize; in btrfs_level_size() 2459 return (root->leafsize + root->nodesize * (BTRFS_MAX_LEVEL - 1)) * in btrfs_calc_trans_metadata_size() 2470 return (root->leafsize + root->nodesize * (BTRFS_MAX_LEVEL - 1)) * in btrfs_calc_trunc_metadata_size()
|
D | backref.c | 1113 fs_info->tree_root->leafsize, 0); in iterate_leaf_refs()
|
D | ioctl.c | 369 leaf = btrfs_alloc_free_block(trans, root, root->leafsize, in create_subvol() 395 inode_item->nbytes = cpu_to_le64(root->leafsize); in create_subvol()
|
D | file.c | 1290 if (dirty_pages < (root->leafsize >> PAGE_CACHE_SHIFT) + 1) in __btrfs_buffered_write()
|
D | ctree.c | 3005 right = btrfs_alloc_free_block(trans, root, root->leafsize, 0, in split_leaf() 3011 root_add_used(root, root->leafsize); in split_leaf()
|
D | extent-tree.c | 4206 return ALIGN(num_bytes, fs_info->extent_root->leafsize << 10); in calc_global_metadata_size()
|