Home
last modified time | relevance | path

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

/linux-6.12.1/fs/btrfs/
Dqgroup.c58 static u64 qgroup_rsv_total(const struct btrfs_qgroup *qgroup) in qgroup_rsv_total() argument
64 ret += qgroup->rsv.values[i]; in qgroup_rsv_total()
83 struct btrfs_qgroup *qgroup, u64 num_bytes, in qgroup_rsv_add() argument
86 trace_qgroup_update_reserve(fs_info, qgroup, num_bytes, type); in qgroup_rsv_add()
87 qgroup->rsv.values[type] += num_bytes; in qgroup_rsv_add()
91 struct btrfs_qgroup *qgroup, u64 num_bytes, in qgroup_rsv_release() argument
94 trace_qgroup_update_reserve(fs_info, qgroup, -(s64)num_bytes, type); in qgroup_rsv_release()
95 if (qgroup->rsv.values[type] >= num_bytes) { in qgroup_rsv_release()
96 qgroup->rsv.values[type] -= num_bytes; in qgroup_rsv_release()
102 qgroup->qgroupid, qgroup_rsv_type_str(type), in qgroup_rsv_release()
[all …]
Dsysfs.c2360 struct btrfs_qgroup *qgroup = container_of(qgroup_kobj, \
2362 return btrfs_show_u64(&qgroup->_member, &fs_info->qgroup_lock, buf); \
2364 BTRFS_ATTR(qgroup, _show_name, btrfs_qgroup_show_##_member)
2372 struct btrfs_qgroup *qgroup = container_of(qgroup_kobj, \
2374 return btrfs_show_u64(&qgroup->rsv.values[_type], \
2377 BTRFS_ATTR(qgroup, rsv_##_name, btrfs_qgroup_rsv_show_##_name)
2394 BTRFS_ATTR_PTR(qgroup, referenced),
2395 BTRFS_ATTR_PTR(qgroup, exclusive),
2396 BTRFS_ATTR_PTR(qgroup, max_referenced),
2397 BTRFS_ATTR_PTR(qgroup, max_exclusive),
[all …]
Dsysfs.h45 struct btrfs_qgroup *qgroup);
49 struct btrfs_qgroup *qgroup);
DMakefile32 backref.o ulist.o qgroup.o send.o dev-replace.o raid56.o \
45 tests/extent-io-tests.o tests/inode-tests.o tests/qgroup-tests.o \
/linux-6.12.1/include/trace/events/
Dbtrfs.h1800 const struct btrfs_qgroup *qgroup,
1803 TP_ARGS(fs_info, qgroup, cur_old_count, cur_new_count),
1814 __entry->qgid = qgroup->qgroupid;
1815 __entry->old_rfer = qgroup->rfer;
1816 __entry->old_excl = qgroup->excl;
1828 TP_PROTO(const struct btrfs_fs_info *fs_info, const struct btrfs_qgroup *qgroup,
1831 TP_ARGS(fs_info, qgroup, diff, type),
1841 __entry->qgid = qgroup->qgroupid;
1842 __entry->cur_reserved = qgroup->rsv.values[type];