Home
last modified time | relevance | path

Searched refs:ram_bytes (Results 1 – 14 of 14) 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 Dordered-data.h107 u64 ram_bytes; member
183 u64 ram_bytes; member
H A Dinode.c1195 file_extent.ram_bytes = async_extent->ram_size; in submit_one_async_extent()
1333 file_extent.ram_bytes = ins->offset; in cow_one_range()
1972 args->file_extent.ram_bytes = btrfs_file_extent_ram_bytes(leaf, fi); in can_nocow_file_extent()
3045 u64 ram_bytes = btrfs_stack_file_extent_ram_bytes(stack_fi); in insert_reserved_file_extent() local
3112 ret = btrfs_inode_set_file_extent_range(inode, file_pos, ram_bytes); in insert_reserved_file_extent()
3142 u64 ram_bytes = oe->ram_bytes; in insert_ordered_extent_file_extent() local
3153 btrfs_set_stack_file_extent_ram_bytes(&stack_fi, ram_bytes); in insert_ordered_extent_file_extent()
5348 hole_em->ram_bytes = hole_size; in btrfs_cont_expand()
7534 ASSERT(file_extent->num_bytes <= file_extent->ram_bytes); in btrfs_create_io_em()
7539 ASSERT(file_extent->ram_bytes == file_extent->num_bytes); in btrfs_create_io_em()
[all …]
H A Dfile-item.c1330 em->ram_bytes = btrfs_file_extent_ram_bytes(leaf, fi); in btrfs_extent_item_to_extent_map()
1356 em->ram_bytes = em->disk_num_bytes; in btrfs_extent_item_to_extent_map()
H A Dextent-tree.c4699 ret = btrfs_add_reserved_bytes(block_group, ffe_ctl->ram_bytes, in find_free_extent()
4800 int btrfs_reserve_extent(struct btrfs_root *root, u64 ram_bytes, in btrfs_reserve_extent() argument
4817 ffe_ctl.ram_bytes = ram_bytes; in btrfs_reserve_extent()
4836 ram_bytes = num_bytes; in btrfs_reserve_extent()
5069 u64 offset, u64 ram_bytes, in btrfs_alloc_reserved_file_extent() argument
5088 return btrfs_add_delayed_data_ref(trans, &generic_ref, ram_bytes); in btrfs_alloc_reserved_file_extent()
H A Dblock-group.c3892 u64 ram_bytes, u64 num_bytes, bool delalloc, in btrfs_add_reserved_bytes() argument
3922 btrfs_space_info_update_bytes_may_use(space_info, -ram_bytes); in btrfs_add_reserved_bytes()
3928 if (num_bytes < ram_bytes) in btrfs_add_reserved_bytes()
H A Ddefrag.c694 em->ram_bytes = 0; in defrag_get_extent()
H A Dsend.c5485 u64 ram_bytes; in send_encoded_inline_extent() local
5499 ram_bytes = btrfs_file_extent_ram_bytes(leaf, ei); in send_encoded_inline_extent()
5505 min(key.offset + ram_bytes - offset, len)); in send_encoded_inline_extent()
5506 TLV_PUT_U64(sctx, BTRFS_SEND_A_UNENCODED_LEN, ram_bytes); in send_encoded_inline_extent()
H A Dtree-checker.c306 if (unlikely(CHECK_FE_ALIGNED(leaf, slot, fi, ram_bytes, sectorsize) || in check_extent_data_item()
H A Dfile.c2164 hole_em->ram_bytes = hole_em->len; in fill_holes()
H A Drelocation.c2745 em->ram_bytes = em->len; in setup_relocation_extent_mapping()
H A Dtree-log.c5144 btrfs_set_stack_file_extent_ram_bytes(&fi, em->ram_bytes); in log_one_extent()
/linux/include/uapi/linux/
H A Dbtrfs_tree.h1090 __le64 ram_bytes;
1080 __le64 ram_bytes; global() member
/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,