Lines Matching refs:disk_bytenr
1333 u64 disk_bytenr = 0; in run_delalloc_nocow() local
1435 disk_bytenr = btrfs_file_extent_disk_bytenr(leaf, fi); in run_delalloc_nocow()
1450 if (disk_bytenr == 0) in run_delalloc_nocow()
1471 if (btrfs_extent_readonly(fs_info, disk_bytenr)) in run_delalloc_nocow()
1475 extent_offset, disk_bytenr); in run_delalloc_nocow()
1490 disk_bytenr += extent_offset; in run_delalloc_nocow()
1491 disk_bytenr += cur_offset - found_key.offset; in run_delalloc_nocow()
1504 ret = csum_exist_in_range(fs_info, disk_bytenr, in run_delalloc_nocow()
1519 if (!btrfs_inc_nocow_writers(fs_info, disk_bytenr)) in run_delalloc_nocow()
1563 disk_bytenr); in run_delalloc_nocow()
1575 disk_bytenr, /* block_start */ in run_delalloc_nocow()
1583 disk_bytenr); in run_delalloc_nocow()
1589 disk_bytenr, num_bytes, in run_delalloc_nocow()
1601 disk_bytenr, num_bytes, in run_delalloc_nocow()
1609 btrfs_dec_nocow_writers(fs_info, disk_bytenr); in run_delalloc_nocow()
1656 btrfs_dec_nocow_writers(fs_info, disk_bytenr); in run_delalloc_nocow()
2272 u64 disk_bytenr, u64 disk_num_bytes, in insert_reserved_file_extent() argument
2321 btrfs_set_file_extent_disk_bytenr(leaf, fi, disk_bytenr); in insert_reserved_file_extent()
2335 ins.objectid = disk_bytenr; in insert_reserved_file_extent()
2932 u64 disk_bytenr; in record_old_file_extents() local
2962 disk_bytenr = btrfs_file_extent_disk_bytenr(l, extent); in record_old_file_extents()
2963 if (!disk_bytenr) in record_old_file_extents()
2975 old->bytenr = disk_bytenr; in record_old_file_extents()
7349 u64 disk_bytenr; in can_nocow_extent() local
7404 disk_bytenr = btrfs_file_extent_disk_bytenr(leaf, fi); in can_nocow_extent()
7405 if (disk_bytenr == 0) in can_nocow_extent()
7429 if (btrfs_extent_readonly(fs_info, disk_bytenr)) in can_nocow_extent()
7454 key.offset - backref_offset, disk_bytenr); in can_nocow_extent()
7466 disk_bytenr += backref_offset; in can_nocow_extent()
7467 disk_bytenr += offset - key.offset; in can_nocow_extent()
7468 if (csum_exist_in_range(fs_info, disk_bytenr, num_bytes)) in can_nocow_extent()
8520 dip->disk_bytenr = (u64)dio_bio->bi_iter.bi_sector << 9; in btrfs_submit_direct()