Lines Matching refs:ram_bytes
135 u64 ram_bytes, int compress_type,
1999 u64 ram_bytes; in run_delalloc_nocow() local
2078 ram_bytes = btrfs_file_extent_ram_bytes(leaf, fi); in run_delalloc_nocow()
2145 ram_bytes, BTRFS_COMPRESS_NONE, in run_delalloc_nocow()
2873 u64 ram_bytes = btrfs_stack_file_extent_ram_bytes(stack_fi); in insert_reserved_file_extent() local
2941 ret = btrfs_inode_set_file_extent_range(inode, file_pos, ram_bytes); in insert_reserved_file_extent()
2975 u64 ram_bytes = oe->ram_bytes; in insert_ordered_extent_file_extent() local
2985 ram_bytes = num_bytes; in insert_ordered_extent_file_extent()
2988 btrfs_set_stack_file_extent_ram_bytes(&stack_fi, ram_bytes); in insert_ordered_extent_file_extent()
4917 hole_em->ram_bytes = hole_size; in btrfs_cont_expand()
6930 const u64 ram_bytes, in btrfs_create_dio_extent() argument
6938 block_len, orig_block_len, ram_bytes, in btrfs_create_dio_extent()
7028 u64 *ram_bytes, bool nowait, bool strict) in can_nocow_extent() argument
7078 if (ram_bytes) in can_nocow_extent()
7079 *ram_bytes = btrfs_file_extent_ram_bytes(leaf, fi); in can_nocow_extent()
7223 u64 ram_bytes, int compress_type, in create_io_em() argument
7244 em->ram_bytes = ram_bytes; in create_io_em()
7275 u64 block_start, orig_start, orig_block_len, ram_bytes; in btrfs_get_blocks_direct_write() local
7303 &orig_block_len, &ram_bytes, false, false) == 1) { in btrfs_get_blocks_direct_write()
7331 ram_bytes, type); in btrfs_get_blocks_direct_write()
9617 em->ram_bytes = ins.offset; in __btrfs_prealloc_file_range()
9817 u64 ram_bytes; in btrfs_encoded_read_inline() local
9839 ram_bytes = btrfs_file_extent_ram_bytes(leaf, item); in btrfs_encoded_read_inline()
9842 encoded->len = min_t(u64, extent_start + ram_bytes, in btrfs_encoded_read_inline()
9859 encoded->unencoded_len = ram_bytes; in btrfs_encoded_read_inline()
10116 encoded->unencoded_len = em->ram_bytes; in btrfs_encoded_read()
10182 u64 num_bytes, ram_bytes, disk_num_bytes; in btrfs_do_encoded_write() local
10257 ram_bytes = ALIGN(encoded->unencoded_len, fs_info->sectorsize); in btrfs_do_encoded_write()
10347 ins.offset, ins.offset, ram_bytes, compression, in btrfs_do_encoded_write()
10355 ordered = btrfs_alloc_ordered_extent(inode, start, num_bytes, ram_bytes, in btrfs_do_encoded_write()