/linux-master/fs/btrfs/ |
H A D | extent-tree.h | 29 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 D | ordered-data.h | 106 u64 ram_bytes; member in struct:btrfs_ordered_extent 176 u64 num_bytes, u64 ram_bytes, u64 disk_bytenr,
|
H A D | extent_map.h | 53 u64 ram_bytes; member in struct:extent_map
|
H A D | extent_map.c | 782 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 D | ordered-data.c | 149 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 D | block-group.h | 341 u64 ram_bytes, u64 num_bytes, int delalloc,
|
H A D | inode.c | 143 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 D | btrfs_inode.h | 447 u64 *ram_bytes, bool nowait, bool strict);
|
H A D | accessors.h | 917 struct btrfs_file_extent_item, ram_bytes, 64); 936 ram_bytes, 64);
|
H A D | extent-tree.c | 4598 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 D | file-item.c | 1276 em->ram_bytes = btrfs_file_extent_ram_bytes(leaf, fi);
|
H A D | block-group.c | 3704 * @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 D | send.c | 5549 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 D | tree-checker.c | 290 "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 D | file.c | 2160 hole_em->ram_bytes = hole_em->len;
|
H A D | tree-log.c | 4710 btrfs_set_stack_file_extent_ram_bytes(&fi, em->ram_bytes);
|
/linux-master/fs/btrfs/tests/ |
H A D | inode-tests.c | 17 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 D | btrfs_tree.h | 1084 __le64 ram_bytes; member in struct:btrfs_file_extent_item
|
/linux-master/include/trace/events/ |
H A D | btrfs.h | 381 __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,
|