Lines Matching refs:disk_bytenr

1326 	u64 disk_bytenr;  in run_delalloc_nocow()  local
1384 disk_bytenr = 0; in run_delalloc_nocow()
1412 disk_bytenr = btrfs_file_extent_disk_bytenr(leaf, fi); in run_delalloc_nocow()
1422 if (disk_bytenr == 0) in run_delalloc_nocow()
1438 if (btrfs_extent_readonly(fs_info, disk_bytenr)) in run_delalloc_nocow()
1442 extent_offset, disk_bytenr); in run_delalloc_nocow()
1457 disk_bytenr += extent_offset; in run_delalloc_nocow()
1458 disk_bytenr += cur_offset - found_key.offset; in run_delalloc_nocow()
1471 ret = csum_exist_in_range(fs_info, disk_bytenr, in run_delalloc_nocow()
1486 if (!btrfs_inc_nocow_writers(fs_info, disk_bytenr)) in run_delalloc_nocow()
1501 btrfs_dec_nocow_writers(fs_info, disk_bytenr); in run_delalloc_nocow()
1523 disk_bytenr); in run_delalloc_nocow()
1534 disk_bytenr, /* block_start */ in run_delalloc_nocow()
1542 disk_bytenr); in run_delalloc_nocow()
1555 ret = btrfs_add_ordered_extent(inode, cur_offset, disk_bytenr, in run_delalloc_nocow()
1558 btrfs_dec_nocow_writers(fs_info, disk_bytenr); in run_delalloc_nocow()
2247 u64 disk_bytenr, u64 disk_num_bytes, in insert_reserved_file_extent() argument
2296 btrfs_set_file_extent_disk_bytenr(leaf, fi, disk_bytenr); in insert_reserved_file_extent()
2310 ins.objectid = disk_bytenr; in insert_reserved_file_extent()
2908 u64 disk_bytenr; in record_old_file_extents() local
2938 disk_bytenr = btrfs_file_extent_disk_bytenr(l, extent); in record_old_file_extents()
2939 if (!disk_bytenr) in record_old_file_extents()
2951 old->bytenr = disk_bytenr; in record_old_file_extents()
7375 u64 disk_bytenr; in can_nocow_extent() local
7430 disk_bytenr = btrfs_file_extent_disk_bytenr(leaf, fi); in can_nocow_extent()
7431 if (disk_bytenr == 0) in can_nocow_extent()
7455 if (btrfs_extent_readonly(fs_info, disk_bytenr)) in can_nocow_extent()
7480 key.offset - backref_offset, disk_bytenr); in can_nocow_extent()
7492 disk_bytenr += backref_offset; in can_nocow_extent()
7493 disk_bytenr += offset - key.offset; in can_nocow_extent()
7494 if (csum_exist_in_range(fs_info, disk_bytenr, num_bytes)) in can_nocow_extent()
8553 dip->disk_bytenr = (u64)dio_bio->bi_iter.bi_sector << 9; in btrfs_submit_direct()