Home
last modified time | relevance | path

Searched refs:disk_num_bytes (Results 1 – 15 of 15) sorted by relevance

/linux-6.6.21/fs/btrfs/
Ddelalloc-space.c283 u64 num_bytes, u64 disk_num_bytes, in calc_inode_reservations() argument
294 csum_leaves = btrfs_csum_bytes_to_leaves(fs_info, disk_num_bytes); in calc_inode_reservations()
308 u64 disk_num_bytes, bool noflush) in btrfs_delalloc_reserve_metadata() argument
335 disk_num_bytes = ALIGN(disk_num_bytes, fs_info->sectorsize); in btrfs_delalloc_reserve_metadata()
347 calc_inode_reservations(inode, num_bytes, disk_num_bytes, in btrfs_delalloc_reserve_metadata()
369 inode->csum_bytes += disk_num_bytes; in btrfs_delalloc_reserve_metadata()
Dordered-data.c151 u64 ram_bytes, u64 disk_bytenr, u64 disk_num_bytes, in alloc_ordered_extent() argument
181 entry->disk_num_bytes = disk_num_bytes; in alloc_ordered_extent()
268 u64 disk_num_bytes, u64 offset, unsigned long flags, in btrfs_alloc_ordered_extent() argument
276 disk_bytenr, disk_num_bytes, offset, flags, in btrfs_alloc_ordered_extent()
604 release = entry->disk_num_bytes; in btrfs_remove_ordered_extent()
705 ordered->disk_bytenr + ordered->disk_num_bytes <= range_start) { in btrfs_wait_ordered_extents()
1177 if (WARN_ON_ONCE(ordered->bytes_left != ordered->disk_num_bytes)) in btrfs_split_ordered_extent()
1181 if (WARN_ON_ONCE(ordered->disk_num_bytes != ordered->num_bytes)) in btrfs_split_ordered_extent()
1204 ordered->disk_num_bytes -= len; in btrfs_split_ordered_extent()
Dordered-data.h100 u64 disk_num_bytes; member
182 u64 disk_num_bytes, u64 offset, unsigned long flags,
Ddelalloc-space.h24 u64 disk_num_bytes, bool noflush);
Dinode.c1836 u64 disk_num_bytes; member
1874 args->disk_num_bytes = btrfs_file_extent_disk_num_bytes(leaf, fi); in can_nocow_file_extent()
2144 nocow_args.disk_num_bytes, /* orig_block_len */ in run_delalloc_nocow()
2560 if (ordered->disk_num_bytes == len) { in btrfs_extract_ordered_extent()
2869 u64 disk_num_bytes = btrfs_stack_file_extent_disk_num_bytes(stack_fi); in insert_reserved_file_extent() local
2938 ins.offset = disk_num_bytes; in insert_reserved_file_extent()
2981 oe->disk_num_bytes); in insert_ordered_extent_file_extent()
3049 ordered_extent->disk_num_bytes); in btrfs_finish_one_ordered()
3103 ordered_extent->disk_num_bytes); in btrfs_finish_one_ordered()
3111 ordered_extent->disk_num_bytes); in btrfs_finish_one_ordered()
[all …]
Daccessors.h935 struct btrfs_file_extent_item, disk_num_bytes, 64);
946 disk_num_bytes, 64);
Dsend.c5597 u64 disk_bytenr, disk_num_bytes; in send_encoded_extent() local
5624 disk_num_bytes = btrfs_file_extent_disk_num_bytes(leaf, ei); in send_encoded_extent()
5642 ret = put_data_header(sctx, disk_num_bytes); in send_encoded_extent()
5653 sctx->send_max_size - data_offset < disk_num_bytes) { in send_encoded_extent()
5663 disk_bytenr, disk_num_bytes, in send_encoded_extent()
5670 hdr->len = cpu_to_le32(sctx->send_size + disk_num_bytes - sizeof(*hdr)); in send_encoded_extent()
5673 crc = btrfs_crc32c(crc, sctx->send_buf + data_offset, disk_num_bytes); in send_encoded_extent()
5680 disk_num_bytes, &sctx->send_off); in send_encoded_extent()
Dcompression.c296 cb->compressed_len = ordered->disk_num_bytes; in btrfs_submit_compressed_write()
Dcheck-integrity.c1328 offsetof(struct btrfs_file_extent_item, disk_num_bytes) > in btrfsic_handle_extent_data()
1337 offsetof(struct btrfs_file_extent_item, disk_num_bytes)); in btrfsic_handle_extent_data()
Dtree-log.c4342 u64 disk_num_bytes; in copy_items() local
4396 disk_num_bytes = btrfs_file_extent_disk_num_bytes(src, extent); in copy_items()
4400 extent_num_bytes = disk_num_bytes; in copy_items()
Dtree-checker.c303 CHECK_FE_ALIGNED(leaf, slot, fi, disk_num_bytes, sectorsize) || in check_extent_data_item()
Dzoned.c1719 while (len < ordered->disk_num_bytes) { in btrfs_finish_ordered_zoned()
Dextent_io.c766 ordered->disk_num_bytes - file_offset); in alloc_new_bio()
/linux-6.6.21/include/uapi/linux/
Dbtrfs_tree.h1058 __le64 disk_num_bytes; member
/linux-6.6.21/include/trace/events/
Dbtrfs.h386 __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;