Searched refs:ram_bytes (Results 1 - 19 of 19) sorted by relevance

/linux-master/fs/btrfs/
H A Dextent-tree.h29 u64 ram_bytes; member in struct:find_free_extent_ctl
136 u64 offset, u64 ram_bytes,
141 int btrfs_reserve_extent(struct btrfs_root *root, u64 ram_bytes, u64 num_bytes,
H A Dordered-data.h106 u64 ram_bytes; member in struct:btrfs_ordered_extent
176 u64 num_bytes, u64 ram_bytes, u64 disk_bytenr,
H A Dextent_map.h53 u64 ram_bytes; member in struct:extent_map
H A Dextent_map.c782 split->ram_bytes = em->ram_bytes;
788 split->ram_bytes = split->len;
815 split->ram_bytes = em->ram_bytes;
827 split->ram_bytes = split->len;
990 split_pre->ram_bytes = split_pre->len;
1008 split_mid->ram_bytes = split_mid->len;
H A Dordered-data.c149 u64 ram_bytes, u64 disk_bytenr, u64 disk_num_bytes,
177 entry->ram_bytes = ram_bytes;
251 * @ram_bytes: Full length of unencoded data.
266 u64 num_bytes, u64 ram_bytes, u64 disk_bytenr,
274 entry = alloc_ordered_extent(inode, file_offset, num_bytes, ram_bytes,
147 alloc_ordered_extent( struct btrfs_inode *inode, u64 file_offset, u64 num_bytes, u64 ram_bytes, u64 disk_bytenr, u64 disk_num_bytes, u64 offset, unsigned long flags, int compress_type) argument
264 btrfs_alloc_ordered_extent( struct btrfs_inode *inode, u64 file_offset, u64 num_bytes, u64 ram_bytes, u64 disk_bytenr, u64 disk_num_bytes, u64 offset, unsigned long flags, int compress_type) argument
H A Dblock-group.h341 u64 ram_bytes, u64 num_bytes, int delalloc,
H A Dinode.c143 u64 ram_bytes, int compress_type,
1164 async_extent->ram_size, /* ram_bytes */
1175 async_extent->ram_size, /* ram_bytes */
1426 ram_size, /* ram_bytes */
2012 u64 ram_bytes; local
2091 ram_bytes = btrfs_file_extent_ram_bytes(leaf, fi);
2158 ram_bytes, BTRFS_COMPRESS_NONE,
2904 u64 ram_bytes = btrfs_stack_file_extent_ram_bytes(stack_fi); local
2972 ret = btrfs_inode_set_file_extent_range(inode, file_pos, ram_bytes);
3006 u64 ram_bytes local
7006 btrfs_create_dio_extent(struct btrfs_inode *inode, struct btrfs_dio_data *dio_data, const u64 start, const u64 len, const u64 orig_start, const u64 block_start, const u64 block_len, const u64 orig_block_len, const u64 ram_bytes, const int type) argument
7117 can_nocow_extent(struct inode *inode, u64 offset, u64 *len, u64 *orig_start, u64 *orig_block_len, u64 *ram_bytes, bool nowait, bool strict) argument
7310 create_io_em(struct btrfs_inode *inode, u64 start, u64 len, u64 orig_start, u64 block_start, u64 block_len, u64 orig_block_len, u64 ram_bytes, int compress_type, int type) argument
7363 u64 block_start, orig_start, orig_block_len, ram_bytes; local
9953 u64 ram_bytes; local
10318 u64 num_bytes, ram_bytes, disk_num_bytes; local
[all...]
H A Dbtrfs_inode.h447 u64 *ram_bytes, bool nowait, bool strict);
H A Daccessors.h917 struct btrfs_file_extent_item, ram_bytes, 64);
936 ram_bytes, 64);
H A Dextent-tree.c4598 ret = btrfs_add_reserved_bytes(block_group, ffe_ctl->ram_bytes,
4659 * @ram_bytes - The amount of space in ram that @num_bytes take. This
4698 int btrfs_reserve_extent(struct btrfs_root *root, u64 ram_bytes, argument
4715 ffe_ctl.ram_bytes = ram_bytes;
4734 ram_bytes = num_bytes;
4966 u64 offset, u64 ram_bytes,
4984 return btrfs_add_delayed_data_ref(trans, &generic_ref, ram_bytes);
4964 btrfs_alloc_reserved_file_extent(struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 owner, u64 offset, u64 ram_bytes, struct btrfs_key *ins) argument
H A Dfile-item.c1276 em->ram_bytes = btrfs_file_extent_ram_bytes(leaf, fi);
H A Dblock-group.c3704 * @ram_bytes: The number of bytes of file content, and will be same to
3714 u64 ram_bytes, u64 num_bytes, int delalloc,
3739 space_info, -ram_bytes);
3747 if (num_bytes < ram_bytes)
3713 btrfs_add_reserved_bytes(struct btrfs_block_group *cache, u64 ram_bytes, u64 num_bytes, int delalloc, bool force_wrong_size_class) argument
H A Dsend.c5549 u64 ram_bytes; local
5573 ram_bytes = btrfs_file_extent_ram_bytes(leaf, ei);
5579 min(key.offset + ram_bytes - offset, len));
5580 TLV_PUT_U64(sctx, BTRFS_SEND_A_UNENCODED_LEN, ram_bytes);
H A Dtree-checker.c290 "invalid ram_bytes for uncompressed inline extent, have %u expect %llu",
305 if (unlikely(CHECK_FE_ALIGNED(leaf, slot, fi, ram_bytes, sectorsize) ||
H A Dfile.c2160 hole_em->ram_bytes = hole_em->len;
H A Dtree-log.c4710 btrfs_set_stack_file_extent_ram_bytes(&fi, em->ram_bytes);
/linux-master/fs/btrfs/tests/
H A Dinode-tests.c17 u64 ram_bytes, u64 offset, u64 disk_bytenr,
49 btrfs_set_file_extent_ram_bytes(leaf, fi, ram_bytes);
16 insert_extent(struct btrfs_root *root, u64 start, u64 len, u64 ram_bytes, u64 offset, u64 disk_bytenr, u64 disk_len, u32 type, u8 compression, int slot) argument
/linux-master/include/uapi/linux/
H A Dbtrfs_tree.h1084 __le64 ram_bytes; member in struct:btrfs_file_extent_item
/linux-master/include/trace/events/
H A Dbtrfs.h381 __field( u64, ram_bytes )
397 __entry->ram_bytes = btrfs_file_extent_ram_bytes(l, fi);
410 "(num_bytes=%llu ram_bytes=%llu disk_bytenr=%llu "
416 __entry->extent_end, __entry->num_bytes, __entry->ram_bytes,

Completed in 303 milliseconds