Home
last modified time | relevance | path

Searched refs:ram_bytes (Results 1 – 10 of 10) sorted by relevance

/linux/fs/btrfs/tests/
H A Dextent-map-tests.c82 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 Dinode.c1110 file_extent.ram_bytes = async_extent->ram_size; in submit_one_async_extent()
1248 file_extent.ram_bytes = ins->offset; in cow_one_range()
1867 args->file_extent.ram_bytes = btrfs_file_extent_ram_bytes(leaf, fi); in can_nocow_file_extent()
3053 u64 ram_bytes = btrfs_stack_file_extent_ram_bytes(stack_fi); in insert_reserved_file_extent() local
3120 ret = btrfs_inode_set_file_extent_range(inode, file_pos, ram_bytes); in insert_reserved_file_extent()
3150 u64 ram_bytes = oe->ram_bytes; in insert_ordered_extent_file_extent() local
3161 btrfs_set_stack_file_extent_ram_bytes(&stack_fi, ram_bytes); in insert_ordered_extent_file_extent()
5362 hole_em->ram_bytes = hole_size; in btrfs_cont_expand()
7548 ASSERT(file_extent->num_bytes <= file_extent->ram_bytes); in btrfs_create_io_em()
7553 ASSERT(file_extent->ram_bytes == file_extent->num_bytes); in btrfs_create_io_em()
[all …]
H A Dfile-item.c1337 em->ram_bytes = btrfs_file_extent_ram_bytes(leaf, fi); in btrfs_extent_item_to_extent_map()
1363 em->ram_bytes = em->disk_num_bytes; in btrfs_extent_item_to_extent_map()
H A Dextent-tree.c4770 ret = btrfs_add_reserved_bytes(block_group, ffe_ctl->ram_bytes, in find_free_extent()
4871 int btrfs_reserve_extent(struct btrfs_root *root, u64 ram_bytes, in btrfs_reserve_extent() argument
4888 ffe_ctl.ram_bytes = ram_bytes; in btrfs_reserve_extent()
4907 ram_bytes = num_bytes; in btrfs_reserve_extent()
5154 u64 offset, u64 ram_bytes, in btrfs_alloc_reserved_file_extent() argument
5173 return btrfs_add_delayed_data_ref(trans, &generic_ref, ram_bytes); in btrfs_alloc_reserved_file_extent()
H A Dblock-group.c3969 u64 ram_bytes, u64 num_bytes, bool delalloc, in btrfs_add_reserved_bytes() argument
3999 btrfs_space_info_update_bytes_may_use(space_info, -ram_bytes); in btrfs_add_reserved_bytes()
4005 if (num_bytes < ram_bytes) in btrfs_add_reserved_bytes()
H A Ddefrag.c694 em->ram_bytes = 0; in defrag_get_extent()
H A Dtree-checker.c306 if (unlikely(CHECK_FE_ALIGNED(leaf, slot, fi, ram_bytes, sectorsize) || in check_extent_data_item()
H A Drelocation.c2742 em->ram_bytes = em->len; in setup_relocation_extent_mapping()
H A Dtree-log.c5171 btrfs_set_stack_file_extent_ram_bytes(&fi, em->ram_bytes); in log_one_extent()
/linux/include/trace/events/
H A Dbtrfs.h368 __field( u64, ram_bytes )
384 __entry->ram_bytes = btrfs_file_extent_ram_bytes(l, fi);
403 __entry->extent_end, __entry->num_bytes, __entry->ram_bytes,