Lines Matching defs:bytenr
1763 u64 bytenr = record->bytenr;
1772 if (bytenr < entry->bytenr) {
1774 } else if (bytenr > entry->bytenr) {
1795 u64 bytenr = qrecord->bytenr;
1798 ret = btrfs_find_all_roots(NULL, fs_info, bytenr, 0, &old_root, false);
1818 int btrfs_qgroup_trace_extent(struct btrfs_trans_handle *trans, u64 bytenr,
1827 || bytenr == 0 || num_bytes == 0)
1834 record->bytenr = bytenr;
1856 u64 bytenr, num_bytes;
1875 bytenr = btrfs_file_extent_disk_bytenr(eb, fi);
1876 if (!bytenr)
1881 ret = btrfs_qgroup_trace_extent(trans, bytenr, num_bytes,
2418 * Walk all of the roots that points to the bytenr and adjust their refcnts.
2627 int btrfs_qgroup_account_extent(struct btrfs_trans_handle *trans, u64 bytenr,
2663 trace_btrfs_qgroup_account_extent(fs_info, trans->transid, bytenr,
2679 if (fs_info->qgroup_rescan_progress.objectid <= bytenr) {
2747 record->bytenr, 0,
2764 record->bytenr, SEQ_LAST, &new_roots, false);
2772 ret = btrfs_qgroup_account_extent(trans, record->bytenr,
4238 * record the bytenr after swap, so we do the swap here.
4387 "failed to account subtree at bytenr %llu: %d",