Home
last modified time | relevance | path

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

12

/kernel/linux/linux-6.6/fs/btrfs/
H A Dextent-tree.h18 u64 ram_bytes; member
123 u64 offset, u64 ram_bytes,
128 int btrfs_reserve_extent(struct btrfs_root *root, u64 ram_bytes, u64 num_bytes,
H A Dordered-data.h98 u64 ram_bytes; member
181 u64 num_bytes, u64 ram_bytes, u64 disk_bytenr,
H A Dextent_map.c806 split->ram_bytes = em->ram_bytes; in btrfs_drop_extent_map_range()
812 split->ram_bytes = split->len; in btrfs_drop_extent_map_range()
841 split->ram_bytes = em->ram_bytes; in btrfs_drop_extent_map_range()
853 split->ram_bytes = split->len; in btrfs_drop_extent_map_range()
1016 split_pre->ram_bytes = split_pre->len; in split_extent_map()
1035 split_mid->ram_bytes = split_mid->len; in split_extent_map()
H A Dextent_map.h42 u64 ram_bytes; member
H A Dordered-data.c151 u64 ram_bytes, u64 disk_bytenr, u64 disk_num_bytes, in alloc_ordered_extent()
179 entry->ram_bytes = ram_bytes; in alloc_ordered_extent()
252 * @ram_bytes: Full length of unencoded data.
267 u64 num_bytes, u64 ram_bytes, u64 disk_bytenr, in btrfs_alloc_ordered_extent()
275 entry = alloc_ordered_extent(inode, file_offset, num_bytes, ram_bytes, in btrfs_alloc_ordered_extent()
149 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) alloc_ordered_extent() argument
265 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) btrfs_alloc_ordered_extent() argument
H A Dinode.c135 u64 ram_bytes, int compress_type,
1153 async_extent->ram_size, /* ram_bytes */ in submit_one_async_extent()
1164 async_extent->ram_size, /* ram_bytes */ in submit_one_async_extent()
1416 ram_size, /* ram_bytes */ in cow_file_range()
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 in insert_ordered_extent_file_extent() local
6941 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) btrfs_create_dio_extent() argument
7052 can_nocow_extent(struct inode *inode, u64 offset, u64 *len, u64 *orig_start, u64 *orig_block_len, u64 *ram_bytes, bool nowait, bool strict) can_nocow_extent() argument
7246 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) create_io_em() argument
7301 u64 block_start, orig_start, orig_block_len, ram_bytes; btrfs_get_blocks_direct_write() local
9843 u64 ram_bytes; btrfs_encoded_read_inline() local
10208 u64 num_bytes, ram_bytes, disk_num_bytes; btrfs_do_encoded_write() local
[all...]
H A Dblock-group.h327 u64 ram_bytes, u64 num_bytes, int delalloc,
H A Dbtrfs_inode.h417 u64 *ram_bytes, bool nowait, bool strict);
H A Daccessors.h933 struct btrfs_file_extent_item, ram_bytes, 64);
952 ram_bytes, 64);
H A Dextent-tree.c4418 ret = btrfs_add_reserved_bytes(block_group, ffe_ctl->ram_bytes, in find_free_extent()
4479 * @ram_bytes - The amount of space in ram that @num_bytes take. This
4518 int btrfs_reserve_extent(struct btrfs_root *root, u64 ram_bytes, in btrfs_reserve_extent() argument
4535 ffe_ctl.ram_bytes = ram_bytes; in btrfs_reserve_extent()
4554 ram_bytes = num_bytes; in btrfs_reserve_extent()
4774 u64 offset, u64 ram_bytes, in btrfs_alloc_reserved_file_extent()
4787 return btrfs_add_delayed_data_ref(trans, &generic_ref, ram_bytes); in btrfs_alloc_reserved_file_extent()
4772 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) btrfs_alloc_reserved_file_extent() argument
/kernel/linux/linux-5.10/fs/btrfs/
H A Dextent_map.h40 u64 ram_bytes; member
H A Dblock-group.h267 u64 ram_bytes, u64 num_bytes, int delalloc);
H A Dfile-item.c129 u64 num_bytes, u64 offset, u64 ram_bytes, in btrfs_insert_file_extent()
158 btrfs_set_file_extent_ram_bytes(leaf, item, ram_bytes); in btrfs_insert_file_extent()
1065 em->ram_bytes = btrfs_file_extent_ram_bytes(leaf, fi); in btrfs_extent_item_to_extent_map()
125 btrfs_insert_file_extent(struct btrfs_trans_handle *trans, struct btrfs_root *root, u64 objectid, u64 pos, u64 disk_offset, u64 disk_num_bytes, u64 num_bytes, u64 offset, u64 ram_bytes, u8 compression, u8 encryption, u16 other_encoding) btrfs_insert_file_extent() argument
H A Dfile.c590 split->ram_bytes = em->ram_bytes; in btrfs_drop_extent_cache()
596 split->ram_bytes = split->len; in btrfs_drop_extent_cache()
620 split->ram_bytes = em->ram_bytes; in btrfs_drop_extent_cache()
632 split->ram_bytes = split->len; in btrfs_drop_extent_cache()
2422 hole_em->ram_bytes = hole_em->len; in fill_holes()
H A Dinode.c91 u64 ram_bytes, int compress_type,
857 async_extent->ram_size, /* ram_bytes */ in submit_compressed_extents()
1069 ram_size, /* ram_bytes */ in cow_file_range()
1485 u64 ram_bytes; in run_delalloc_nocow() local
1562 ram_bytes = btrfs_file_extent_ram_bytes(leaf, fi); in run_delalloc_nocow()
1653 extent_end = found_key.offset + ram_bytes; in run_delalloc_nocow()
1704 ram_bytes, BTRFS_COMPRESS_NONE, in run_delalloc_nocow()
2522 u64 ram_bytes = btrfs_stack_file_extent_ram_bytes(stack_fi); in insert_reserved_file_extent() local
2571 ret = btrfs_inode_set_file_extent_range(inode, file_pos, ram_bytes); in insert_reserved_file_extent()
4825 hole_em->ram_bytes in btrfs_cont_expand()
6930 btrfs_create_dio_extent(struct btrfs_inode *inode, 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) btrfs_create_dio_extent() argument
7015 can_nocow_extent(struct inode *inode, u64 offset, u64 *len, u64 *orig_start, u64 *orig_block_len, u64 *ram_bytes, bool strict) can_nocow_extent() argument
7242 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) create_io_em() argument
7322 u64 block_start, orig_start, orig_block_len, ram_bytes; btrfs_get_blocks_direct_write() local
[all...]
H A Dctree.h2340 struct btrfs_file_extent_item, ram_bytes, 64);
2369 ram_bytes, 64);
2581 u64 offset, u64 ram_bytes,
2586 int btrfs_reserve_extent(struct btrfs_root *root, u64 ram_bytes, u64 num_bytes,
2954 u64 num_bytes, u64 offset, u64 ram_bytes,
2988 u64 *ram_bytes, bool strict);
H A Dextent-tree.c3996 u64 ram_bytes, u64 num_bytes, u64 empty_size, in find_free_extent()
4182 ret = btrfs_add_reserved_bytes(block_group, ram_bytes, in find_free_extent()
4232 * @ram_bytes - The amount of space in ram that @num_bytes take. This
4271 int btrfs_reserve_extent(struct btrfs_root *root, u64 ram_bytes, in btrfs_reserve_extent() argument
4284 ret = find_free_extent(root, ram_bytes, num_bytes, empty_size, in btrfs_reserve_extent()
4294 ram_bytes = num_bytes; in btrfs_reserve_extent()
4521 u64 offset, u64 ram_bytes, in btrfs_alloc_reserved_file_extent()
4533 return btrfs_add_delayed_data_ref(trans, &generic_ref, ram_bytes); in btrfs_alloc_reserved_file_extent()
3995 find_free_extent(struct btrfs_root *root, u64 ram_bytes, u64 num_bytes, u64 empty_size, u64 hint_byte_orig, struct btrfs_key *ins, u64 flags, int delalloc) find_free_extent() argument
4519 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) btrfs_alloc_reserved_file_extent() argument
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dbtrfs_tree.h767 __le64 ram_bytes; member
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dbtrfs_tree.h1035 __le64 ram_bytes; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dbtrfs_tree.h331 __le64 ram_bytes; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dbtrfs_tree.h331 __le64 ram_bytes; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dbtrfs_tree.h357 __le64 ram_bytes; member
/kernel/linux/linux-5.10/fs/btrfs/tests/
H A Dinode-tests.c16 u64 ram_bytes, u64 offset, u64 disk_bytenr, in insert_extent()
44 btrfs_set_file_extent_ram_bytes(leaf, fi, ram_bytes); in insert_extent()
15 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) insert_extent() argument
/kernel/linux/linux-6.6/fs/btrfs/tests/
H A Dinode-tests.c17 u64 ram_bytes, u64 offset, u64 disk_bytenr, in insert_extent()
49 btrfs_set_file_extent_ram_bytes(leaf, fi, ram_bytes); in insert_extent()
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) insert_extent() argument
/kernel/linux/linux-5.10/include/trace/events/
H A Dbtrfs.h382 __field( u64, ram_bytes )
398 __entry->ram_bytes = btrfs_file_extent_ram_bytes(l, fi);
411 "(num_bytes=%llu ram_bytes=%llu disk_bytenr=%llu "
417 __entry->extent_end, __entry->num_bytes, __entry->ram_bytes,

Completed in 57 milliseconds

12