Lines Matching refs:qrecord
765 struct btrfs_qgroup_extent_record *qrecord, in init_delayed_ref_head() argument
828 if (qrecord) { in init_delayed_ref_head()
830 qrecord->data_rsv = reserved; in init_delayed_ref_head()
831 qrecord->data_rsv_refroot = generic_ref->ref_root; in init_delayed_ref_head()
833 qrecord->bytenr = generic_ref->bytenr; in init_delayed_ref_head()
834 qrecord->num_bytes = generic_ref->num_bytes; in init_delayed_ref_head()
835 qrecord->old_roots = NULL; in init_delayed_ref_head()
849 struct btrfs_qgroup_extent_record *qrecord, in add_delayed_ref_head() argument
860 if (qrecord) { in add_delayed_ref_head()
863 ret = btrfs_qgroup_trace_extent_nolock(fs_info, delayed_refs, qrecord); in add_delayed_ref_head()
867 qrecord->bytenr >> fs_info->sectorsize_bits); in add_delayed_ref_head()
871 kfree(qrecord); in add_delayed_ref_head()