Home
last modified time | relevance | path

Searched refs:i_max_bytes (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/fs/ceph/
H A Dquota.c366 max = ci->i_max_bytes; in check_quota_exceeded()
505 if (ci->i_max_bytes) { in ceph_quota_update_statfs()
506 total = ci->i_max_bytes >> CEPH_BLOCK_SHIFT; in ceph_quota_update_statfs()
510 total = ci->i_max_bytes >> CEPH_4K_BLOCK_SHIFT; in ceph_quota_update_statfs()
523 free = ci->i_max_bytes > ci->i_rbytes ? 1 : 0; in ceph_quota_update_statfs()
H A Dsuper.h372 u64 i_max_bytes, i_max_files; member
1379 has_quota = !!ci->i_max_bytes; in __ceph_has_quota()
1385 has_quota = !!(ci->i_max_files || ci->i_max_bytes); in __ceph_has_quota()
1397 ci->i_max_bytes = max_bytes; in __ceph_update_quota()
H A Dxattr.c272 if ((ci->i_max_files || ci->i_max_bytes) && in ceph_vxattrcb_quota_exists()
285 ci->i_max_bytes, ci->i_max_files); in ceph_vxattrcb_quota()
291 return ceph_fmt_xattr(val, size, "%llu", ci->i_max_bytes); in ceph_vxattrcb_quota_max_bytes()
1296 if ((ci->i_max_files || ci->i_max_bytes) && in __ceph_setxattr()
H A Dinode.c581 ci->i_max_bytes = 0; in ceph_alloc_inode()