| /Linux-v5.4/fs/btrfs/tests/ | 
| D | qgroup-tests.c | 208 		u32 sectorsize, u32 nodesize)  in test_no_shared_qgroup()  argument 230 	ret = btrfs_find_all_roots(&trans, fs_info, nodesize, 0, &old_roots,  in test_no_shared_qgroup() 238 	ret = insert_normal_tree_ref(root, nodesize, nodesize, 0,  in test_no_shared_qgroup() 243 	ret = btrfs_find_all_roots(&trans, fs_info, nodesize, 0, &new_roots,  in test_no_shared_qgroup() 252 	ret = btrfs_qgroup_account_extent(&trans, nodesize, nodesize, old_roots,  in test_no_shared_qgroup() 260 				nodesize, nodesize)) {  in test_no_shared_qgroup() 267 	ret = btrfs_find_all_roots(&trans, fs_info, nodesize, 0, &old_roots,  in test_no_shared_qgroup() 275 	ret = remove_extent_item(root, nodesize, nodesize);  in test_no_shared_qgroup() 279 	ret = btrfs_find_all_roots(&trans, fs_info, nodesize, 0, &new_roots,  in test_no_shared_qgroup() 288 	ret = btrfs_qgroup_account_extent(&trans, nodesize, nodesize, old_roots,  in test_no_shared_qgroup() [all …] 
 | 
| D | btrfs-tests.h | 33 int btrfs_test_extent_buffer_operations(u32 sectorsize, u32 nodesize); 34 int btrfs_test_free_space_cache(u32 sectorsize, u32 nodesize); 35 int btrfs_test_extent_io(u32 sectorsize, u32 nodesize); 36 int btrfs_test_inodes(u32 sectorsize, u32 nodesize); 37 int btrfs_test_qgroups(u32 sectorsize, u32 nodesize); 38 int btrfs_test_free_space_tree(u32 sectorsize, u32 nodesize); 41 struct btrfs_fs_info *btrfs_alloc_dummy_fs_info(u32 nodesize, u32 sectorsize);
  | 
| D | btrfs-tests.c | 89 struct btrfs_fs_info *btrfs_alloc_dummy_fs_info(u32 nodesize, u32 sectorsize)  in btrfs_alloc_dummy_fs_info()  argument 110 	fs_info->nodesize = nodesize;  in btrfs_alloc_dummy_fs_info() 257 	u32 sectorsize, nodesize;  in btrfs_run_sanity_tests()  local 266 		for (nodesize = sectorsize;  in btrfs_run_sanity_tests() 267 		     nodesize <= BTRFS_MAX_METADATA_BLOCKSIZE;  in btrfs_run_sanity_tests() 268 		     nodesize <<= 1) {  in btrfs_run_sanity_tests() 270 				sectorsize, nodesize);  in btrfs_run_sanity_tests() 271 			ret = btrfs_test_free_space_cache(sectorsize, nodesize);  in btrfs_run_sanity_tests() 275 				nodesize);  in btrfs_run_sanity_tests() 278 			ret = btrfs_test_extent_io(sectorsize, nodesize);  in btrfs_run_sanity_tests() [all …] 
 | 
| D | free-space-tree-tests.c | 437 		    u32 nodesize, u32 alignment)  in run_test()  argument 446 	fs_info = btrfs_alloc_dummy_fs_info(nodesize, sectorsize);  in run_test() 465 	root->node = alloc_test_extent_buffer(root->fs_info, nodesize);  in run_test() 473 	root->alloc_bytenr += 2 * nodesize;  in run_test() 535 				 u32 nodesize, u32 alignment)  in run_test_both_formats()  argument 540 	ret = run_test(test_func, 0, sectorsize, nodesize, alignment);  in run_test_both_formats() 544 			 test_func, sectorsize, nodesize, alignment);  in run_test_both_formats() 548 	ret = run_test(test_func, 1, sectorsize, nodesize, alignment);  in run_test_both_formats() 552 			 test_func, sectorsize, nodesize, alignment);  in run_test_both_formats() 559 int btrfs_test_free_space_tree(u32 sectorsize, u32 nodesize)  in btrfs_test_free_space_tree()  argument [all …] 
 | 
| D | extent-buffer-tests.c | 12 static int test_btrfs_split_item(u32 sectorsize, u32 nodesize)  in test_btrfs_split_item()  argument 31 	fs_info = btrfs_alloc_dummy_fs_info(nodesize, sectorsize);  in test_btrfs_split_item() 51 	path->nodes[0] = eb = alloc_dummy_extent_buffer(fs_info, nodesize);  in test_btrfs_split_item() 221 int btrfs_test_extent_buffer_operations(u32 sectorsize, u32 nodesize)  in btrfs_test_extent_buffer_operations()  argument 224 	return test_btrfs_split_item(sectorsize, nodesize);  in btrfs_test_extent_buffer_operations()
  | 
| D | inode-tests.c | 218 static noinline int test_btrfs_get_extent(u32 sectorsize, u32 nodesize)  in test_btrfs_get_extent()  argument 242 	fs_info = btrfs_alloc_dummy_fs_info(nodesize, sectorsize);  in test_btrfs_get_extent() 254 	root->node = alloc_dummy_extent_buffer(fs_info, nodesize);  in test_btrfs_get_extent() 825 static int test_hole_first(u32 sectorsize, u32 nodesize)  in test_hole_first()  argument 845 	fs_info = btrfs_alloc_dummy_fs_info(nodesize, sectorsize);  in test_hole_first() 857 	root->node = alloc_dummy_extent_buffer(fs_info, nodesize);  in test_hole_first() 928 static int test_extent_accounting(u32 sectorsize, u32 nodesize)  in test_extent_accounting()  argument 943 	fs_info = btrfs_alloc_dummy_fs_info(nodesize, sectorsize);  in test_extent_accounting() 1112 int btrfs_test_inodes(u32 sectorsize, u32 nodesize)  in btrfs_test_inodes()  argument 1121 	ret = test_btrfs_get_extent(sectorsize, nodesize);  in btrfs_test_inodes() [all …] 
 | 
| D | extent-io-tests.c | 379 static int test_eb_bitmaps(u32 sectorsize, u32 nodesize)  in test_eb_bitmaps()  argument 422 	eb = __alloc_dummy_extent_buffer(fs_info, nodesize / 2, len);  in test_eb_bitmaps() 537 int btrfs_test_extent_io(u32 sectorsize, u32 nodesize)  in btrfs_test_extent_io()  argument 551 	ret = test_eb_bitmaps(sectorsize, nodesize);  in btrfs_test_extent_io()
  | 
| D | free-space-tests.c | 829 int btrfs_test_free_space_cache(u32 sectorsize, u32 nodesize)  in btrfs_test_free_space_cache()  argument 837 	fs_info = btrfs_alloc_dummy_fs_info(nodesize, sectorsize);  in btrfs_test_free_space_cache()
  | 
| /Linux-v5.4/fs/nilfs2/ | 
| D | btree.h | 46 #define NILFS_BTREE_NODE_NCHILDREN_MAX(nodesize)			\  argument 47 	(((nodesize) - sizeof(struct nilfs_btree_node) -		\ 50 #define NILFS_BTREE_NODE_NCHILDREN_MIN(nodesize)			\  argument 51 	((NILFS_BTREE_NODE_NCHILDREN_MAX(nodesize) - 1) / 2 + 1)
  | 
| /Linux-v5.4/fs/btrfs/ | 
| D | print-tree.c | 98 			if (!IS_ALIGNED(offset, eb->fs_info->nodesize))  in print_extent_item() 100 					offset, (unsigned long long)eb->fs_info->nodesize);  in print_extent_item() 114 			if (!IS_ALIGNED(offset, eb->fs_info->nodesize))  in print_extent_item() 116 				     offset, (unsigned long long)eb->fs_info->nodesize);  in print_extent_item()
  | 
