Lines Matching refs:ram_bytes
121 u64 ram_bytes, int compress_type,
1959 u64 ram_bytes; in run_delalloc_nocow() local
2042 ram_bytes = btrfs_file_extent_ram_bytes(leaf, fi); in run_delalloc_nocow()
2110 ram_bytes, BTRFS_COMPRESS_NONE, in run_delalloc_nocow()
2580 split_pre->ram_bytes = split_pre->len; in split_zoned_em()
2601 split_mid->ram_bytes = split_mid->len; in split_zoned_em()
2615 split_post->ram_bytes = split_post->len; in split_zoned_em()
2991 u64 ram_bytes = btrfs_stack_file_extent_ram_bytes(stack_fi); in insert_reserved_file_extent() local
3059 ret = btrfs_inode_set_file_extent_range(inode, file_pos, ram_bytes); in insert_reserved_file_extent()
3093 u64 ram_bytes = oe->ram_bytes; in insert_ordered_extent_file_extent() local
3103 ram_bytes = num_bytes; in insert_ordered_extent_file_extent()
3106 btrfs_set_stack_file_extent_ram_bytes(&stack_fi, ram_bytes); in insert_ordered_extent_file_extent()
5013 hole_em->ram_bytes = hole_size; in btrfs_cont_expand()
6985 const u64 ram_bytes, in btrfs_create_dio_extent() argument
6993 block_len, orig_block_len, ram_bytes, in btrfs_create_dio_extent()
7079 u64 *ram_bytes, bool nowait, bool strict) in can_nocow_extent() argument
7129 if (ram_bytes) in can_nocow_extent()
7130 *ram_bytes = btrfs_file_extent_ram_bytes(leaf, fi); in can_nocow_extent()
7274 u64 ram_bytes, int compress_type, in create_io_em() argument
7295 em->ram_bytes = ram_bytes; in create_io_em()
7326 u64 block_start, orig_start, orig_block_len, ram_bytes; in btrfs_get_blocks_direct_write() local
7353 &orig_block_len, &ram_bytes, false, false) == 1) { in btrfs_get_blocks_direct_write()
7381 ram_bytes, type); in btrfs_get_blocks_direct_write()
9634 em->ram_bytes = ins.offset; in __btrfs_prealloc_file_range()
9834 u64 ram_bytes; in btrfs_encoded_read_inline() local
9856 ram_bytes = btrfs_file_extent_ram_bytes(leaf, item); in btrfs_encoded_read_inline()
9859 encoded->len = min_t(u64, extent_start + ram_bytes, in btrfs_encoded_read_inline()
9876 encoded->unencoded_len = ram_bytes; in btrfs_encoded_read_inline()
10139 encoded->unencoded_len = em->ram_bytes; in btrfs_encoded_read()
10204 u64 num_bytes, ram_bytes, disk_num_bytes; in btrfs_do_encoded_write() local
10279 ram_bytes = ALIGN(encoded->unencoded_len, fs_info->sectorsize); in btrfs_do_encoded_write()
10369 ins.offset, ins.offset, ram_bytes, compression, in btrfs_do_encoded_write()
10377 ret = btrfs_add_ordered_extent(inode, start, num_bytes, ram_bytes, in btrfs_do_encoded_write()