Home
last modified time | relevance | path

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

/openbmc/linux/fs/btrfs/
H A Dqgroup.c109 static void btrfs_qgroup_update_old_refcnt(struct btrfs_qgroup *qg, u64 seq, in btrfs_qgroup_update_old_refcnt() argument
112 if (qg->old_refcnt < seq) in btrfs_qgroup_update_old_refcnt()
113 qg->old_refcnt = seq; in btrfs_qgroup_update_old_refcnt()
114 qg->old_refcnt += mod; in btrfs_qgroup_update_old_refcnt()
117 static void btrfs_qgroup_update_new_refcnt(struct btrfs_qgroup *qg, u64 seq, in btrfs_qgroup_update_new_refcnt() argument
120 if (qg->new_refcnt < seq) in btrfs_qgroup_update_new_refcnt()
121 qg->new_refcnt = seq; in btrfs_qgroup_update_new_refcnt()
122 qg->new_refcnt += mod; in btrfs_qgroup_update_new_refcnt()
125 static inline u64 btrfs_qgroup_get_old_refcnt(struct btrfs_qgroup *qg, u64 seq) in btrfs_qgroup_get_old_refcnt() argument
127 if (qg->old_refcnt < seq) in btrfs_qgroup_get_old_refcnt()
[all …]