| D | reada.c | 338 	length = fs_info->nodesize;  in reada_find_extent() 341 	if (ret || !bbio || length < fs_info->nodesize)  in reada_find_extent() 710 	dev->reada_next = re->logical + fs_info->nodesize;  in reada_start_machine_dev() 877 				re->logical, fs_info->nodesize,  in dump_devs() 910 			re->logical, fs_info->nodesize,  in dump_devs()
  | 
| D | delalloc-space.c | 274 	qgroup_rsv_size = (u64)outstanding_extents * fs_info->nodesize;  in btrfs_calculate_inode_block_rsv_size() 298 	*qgroup_reserve = nr_extents * fs_info->nodesize;  in calc_inode_reservations()
  | 
| D | disk-io.c | 1381 				     fs_info->nodesize);  in btrfs_add_log_tree() 2399 	u64 nodesize = btrfs_super_nodesize(sb);  in validate_super()  local 2444 	if (!is_power_of_2(nodesize) || nodesize < sectorsize ||  in validate_super() 2445 	    nodesize > BTRFS_MAX_METADATA_BLOCKSIZE) {  in validate_super() 2446 		btrfs_err(fs_info, "invalid nodesize %llu", nodesize);  in validate_super() 2449 	if (nodesize != le32_to_cpu(sb->__unused_leafsize)) {  in validate_super() 2451 			  le32_to_cpu(sb->__unused_leafsize), nodesize);  in validate_super() 2597 	u32 nodesize;  in open_ctree()  local 2779 	fs_info->nodesize = 4096;  in open_ctree() 2931 	nodesize = btrfs_super_nodesize(disk_super);  in open_ctree() [all …] 
 | 
| D | relocation.c | 1835 		blocksize = fs_info->nodesize;  in replace_path() 2272 	min_reserved = fs_info->nodesize * (BTRFS_MAX_LEVEL - 1) * 2;  in merge_reloc_root() 2381 	rc->merging_rsv_size += fs_info->nodesize * (BTRFS_MAX_LEVEL - 1) * 2;  in prepare_to_merge() 2672 			num_bytes += fs_info->nodesize;  in calcu_metadata_size() 2710 		tmp = fs_info->nodesize * RELOCATION_RESERVED_NODES;  in reserve_metadata_space() 2720 		rc->block_rsv->size = tmp + fs_info->nodesize *  in reserve_metadata_space() 2833 		blocksize = root->fs_info->nodesize;  in do_relocation() 2950 		blocksize = rc->extent_root->fs_info->nodesize;  in __mark_block_processed() 2990 	u32 blocksize = rc->extent_root->fs_info->nodesize;  in tree_block_processed() 3436 	block->key.objectid = rc->extent_root->fs_info->nodesize;  in add_tree_block() [all …] 
 | 
| D | sysfs.c | 529 	return snprintf(buf, PAGE_SIZE, "%u\n", fs_info->super_copy->nodesize);  in btrfs_nodesize_show() 532 BTRFS_ATTR(, nodesize, btrfs_nodesize_show); 609 	BTRFS_ATTR_PTR(, nodesize),
  | 
| D | qgroup.c | 1793 	u32 nodesize = fs_info->nodesize;  in qgroup_trace_extent_swap()  local 1880 			nodesize, GFP_NOFS);  in qgroup_trace_extent_swap() 1885 			nodesize, GFP_NOFS);  in qgroup_trace_extent_swap() 2171 							fs_info->nodesize,  in btrfs_qgroup_trace_subtree() 2747 		level_size = fs_info->nodesize;  in btrfs_qgroup_inherit() 3103 			num_bytes = fs_info->nodesize;  in qgroup_rescan_leaf() 3631 	BUG_ON(num_bytes != round_down(num_bytes, fs_info->nodesize));  in __btrfs_qgroup_reserve_meta() 3678 	BUG_ON(num_bytes != round_down(num_bytes, fs_info->nodesize));  in __btrfs_qgroup_free_meta()
  | 
