Lines Matching refs:ram_bytes
1234 file_extent.ram_bytes = async_extent->ram_size; in submit_one_async_extent()
1462 file_extent.ram_bytes = ins.offset; in cow_file_range()
1945 args->file_extent.ram_bytes = btrfs_file_extent_ram_bytes(leaf, fi); in can_nocow_file_extent()
2913 u64 ram_bytes = btrfs_stack_file_extent_ram_bytes(stack_fi); in insert_reserved_file_extent() local
2981 ret = btrfs_inode_set_file_extent_range(inode, file_pos, ram_bytes); in insert_reserved_file_extent()
3015 u64 ram_bytes = oe->ram_bytes; in insert_ordered_extent_file_extent() local
3026 btrfs_set_stack_file_extent_ram_bytes(&stack_fi, ram_bytes); in insert_ordered_extent_file_extent()
4984 hole_em->ram_bytes = hole_size; in btrfs_cont_expand()
7155 ASSERT(file_extent->num_bytes <= file_extent->ram_bytes); in btrfs_create_io_em()
7160 ASSERT(file_extent->ram_bytes == file_extent->num_bytes); in btrfs_create_io_em()
7173 ASSERT(file_extent->num_bytes <= file_extent->ram_bytes); in btrfs_create_io_em()
7185 em->ram_bytes = file_extent->ram_bytes; in btrfs_create_io_em()
8835 em->ram_bytes = ins.offset; in __btrfs_prealloc_file_range()
9037 u64 ram_bytes; in btrfs_encoded_read_inline() local
9059 ram_bytes = btrfs_file_extent_ram_bytes(leaf, item); in btrfs_encoded_read_inline()
9062 encoded->len = min_t(u64, extent_start + ram_bytes, in btrfs_encoded_read_inline()
9079 encoded->unencoded_len = ram_bytes; in btrfs_encoded_read_inline()
9336 encoded->unencoded_len = em->ram_bytes; in btrfs_encoded_read()
9403 u64 num_bytes, ram_bytes, disk_num_bytes; in btrfs_do_encoded_write() local
9485 ram_bytes = ALIGN(encoded->unencoded_len, fs_info->sectorsize); in btrfs_do_encoded_write()
9578 file_extent.ram_bytes = ram_bytes; in btrfs_do_encoded_write()