Home
last modified time | relevance | path

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

/openbmc/linux/fs/btrfs/
H A Dqgroup.c203 qgroup = kzalloc(sizeof(*qgroup), GFP_ATOMIC); in add_qgroup_rb()
204 if (!qgroup) in add_qgroup_rb()
216 return qgroup; in add_qgroup_rb()
247 if (!qgroup) in del_qgroup_rb()
334 if (!qgroup) in btrfs_verify_qgroup_counts()
336 if (qgroup->rfer != rfer || qgroup->excl != excl) in btrfs_verify_qgroup_counts()
1390 if (!qgroup) in __qgroup_excl_accounting()
1464 if (!qgroup) in quick_update_accounting()
1466 if (qgroup->excl == qgroup->rfer) { in quick_update_accounting()
1664 return (qgroup->rfer > 0 || qgroup->rfer_cmpr > 0 || in qgroup_has_usage()
[all …]
H A Dsysfs.c2215 BTRFS_ATTR_PTR(qgroup, referenced),
2216 BTRFS_ATTR_PTR(qgroup, exclusive),
2220 BTRFS_ATTR_PTR(qgroup, rsv_data),
2225 ATTRIBUTE_GROUPS(qgroup);
2241 struct btrfs_qgroup *qgroup) in btrfs_sysfs_add_one_qgroup() argument
2257 kobject_put(&qgroup->kobj); in btrfs_sysfs_add_one_qgroup()
2264 struct btrfs_qgroup *qgroup; in btrfs_sysfs_del_qgroups() local
2284 struct btrfs_qgroup *qgroup; in btrfs_sysfs_add_qgroups() local
2318 struct btrfs_qgroup *qgroup) in btrfs_sysfs_del_one_qgroup() argument
2324 kobject_del(&qgroup->kobj); in btrfs_sysfs_del_one_qgroup()
[all …]
H A Dsysfs.h36 struct btrfs_qgroup *qgroup);
40 struct btrfs_qgroup *qgroup);
H A DMakefile32 backref.o ulist.o qgroup.o send.o dev-replace.o raid56.o \
46 tests/extent-io-tests.o tests/inode-tests.o tests/qgroup-tests.o \
/openbmc/linux/include/trace/events/
H A Dbtrfs.h1832 const struct btrfs_qgroup *qgroup,
1835 TP_ARGS(fs_info, qgroup, cur_old_count, cur_new_count),
1846 __entry->qgid = qgroup->qgroupid;
1847 __entry->old_rfer = qgroup->rfer;
1848 __entry->old_excl = qgroup->excl;
1860 TP_PROTO(struct btrfs_fs_info *fs_info, struct btrfs_qgroup *qgroup,
1863 TP_ARGS(fs_info, qgroup, diff, type),
1873 __entry->qgid = qgroup->qgroupid;
1874 __entry->cur_reserved = qgroup->rsv.values[type];