Searched refs:qgroup (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/fs/btrfs/ |
D | qgroup.c | 45 static u64 qgroup_rsv_total(const struct btrfs_qgroup *qgroup) in qgroup_rsv_total() argument 51 ret += qgroup->rsv.values[i]; in qgroup_rsv_total() 70 struct btrfs_qgroup *qgroup, u64 num_bytes, in qgroup_rsv_add() argument 73 trace_qgroup_update_reserve(fs_info, qgroup, num_bytes, type); in qgroup_rsv_add() 74 qgroup->rsv.values[type] += num_bytes; in qgroup_rsv_add() 78 struct btrfs_qgroup *qgroup, u64 num_bytes, in qgroup_rsv_release() argument 81 trace_qgroup_update_reserve(fs_info, qgroup, -(s64)num_bytes, type); in qgroup_rsv_release() 82 if (qgroup->rsv.values[type] >= num_bytes) { in qgroup_rsv_release() 83 qgroup->rsv.values[type] -= num_bytes; in qgroup_rsv_release() 89 qgroup->qgroupid, qgroup_rsv_type_str(type), in qgroup_rsv_release() [all …]
|
D | sysfs.c | 1576 struct btrfs_qgroup *qgroup = container_of(qgroup_kobj, \ 1578 return btrfs_show_u64(&qgroup->_member, &fs_info->qgroup_lock, buf); \ 1580 BTRFS_ATTR(qgroup, _show_name, btrfs_qgroup_show_##_member) 1588 struct btrfs_qgroup *qgroup = container_of(qgroup_kobj, \ 1590 return btrfs_show_u64(&qgroup->rsv.values[_type], \ 1593 BTRFS_ATTR(qgroup, rsv_##_name, btrfs_qgroup_rsv_show_##_name) 1605 BTRFS_ATTR_PTR(qgroup, referenced), 1606 BTRFS_ATTR_PTR(qgroup, exclusive), 1607 BTRFS_ATTR_PTR(qgroup, max_referenced), 1608 BTRFS_ATTR_PTR(qgroup, max_exclusive), [all …]
|
D | sysfs.h | 37 struct btrfs_qgroup *qgroup); 41 struct btrfs_qgroup *qgroup);
|
D | Makefile | 12 reada.o backref.o ulist.o qgroup.o send.o dev-replace.o raid56.o \ 22 tests/extent-io-tests.o tests/inode-tests.o tests/qgroup-tests.o \
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | btrfs.h | 1664 const struct btrfs_qgroup *qgroup, 1667 TP_ARGS(fs_info, qgroup, cur_old_count, cur_new_count), 1678 __entry->qgid = qgroup->qgroupid; 1679 __entry->old_rfer = qgroup->rfer; 1680 __entry->old_excl = qgroup->excl; 1692 TP_PROTO(struct btrfs_fs_info *fs_info, struct btrfs_qgroup *qgroup, 1695 TP_ARGS(fs_info, qgroup, diff, type), 1705 __entry->qgid = qgroup->qgroupid; 1706 __entry->cur_reserved = qgroup->rsv.values[type];
|