Home
last modified time | relevance | path

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

/linux-6.1.9/fs/btrfs/
Dqgroup.c34 static u64 qgroup_rsv_total(const struct btrfs_qgroup *qgroup) in qgroup_rsv_total() argument
40 ret += qgroup->rsv.values[i]; in qgroup_rsv_total()
59 struct btrfs_qgroup *qgroup, u64 num_bytes, in qgroup_rsv_add() argument
62 trace_qgroup_update_reserve(fs_info, qgroup, num_bytes, type); in qgroup_rsv_add()
63 qgroup->rsv.values[type] += num_bytes; in qgroup_rsv_add()
67 struct btrfs_qgroup *qgroup, u64 num_bytes, in qgroup_rsv_release() argument
70 trace_qgroup_update_reserve(fs_info, qgroup, -(s64)num_bytes, type); in qgroup_rsv_release()
71 if (qgroup->rsv.values[type] >= num_bytes) { in qgroup_rsv_release()
72 qgroup->rsv.values[type] -= num_bytes; in qgroup_rsv_release()
78 qgroup->qgroupid, qgroup_rsv_type_str(type), in qgroup_rsv_release()
[all …]
Dsysfs.c2121 struct btrfs_qgroup *qgroup = container_of(qgroup_kobj, \
2123 return btrfs_show_u64(&qgroup->_member, &fs_info->qgroup_lock, buf); \
2125 BTRFS_ATTR(qgroup, _show_name, btrfs_qgroup_show_##_member)
2133 struct btrfs_qgroup *qgroup = container_of(qgroup_kobj, \
2135 return btrfs_show_u64(&qgroup->rsv.values[_type], \
2138 BTRFS_ATTR(qgroup, rsv_##_name, btrfs_qgroup_rsv_show_##_name)
2155 BTRFS_ATTR_PTR(qgroup, referenced),
2156 BTRFS_ATTR_PTR(qgroup, exclusive),
2157 BTRFS_ATTR_PTR(qgroup, max_referenced),
2158 BTRFS_ATTR_PTR(qgroup, max_exclusive),
[all …]
Dsysfs.h37 struct btrfs_qgroup *qgroup);
41 struct btrfs_qgroup *qgroup);
DMakefile31 backref.o ulist.o qgroup.o send.o dev-replace.o raid56.o \
44 tests/extent-io-tests.o tests/inode-tests.o tests/qgroup-tests.o \
/linux-6.1.9/include/trace/events/
Dbtrfs.h1723 const struct btrfs_qgroup *qgroup,
1726 TP_ARGS(fs_info, qgroup, cur_old_count, cur_new_count),
1737 __entry->qgid = qgroup->qgroupid;
1738 __entry->old_rfer = qgroup->rfer;
1739 __entry->old_excl = qgroup->excl;
1751 TP_PROTO(struct btrfs_fs_info *fs_info, struct btrfs_qgroup *qgroup,
1754 TP_ARGS(fs_info, qgroup, diff, type),
1764 __entry->qgid = qgroup->qgroupid;
1765 __entry->cur_reserved = qgroup->rsv.values[type];