Searched refs:i_max_bytes (Results 1 – 4 of 4) sorted by relevance
366 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()
372 u64 i_max_bytes, i_max_files; member1379 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()
272 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()
581 ci->i_max_bytes = 0; in ceph_alloc_inode()