/linux-4.1.27/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.1.27/fs/btrfs/ |
D | disk-io.c | 1208 static void __setup_root(u32 nodesize, u32 sectorsize, u32 stripesize, in __setup_root() argument 1215 root->nodesize = nodesize; in __setup_root() 1322 __setup_root(tree_root->nodesize, tree_root->sectorsize, in btrfs_create_tree() 1398 __setup_root(tree_root->nodesize, tree_root->sectorsize, in alloc_log_tree() 1466 btrfs_set_stack_inode_nbytes(inode_item, root->nodesize); in btrfs_add_log_tree() 1498 __setup_root(tree_root->nodesize, tree_root->sectorsize, in btrfs_read_tree_root() 2335 __setup_root(tree_root->nodesize, tree_root->sectorsize, in btrfs_replay_log() 2427 u32 nodesize; in open_ctree() local 2738 nodesize = btrfs_super_nodesize(disk_super); in open_ctree() 2741 fs_info->dirty_metadata_batch = nodesize * (1 + ilog2(nr_cpu_ids)); in open_ctree() [all …]
|
D | reada.c | 349 blocksize = root->nodesize; in reada_find_extent() 694 dev->reada_next = re->logical + fs_info->tree_root->nodesize; in reada_start_machine_dev() 850 re->logical, fs_info->tree_root->nodesize, in dump_devs() 885 re->logical, fs_info->tree_root->nodesize, in dump_devs()
|
D | sysfs.c | 406 return snprintf(buf, PAGE_SIZE, "%u\n", fs_info->super_copy->nodesize); in btrfs_nodesize_show() 409 BTRFS_ATTR(nodesize, btrfs_nodesize_show); 433 BTRFS_ATTR_PTR(nodesize),
|
D | relocation.c | 1823 blocksize = dest->nodesize; 2161 min_reserved = root->nodesize * (BTRFS_MAX_LEVEL - 1) * 2; 2274 rc->merging_rsv_size += root->nodesize * (BTRFS_MAX_LEVEL - 1) * 2; 2576 num_bytes += rc->extent_root->nodesize; 2608 tmp = rc->extent_root->nodesize * 2619 rc->block_rsv->size = tmp + rc->extent_root->nodesize * 2710 blocksize = root->nodesize; 2820 blocksize = rc->extent_root->nodesize; 2860 u32 blocksize = rc->extent_root->nodesize; 3331 block->key.objectid = rc->extent_root->nodesize; [all …]
|
D | scrub.c | 186 u32 nodesize; member 500 sctx->nodesize = dev->dev_root->nodesize; in scrub_setup_ctx() 1943 len = sctx->nodesize - BTRFS_CSUM_SIZE; in scrub_checksum_tree_block() 2433 blocksize = sctx->nodesize; in scrub_extent() 2570 blocksize = sctx->nodesize; in scrub_extent_for_parity() 2848 bytes = root->nodesize; in scrub_raid56_parity() 3180 bytes = root->nodesize; in scrub_stripe() 3620 if (fs_info->chunk_root->nodesize > BTRFS_STRIPE_LEN) { in btrfs_scrub_dev() 3628 fs_info->chunk_root->nodesize, BTRFS_STRIPE_LEN); in btrfs_scrub_dev() 3641 if (fs_info->chunk_root->nodesize > in btrfs_scrub_dev() [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 1872 u32 nodesize; member 3077 nodesize, 32); 3336 return (root->nodesize + root->nodesize * (BTRFS_MAX_LEVEL - 1)) * in btrfs_calc_trans_metadata_size() 3347 return root->nodesize * BTRFS_MAX_LEVEL * num_items; in btrfs_calc_trunc_metadata_size()
|
D | extent-tree.c | 489 fs_info->tree_root->nodesize; in caching_thread() 763 offset = root->nodesize; in btrfs_lookup_extent_info() 796 key.offset == root->nodesize) in btrfs_lookup_extent_info() 2667 num_bytes += (num_heads - 1) * root->nodesize; in btrfs_check_space_for_delayed_refs() 2669 num_bytes += btrfs_csum_bytes_to_leaves(root, csum_bytes) * root->nodesize; in btrfs_check_space_for_delayed_refs() 3135 num_bytes = root->nodesize; in __btrfs_mod_ref() 5102 return ALIGN(num_bytes, fs_info->extent_root->nodesize << 10); in calc_global_metadata_size() 5251 num_bytes = 3 * root->nodesize; in btrfs_subvolume_reserve_metadata() 5434 ret = btrfs_qgroup_reserve(root, nr_extents * root->nodesize); in btrfs_delalloc_reserve_metadata() 5442 btrfs_qgroup_free(root, nr_extents * root->nodesize); in btrfs_delalloc_reserve_metadata() [all …]
|
D | ctree.c | 1646 blocksize = root->nodesize; in btrfs_realloc_node() 2260 blocksize = root->nodesize; in reada_for_search() 3349 root_add_used(root, root->nodesize); in insert_new_root() 3488 root_add_used(root, root->nodesize); in split_node() 4268 root_add_used(root, root->nodesize); in split_leaf() 5359 tmp_buf = kmalloc(left_root->nodesize, GFP_NOFS); in btrfs_compare_trees()
|
D | transaction.c | 447 qgroup_reserved = num_items * root->nodesize; in start_transaction() 458 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 | 515 btrfs_set_stack_inode_nbytes(inode_item, root->nodesize); in create_subvol() 2701 fi_args->nodesize = root->fs_info->super_copy->nodesize; in btrfs_ioctl_fs_info() 3347 buf = vmalloc(root->nodesize); in btrfs_clone()
|
D | qgroup.c | 2360 level_size = srcroot->nodesize; in btrfs_qgroup_inherit() 2694 num_bytes = fs_info->extent_root->nodesize; in qgroup_rescan_leaf()
|
D | backref.c | 1455 size = fs_info->extent_root->nodesize;
|
D | extent_io.c | 4743 len = fs_info->tree_root->nodesize; in alloc_dummy_extent_buffer() 4904 unsigned long len = fs_info->tree_root->nodesize; in alloc_extent_buffer()
|
D | file.c | 1657 if (dirty_pages < (root->nodesize >> PAGE_CACHE_SHIFT) + 1) in __btrfs_buffered_write()
|
D | tree-log.c | 2316 blocksize = root->nodesize; in walk_down_log_tree()
|
D | volumes.c | 6270 ASSERT(BTRFS_SUPER_INFO_SIZE <= root->nodesize); in btrfs_read_sys_array()
|
/linux-4.1.27/include/uapi/linux/ |
D | btrfs.h | 186 __u32 nodesize; /* out */ member
|