Searched refs:disk_num_bytes (Results 1 – 12 of 12) sorted by relevance
/linux-6.1.9/fs/btrfs/ |
D | delalloc-space.c | 280 u64 num_bytes, u64 disk_num_bytes, in calc_inode_reservations() argument 284 u64 csum_leaves = btrfs_csum_bytes_to_leaves(fs_info, disk_num_bytes); in calc_inode_reservations() 299 u64 disk_num_bytes, bool noflush) in btrfs_delalloc_reserve_metadata() argument 329 disk_num_bytes = ALIGN(disk_num_bytes, fs_info->sectorsize); in btrfs_delalloc_reserve_metadata() 341 calc_inode_reservations(fs_info, num_bytes, disk_num_bytes, in btrfs_delalloc_reserve_metadata() 362 inode->csum_bytes += disk_num_bytes; in btrfs_delalloc_reserve_metadata()
|
D | ordered-data.h | 100 u64 disk_num_bytes; member 184 u64 disk_num_bytes, u64 offset, unsigned flags,
|
D | ordered-data.c | 166 u64 disk_num_bytes, u64 offset, unsigned flags, in btrfs_add_ordered_extent() argument 200 entry->disk_num_bytes = disk_num_bytes; in btrfs_add_ordered_extent() 544 release = entry->disk_num_bytes; in btrfs_remove_ordered_extent() 643 ordered->disk_bytenr + ordered->disk_num_bytes <= range_start) { in btrfs_wait_ordered_extents() 1133 ordered->disk_num_bytes -= (pre + post); in btrfs_split_ordered_extent() 1148 ret = clone_ordered_extent(ordered, pre + ordered->disk_num_bytes, in btrfs_split_ordered_extent()
|
D | inode.c | 1776 u64 disk_num_bytes; member 1814 args->disk_num_bytes = btrfs_file_extent_disk_num_bytes(leaf, fi); in can_nocow_file_extent() 2089 nocow_args.disk_num_bytes, /* orig_block_len */ in run_delalloc_nocow() 2654 if (ordered->disk_num_bytes == len) in extract_ordered_extent() 2658 if (WARN_ON_ONCE(ordered->bytes_left != ordered->disk_num_bytes)) { in extract_ordered_extent() 2664 if (WARN_ON_ONCE(ordered->disk_num_bytes != ordered->num_bytes)) { in extract_ordered_extent() 2669 ordered_end = ordered->disk_bytenr + ordered->disk_num_bytes; in extract_ordered_extent() 3057 u64 disk_num_bytes = btrfs_stack_file_extent_disk_num_bytes(stack_fi); in insert_reserved_file_extent() local 3126 ins.offset = disk_num_bytes; in insert_reserved_file_extent() 3169 oe->disk_num_bytes); in insert_ordered_extent_file_extent() [all …]
|
D | send.c | 5350 u64 disk_bytenr, disk_num_bytes; in send_encoded_extent() local 5377 disk_num_bytes = btrfs_file_extent_disk_num_bytes(leaf, ei); in send_encoded_extent() 5395 ret = put_data_header(sctx, disk_num_bytes); in send_encoded_extent() 5406 sctx->send_max_size - data_offset < disk_num_bytes) { in send_encoded_extent() 5416 disk_bytenr, disk_num_bytes, in send_encoded_extent() 5423 hdr->len = cpu_to_le32(sctx->send_size + disk_num_bytes - sizeof(*hdr)); in send_encoded_extent() 5426 crc = btrfs_crc32c(crc, sctx->send_buf + data_offset, disk_num_bytes); in send_encoded_extent() 5433 disk_num_bytes, &sctx->send_off); in send_encoded_extent()
|
D | ctree.h | 2684 struct btrfs_file_extent_item, disk_num_bytes, 64); 2705 disk_num_bytes, 64); 2996 u64 disk_num_bytes, bool noflush);
|
D | check-integrity.c | 1326 offsetof(struct btrfs_file_extent_item, disk_num_bytes) > in btrfsic_handle_extent_data() 1335 offsetof(struct btrfs_file_extent_item, disk_num_bytes)); in btrfsic_handle_extent_data()
|
D | tree-checker.c | 299 CHECK_FE_ALIGNED(leaf, slot, fi, disk_num_bytes, sectorsize) || in check_extent_data_item()
|
D | tree-log.c | 4401 u64 disk_num_bytes; in copy_items() local 4455 disk_num_bytes = btrfs_file_extent_disk_num_bytes(src, extent); in copy_items() 4459 extent_num_bytes = disk_num_bytes; in copy_items()
|
D | extent_io.c | 1480 ordered->disk_bytenr + ordered->disk_num_bytes - logical); in calc_bio_boundaries()
|
/linux-6.1.9/include/uapi/linux/ |
D | btrfs_tree.h | 819 __le64 disk_num_bytes; member
|
/linux-6.1.9/include/trace/events/ |
D | btrfs.h | 386 __field( u64, disk_num_bytes ) 402 __entry->disk_num_bytes = btrfs_file_extent_disk_num_bytes(l, fi); 420 __entry->disk_bytenr, __entry->disk_num_bytes, 541 __entry->disk_len = ordered->disk_num_bytes;
|