| D | tree-checker.c | 921 		len = eb->fs_info->nodesize;  in extent_err() 1024 		    key->offset != fs_info->nodesize) {  in check_extent_item() 1027 				   key->offset, fs_info->nodesize);  in check_extent_item()
  | 
| D | extent-tree.c | 170 		offset = fs_info->nodesize;  in btrfs_lookup_extent_info() 202 			    key.offset == fs_info->nodesize)  in btrfs_lookup_extent_info() 410 				    IS_ALIGNED(offset, eb->fs_info->nodesize))  in btrfs_get_extent_inline_ref_type() 424 				    IS_ALIGNED(offset, eb->fs_info->nodesize))  in btrfs_get_extent_inline_ref_type() 2486 			num_bytes = fs_info->nodesize;  in __btrfs_mod_ref() 4270 		num_bytes = fs_info->nodesize;  in alloc_reserved_tree_block() 4327 				       fs_info->nodesize, 1);  in alloc_reserved_tree_block() 4335 					  fs_info->nodesize);  in alloc_reserved_tree_block() 4482 	u32 blocksize = fs_info->nodesize;  in btrfs_alloc_tree_block() 4750 				    root->fs_info->nodesize, parent,  in check_ref_exists() [all …] 
 | 
| D | scrub.c | 1880 	len = sctx->fs_info->nodesize - BTRFS_CSUM_SIZE;  in scrub_checksum_tree_block() 2495 			blocksize = sctx->fs_info->nodesize;  in scrub_extent() 2921 				bytes = fs_info->nodesize;  in scrub_raid56_parity() 3273 				bytes = fs_info->nodesize;  in scrub_stripe() 3809 	if (fs_info->nodesize > BTRFS_STRIPE_LEN) {  in btrfs_scrub_dev() 3817 		       fs_info->nodesize,  in btrfs_scrub_dev() 3830 	if (fs_info->nodesize >  in btrfs_scrub_dev() 3839 		       fs_info->nodesize,  in btrfs_scrub_dev()
  | 
| D | ctree.h | 240 	__le32 nodesize;  member 884 	u32 nodesize;  member 1129 	return info->nodesize - sizeof(struct btrfs_header);  in BTRFS_LEAF_DATA_SIZE() 2143 			 nodesize, 32); 2385 	return (u64)fs_info->nodesize * BTRFS_MAX_LEVEL * 2 * num_items;  in btrfs_calc_insert_metadata_size() 2395 	return (u64)fs_info->nodesize * BTRFS_MAX_LEVEL * num_items;  in btrfs_calc_metadata_size()
  | 
| D | root-tree.c | 529 		qgroup_num_bytes = 3 * fs_info->nodesize;  in btrfs_subvolume_reserve_metadata()
  | 
| D | check-integrity.c | 2899 	if (!PAGE_ALIGNED(fs_info->nodesize)) {  in btrfsic_mount() 2901 		       fs_info->nodesize, PAGE_SIZE);  in btrfsic_mount() 2925 	state->metablock_size = fs_info->nodesize;  in btrfsic_mount()
  | 
| D | delayed-inode.c | 630 				fs_info->nodesize, true);  in btrfs_delayed_inode_reserve_metadata() 652 			btrfs_qgroup_free_meta_prealloc(root, fs_info->nodesize);  in btrfs_delayed_inode_reserve_metadata()
  | 
| D | ctree.c | 1616 	blocksize = fs_info->nodesize;  in btrfs_realloc_node() 2239 	blocksize = fs_info->nodesize;  in reada_for_search() 3415 	root_add_used(root, fs_info->nodesize);  in insert_new_root() 3545 	root_add_used(root, fs_info->nodesize);  in split_node() 4326 	root_add_used(root, fs_info->nodesize);  in split_leaf()
  | 
| /Linux-v5.4/include/uapi/linux/ | 
| D | btrfs.h | 231 	__u32 nodesize;				/* out */  member
  |