/linux-4.4.14/fs/nilfs2/ |
D | btree.h | 59 #define NILFS_BTREE_NODE_NCHILDREN_MAX(nodesize) \ argument 60 (((nodesize) - sizeof(struct nilfs_btree_node) - \ 63 #define NILFS_BTREE_NODE_NCHILDREN_MIN(nodesize) \ argument 64 ((NILFS_BTREE_NODE_NCHILDREN_MAX(nodesize) - 1) / 2 + 1)
|
/linux-4.4.14/fs/btrfs/ |
D | disk-io.c | 1216 static void __setup_root(u32 nodesize, u32 sectorsize, u32 stripesize, in __setup_root() argument 1223 root->nodesize = nodesize; in __setup_root() 1331 __setup_root(tree_root->nodesize, tree_root->sectorsize, in btrfs_create_tree() 1407 __setup_root(tree_root->nodesize, tree_root->sectorsize, in alloc_log_tree() 1475 btrfs_set_stack_inode_nbytes(inode_item, root->nodesize); in btrfs_add_log_tree() 1507 __setup_root(tree_root->nodesize, tree_root->sectorsize, in btrfs_read_tree_root() 2380 __setup_root(tree_root->nodesize, tree_root->sectorsize, in btrfs_replay_log() 2476 u32 nodesize; in open_ctree() local 2786 nodesize = btrfs_super_nodesize(disk_super); in open_ctree() 2789 fs_info->dirty_metadata_batch = nodesize * (1 + ilog2(nr_cpu_ids)); in open_ctree() [all …]
|
D | reada.c | 350 blocksize = root->nodesize; in reada_find_extent() 696 dev->reada_next = re->logical + fs_info->tree_root->nodesize; in reada_start_machine_dev() 852 re->logical, fs_info->tree_root->nodesize, in dump_devs() 887 re->logical, fs_info->tree_root->nodesize, in dump_devs()
|
D | sysfs.c | 407 return snprintf(buf, PAGE_SIZE, "%u\n", fs_info->super_copy->nodesize); in btrfs_nodesize_show() 410 BTRFS_ATTR(nodesize, btrfs_nodesize_show); 434 BTRFS_ATTR_PTR(nodesize),
|
D | relocation.c | 1823 blocksize = dest->nodesize; 2163 min_reserved = root->nodesize * (BTRFS_MAX_LEVEL - 1) * 2; 2276 rc->merging_rsv_size += root->nodesize * (BTRFS_MAX_LEVEL - 1) * 2; 2577 num_bytes += rc->extent_root->nodesize; 2609 tmp = rc->extent_root->nodesize * 2620 rc->block_rsv->size = tmp + rc->extent_root->nodesize * 2711 blocksize = root->nodesize; 2824 blocksize = rc->extent_root->nodesize; 2864 u32 blocksize = rc->extent_root->nodesize; 3337 block->key.objectid = rc->extent_root->nodesize; [all …]
|
D | scrub.c | 187 u32 nodesize; member 492 sctx->nodesize = dev->dev_root->nodesize; in scrub_setup_ctx() 1898 len = sctx->nodesize - BTRFS_CSUM_SIZE; in scrub_checksum_tree_block() 2497 blocksize = sctx->nodesize; in scrub_extent() 2639 blocksize = sctx->nodesize; in scrub_extent_for_parity() 2934 bytes = root->nodesize; in scrub_raid56_parity() 3285 bytes = root->nodesize; in scrub_stripe() 3799 if (fs_info->chunk_root->nodesize > BTRFS_STRIPE_LEN) { in btrfs_scrub_dev() 3807 fs_info->chunk_root->nodesize, BTRFS_STRIPE_LEN); in btrfs_scrub_dev() 3820 if (fs_info->chunk_root->nodesize > in btrfs_scrub_dev() [all …]
|
D | extent-tree.c | 341 root->nodesize : root->sectorsize; in fragment_free_space() 520 fs_info->tree_root->nodesize; in caching_thread() 825 offset = root->nodesize; in btrfs_lookup_extent_info() 858 key.offset == root->nodesize) in btrfs_lookup_extent_info() 2771 num_bytes += (num_heads - 1) * root->nodesize; in btrfs_check_space_for_delayed_refs() 2773 num_bytes += btrfs_csum_bytes_to_leaves(root, csum_bytes) * root->nodesize; in btrfs_check_space_for_delayed_refs() 3234 num_bytes = root->nodesize; in __btrfs_mod_ref() 5310 return ALIGN(num_bytes, fs_info->extent_root->nodesize << 10); in calc_global_metadata_size() 5477 num_bytes = 3 * root->nodesize; in btrfs_subvolume_reserve_metadata() 5659 nr_extents * root->nodesize); in btrfs_delalloc_reserve_metadata() [all …]
|
D | ctree.h | 386 #define BTRFS_NODEPTRS_PER_BLOCK(r) (((r)->nodesize - \ 390 #define BTRFS_LEAF_DATA_SIZE(r) (__BTRFS_LEAF_DATA_SIZE(r->nodesize)) 474 __le32 nodesize; member 1899 u32 nodesize; member 3121 nodesize, 32); 3380 return (root->nodesize + root->nodesize * (BTRFS_MAX_LEVEL - 1)) * in btrfs_calc_trans_metadata_size() 3391 return root->nodesize * BTRFS_MAX_LEVEL * num_items; in btrfs_calc_trunc_metadata_size()
|
D | qgroup.c | 1910 level_size = srcroot->nodesize; in btrfs_qgroup_inherit() 2253 num_bytes = fs_info->extent_root->nodesize; in qgroup_rescan_leaf() 2623 BUG_ON(num_bytes != round_down(num_bytes, root->nodesize)); in btrfs_qgroup_reserve_meta() 2649 BUG_ON(num_bytes != round_down(num_bytes, root->nodesize)); in btrfs_qgroup_free_meta()
|
D | ctree.c | 1649 blocksize = root->nodesize; in btrfs_realloc_node() 2266 blocksize = root->nodesize; in reada_for_search() 3355 root_add_used(root, root->nodesize); in insert_new_root() 3494 root_add_used(root, root->nodesize); in split_node() 4274 root_add_used(root, root->nodesize); in split_leaf() 5365 tmp_buf = kmalloc(left_root->nodesize, GFP_NOFS); in btrfs_compare_trees()
|
D | transaction.c | 482 qgroup_reserved = num_items * root->nodesize; in start_transaction() 492 num_bytes += root->nodesize; in start_transaction()
|
D | check-integrity.c | 3082 if (root->nodesize & ((u64)PAGE_CACHE_SIZE - 1)) { in btrfsic_mount() 3085 root->nodesize, PAGE_CACHE_SIZE); in btrfsic_mount() 3113 state->metablock_size = root->nodesize; in btrfsic_mount()
|
D | ioctl.c | 516 btrfs_set_stack_inode_nbytes(inode_item, root->nodesize); in create_subvol() 2727 fi_args->nodesize = root->fs_info->super_copy->nodesize; in btrfs_ioctl_fs_info() 3544 buf = vmalloc(root->nodesize); in btrfs_clone()
|
D | backref.c | 1503 size = fs_info->extent_root->nodesize;
|
D | extent_io.c | 4815 len = fs_info->tree_root->nodesize; in alloc_dummy_extent_buffer() 4976 unsigned long len = fs_info->tree_root->nodesize; in alloc_extent_buffer()
|
D | file.c | 1673 if (dirty_pages < (root->nodesize >> PAGE_CACHE_SHIFT) + 1) in __btrfs_buffered_write()
|
D | tree-log.c | 2418 blocksize = root->nodesize; in walk_down_log_tree()
|
D | volumes.c | 6460 ASSERT(BTRFS_SUPER_INFO_SIZE <= root->nodesize); in btrfs_read_sys_array()
|
/linux-4.4.14/include/uapi/linux/ |
D | btrfs.h | 186 __u32 nodesize; /* out */ member
|