Searched refs:qgroup (Results 1 – 5 of 5) sorted by relevance
/linux-5.19.10/fs/btrfs/ |
D | qgroup.c | 34 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 …]
|
D | sysfs.c | 1886 struct btrfs_qgroup *qgroup = container_of(qgroup_kobj, \ 1888 return btrfs_show_u64(&qgroup->_member, &fs_info->qgroup_lock, buf); \ 1890 BTRFS_ATTR(qgroup, _show_name, btrfs_qgroup_show_##_member) 1898 struct btrfs_qgroup *qgroup = container_of(qgroup_kobj, \ 1900 return btrfs_show_u64(&qgroup->rsv.values[_type], \ 1903 BTRFS_ATTR(qgroup, rsv_##_name, btrfs_qgroup_rsv_show_##_name) 1920 BTRFS_ATTR_PTR(qgroup, referenced), 1921 BTRFS_ATTR_PTR(qgroup, exclusive), 1922 BTRFS_ATTR_PTR(qgroup, max_referenced), 1923 BTRFS_ATTR_PTR(qgroup, max_exclusive), [all …]
|
D | sysfs.h | 37 struct btrfs_qgroup *qgroup); 41 struct btrfs_qgroup *qgroup);
|
D | Makefile | 31 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-5.19.10/include/trace/events/ |
D | btrfs.h | 1659 const struct btrfs_qgroup *qgroup, 1662 TP_ARGS(fs_info, qgroup, cur_old_count, cur_new_count), 1673 __entry->qgid = qgroup->qgroupid; 1674 __entry->old_rfer = qgroup->rfer; 1675 __entry->old_excl = qgroup->excl; 1687 TP_PROTO(struct btrfs_fs_info *fs_info, struct btrfs_qgroup *qgroup, 1690 TP_ARGS(fs_info, qgroup, diff, type), 1700 __entry->qgid = qgroup->qgroupid; 1701 __entry->cur_reserved = qgroup->rsv.values[type];
|