| /linux/fs/btrfs/tests/ |
| H A D | extent-map-tests.c | 82 em->ram_bytes = SZ_16K; in test_case_1() 104 em->ram_bytes = SZ_4K; in test_case_1() 126 em->ram_bytes = len; in test_case_1() 184 em->ram_bytes = SZ_1K; in test_case_2() 206 em->ram_bytes = SZ_4K; in test_case_2() 228 em->ram_bytes = SZ_1K; in test_case_2() 277 em->ram_bytes = SZ_4K; in __test_case_3() 299 em->ram_bytes = SZ_16K; in __test_case_3() 386 em->ram_bytes = SZ_8K; in __test_case_4() 408 em->ram_bytes = 24 * SZ_1K; in __test_case_4() [all …]
|
| /linux/fs/btrfs/ |
| H A D | extent_map.c | 303 merged->ram_bytes = new_disk_num_bytes; in merge_ondisk_extents() 315 em->ram_bytes, em->offset, em->flags); in dump_extent_map() 334 if (em->offset + em->len > em->ram_bytes) in validate_extent_map() 340 em->ram_bytes != em->disk_num_bytes) in validate_extent_map() 347 !IS_ALIGNED(em->ram_bytes, blocksize)) in validate_extent_map() 901 split->ram_bytes = em->ram_bytes; in btrfs_drop_extent_map_range() 906 split->ram_bytes = split->len; in btrfs_drop_extent_map_range() 932 split->ram_bytes = em->ram_bytes; in btrfs_drop_extent_map_range() 936 split->ram_bytes = split->len; in btrfs_drop_extent_map_range() 1093 split_pre->ram_bytes = split_pre->len; in btrfs_split_extent_map() [all …]
|
| H A D | inode.c | 1091 file_extent.ram_bytes = async_extent->ram_size; in submit_one_async_extent() 1229 file_extent.ram_bytes = ins->offset; in cow_one_range() 1847 args->file_extent.ram_bytes = btrfs_file_extent_ram_bytes(leaf, fi); in can_nocow_file_extent() 3062 u64 ram_bytes = btrfs_stack_file_extent_ram_bytes(stack_fi); in insert_reserved_file_extent() local 3129 ret = btrfs_inode_set_file_extent_range(inode, file_pos, ram_bytes); in insert_reserved_file_extent() 3159 u64 ram_bytes = oe->ram_bytes; in insert_ordered_extent_file_extent() local 3170 btrfs_set_stack_file_extent_ram_bytes(&stack_fi, ram_bytes); in insert_ordered_extent_file_extent() 5365 hole_em->ram_bytes = hole_size; in btrfs_cont_expand() 7551 ASSERT(file_extent->num_bytes <= file_extent->ram_bytes); in btrfs_create_io_em() 7556 ASSERT(file_extent->ram_bytes == file_extent->num_bytes); in btrfs_create_io_em() [all …]
|
| H A D | block-group.h | 375 u64 ram_bytes, u64 num_bytes, bool delalloc,
|
| H A D | file-item.c | 1363 em->ram_bytes = btrfs_file_extent_ram_bytes(leaf, fi); in btrfs_extent_item_to_extent_map() 1389 em->ram_bytes = em->disk_num_bytes; in btrfs_extent_item_to_extent_map()
|
| H A D | extent-tree.c | 4776 ret = btrfs_add_reserved_bytes(block_group, ffe_ctl->ram_bytes, in find_free_extent() 4877 int btrfs_reserve_extent(struct btrfs_root *root, u64 ram_bytes, in btrfs_reserve_extent() argument 4894 ffe_ctl.ram_bytes = ram_bytes; in btrfs_reserve_extent() 4913 ram_bytes = num_bytes; in btrfs_reserve_extent() 5160 u64 offset, u64 ram_bytes, in btrfs_alloc_reserved_file_extent() argument 5179 return btrfs_add_delayed_data_ref(trans, &generic_ref, ram_bytes); in btrfs_alloc_reserved_file_extent()
|
| H A D | direct-io.c | 202 file_extent.ram_bytes = ins.offset; in btrfs_new_extent_direct()
|
| H A D | defrag.c | 694 em->ram_bytes = 0; in defrag_get_extent()
|
| H A D | block-group.c | 3995 u64 ram_bytes, u64 num_bytes, bool delalloc, in btrfs_add_reserved_bytes() argument 4025 btrfs_space_info_update_bytes_may_use(space_info, -ram_bytes); in btrfs_add_reserved_bytes() 4031 if (num_bytes < ram_bytes) in btrfs_add_reserved_bytes()
|
| H A D | send.c | 5457 u64 ram_bytes; in send_encoded_inline_extent() local 5471 ram_bytes = btrfs_file_extent_ram_bytes(leaf, ei); in send_encoded_inline_extent() 5477 min(key.offset + ram_bytes - offset, len)); in send_encoded_inline_extent() 5478 TLV_PUT_U64(sctx, BTRFS_SEND_A_UNENCODED_LEN, ram_bytes); in send_encoded_inline_extent()
|
| H A D | tree-checker.c | 333 if (unlikely(CHECK_FE_ALIGNED(leaf, slot, fi, ram_bytes, sectorsize) || in check_extent_data_item()
|
| H A D | file.c | 2131 hole_em->ram_bytes = hole_em->len; in fill_holes()
|
| H A D | relocation.c | 2870 em->ram_bytes = em->len; in setup_relocation_extent_mapping()
|
| H A D | tree-log.c | 5145 btrfs_set_stack_file_extent_ram_bytes(&fi, em->ram_bytes); in log_one_extent()
|
| /linux/include/trace/events/ |
| H A D | btrfs.h | 437 __field( u64, ram_bytes ) 453 __entry->ram_bytes = btrfs_file_extent_ram_bytes(l, fi); 472 __entry->extent_end, __entry->num_bytes, __entry->ram_bytes,
|