Home
last modified time | relevance | path

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

/openbmc/linux/fs/btrfs/
H A 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()
H A 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()
1189 if (WARN_ON_ONCE(ordered->bytes_left != ordered->disk_num_bytes)) in btrfs_split_ordered_extent()
1193 if (WARN_ON_ONCE(ordered->disk_num_bytes != ordered->num_bytes)) in btrfs_split_ordered_extent()
1216 ordered->disk_num_bytes -= len; in btrfs_split_ordered_extent()
H A Dordered-data.h100 u64 disk_num_bytes; member
182 u64 disk_num_bytes, u64 offset, unsigned long flags,
H A Ddelalloc-space.h24 u64 disk_num_bytes, bool noflush);
H A Dinode.c1838 u64 disk_num_bytes; member
1876 args->disk_num_bytes = btrfs_file_extent_disk_num_bytes(leaf, fi); in can_nocow_file_extent()
2146 nocow_args.disk_num_bytes, /* orig_block_len */ in run_delalloc_nocow()
2562 if (ordered->disk_num_bytes == len) { in btrfs_extract_ordered_extent()
2871 u64 disk_num_bytes = btrfs_stack_file_extent_disk_num_bytes(stack_fi); in insert_reserved_file_extent() local
2940 ins.offset = disk_num_bytes; in insert_reserved_file_extent()
2983 oe->disk_num_bytes); in insert_ordered_extent_file_extent()
3051 ordered_extent->disk_num_bytes); in btrfs_finish_one_ordered()
3105 ordered_extent->disk_num_bytes); in btrfs_finish_one_ordered()
3113 ordered_extent->disk_num_bytes); in btrfs_finish_one_ordered()
[all …]
H A Daccessors.h935 struct btrfs_file_extent_item, disk_num_bytes, 64);
946 disk_num_bytes, 64);
H A Dsend.c5616 u64 disk_bytenr, disk_num_bytes; in send_encoded_extent() local
5643 disk_num_bytes = btrfs_file_extent_disk_num_bytes(leaf, ei); in send_encoded_extent()
5661 ret = put_data_header(sctx, disk_num_bytes); in send_encoded_extent()
5672 sctx->send_max_size - data_offset < disk_num_bytes) { in send_encoded_extent()
5682 disk_bytenr, disk_num_bytes, in send_encoded_extent()
5689 hdr->len = cpu_to_le32(sctx->send_size + disk_num_bytes - sizeof(*hdr)); in send_encoded_extent()
5692 crc = btrfs_crc32c(crc, sctx->send_buf + data_offset, disk_num_bytes); in send_encoded_extent()
5699 disk_num_bytes, &sctx->send_off); in send_encoded_extent()
H A Dcompression.c296 cb->compressed_len = ordered->disk_num_bytes; in btrfs_submit_compressed_write()
H A 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()
H A Dtree-log.c4361 u64 disk_num_bytes; in copy_items() local
4415 disk_num_bytes = btrfs_file_extent_disk_num_bytes(src, extent); in copy_items()
4419 extent_num_bytes = disk_num_bytes; in copy_items()
H A Dtree-checker.c304 CHECK_FE_ALIGNED(leaf, slot, fi, disk_num_bytes, sectorsize) || in check_extent_data_item()
H A Dzoned.c1729 while (len < ordered->disk_num_bytes) { in btrfs_finish_ordered_zoned()
H A Dextent_io.c756 ordered->disk_num_bytes - file_offset); in alloc_new_bio()
/openbmc/u-boot/fs/btrfs/
H A Dextent-io.c72 clen = extent->disk_num_bytes; in btrfs_read_extent_reg()
H A Dconv-funcs.h150 disk_bytenr, disk_num_bytes, offset, num_bytes)
H A Dbtrfs_tree.h689 __u64 disk_num_bytes; member
/openbmc/linux/include/uapi/linux/
H A Dbtrfs_tree.h1058 __le64 disk_num_bytes; member
/openbmc/linux/include/trace/events/
H A 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;