Home
last modified time | relevance | path

Searched refs:referenced_max (Results 1 – 8 of 8) sorted by relevance

/systemd-251/src/shared/
Dbtrfs-util.h26 uint64_t referenced_max; member
97 …trfs_subvol_set_subtree_quota_limit(const char *path, uint64_t subvol_id, uint64_t referenced_max);
98 int btrfs_subvol_set_subtree_quota_limit_fd(int fd, uint64_t subvol_id, uint64_t referenced_max);
110 int btrfs_qgroup_set_limit_fd(int fd, uint64_t qgroupid, uint64_t referenced_max);
111 int btrfs_qgroup_set_limit(const char *path, uint64_t qgroupid, uint64_t referenced_max);
Dbtrfs-util.c601 ret->referenced_max = le64toh(qli->max_rfer); in btrfs_qgroup_get_quota_fd()
603 ret->referenced_max = UINT64_MAX; in btrfs_qgroup_get_quota_fd()
632 ret->referenced_max = UINT64_MAX; in btrfs_qgroup_get_quota_fd()
779 int btrfs_qgroup_set_limit_fd(int fd, uint64_t qgroupid, uint64_t referenced_max) { in btrfs_qgroup_set_limit_fd() argument
782 .lim.max_rfer = referenced_max, in btrfs_qgroup_set_limit_fd()
820 int btrfs_qgroup_set_limit(const char *path, uint64_t qgroupid, uint64_t referenced_max) { in btrfs_qgroup_set_limit() argument
827 return btrfs_qgroup_set_limit_fd(fd, qgroupid, referenced_max); in btrfs_qgroup_set_limit()
830 int btrfs_subvol_set_subtree_quota_limit_fd(int fd, uint64_t subvol_id, uint64_t referenced_max) { in btrfs_subvol_set_subtree_quota_limit_fd() argument
840 return btrfs_qgroup_set_limit_fd(fd, qgroupid, referenced_max); in btrfs_subvol_set_subtree_quota_limit_fd()
843 …rfs_subvol_set_subtree_quota_limit(const char *path, uint64_t subvol_id, uint64_t referenced_max) { in btrfs_subvol_set_subtree_quota_limit() argument
[all …]
Ddiscover-image.h82 int image_set_limit(Image *i, uint64_t referenced_max);
Ddiscover-image.c299 (*ret)->limit = quota.referenced_max; in image_make()
1097 int image_set_limit(Image *i, uint64_t referenced_max) { in image_set_limit() argument
1111 (void) btrfs_qgroup_set_limit(i->path, 0, referenced_max); in image_set_limit()
1113 return btrfs_subvol_set_subtree_quota_limit(i->path, 0, referenced_max); in image_set_limit()
/systemd-251/src/test/
Dtest-btrfs.c37 log_info("referenced_max: %s", strna(FORMAT_BYTES(quota.referenced_max))); in main()
163 assert_se(quota.referenced_max == 4ULL * 1024 * 1024 * 1024); in main()
169 assert_se(quota.referenced_max == 5ULL * 1024 * 1024 * 1024); in main()
/systemd-251/src/portable/
Dportabled-bus.c81 size = q.referenced_max; in property_get_pool_limit()
/systemd-251/src/home/
Dhomed-home.c2351 if (qi.referenced_max != UINT64_MAX) { in home_get_disk_status_directory()
2353 disk_size = MIN(qi.referenced_max, disk_size); in home_get_disk_status_directory()
2355 disk_size = qi.referenced_max; in home_get_disk_status_directory()
/systemd-251/src/machine/
Dmachined-dbus.c84 size = q.referenced_max; in property_get_pool_limit()