Searched refs:i_max_bytes (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-6.6/fs/ceph/ |
H A D | quota.c | 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()
|
H A D | super.h | 371 u64 i_max_bytes, i_max_files; member 1377 has_quota = !!ci->i_max_bytes; in __ceph_has_quota() 1383 has_quota = !!(ci->i_max_files || ci->i_max_bytes); in __ceph_has_quota() 1395 ci->i_max_bytes = max_bytes; in __ceph_update_quota()
|
H A D | xattr.c | 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()
|
H A D | inode.c | 581 ci->i_max_bytes = 0; in ceph_alloc_inode()
|
/kernel/linux/linux-5.10/fs/ceph/ |
H A D | quota.c | 358 max = ci->i_max_bytes; in check_quota_exceeded() 497 if (ci->i_max_bytes) { in ceph_quota_update_statfs() 498 total = ci->i_max_bytes >> CEPH_BLOCK_SHIFT; in ceph_quota_update_statfs()
|
H A D | super.h | 341 u64 i_max_bytes, i_max_files; member 1230 return ci->i_max_files || ci->i_max_bytes; in __ceph_has_any_quota() 1240 ci->i_max_bytes = max_bytes; in __ceph_update_quota()
|
H A D | xattr.c | 265 if ((ci->i_max_files || ci->i_max_bytes) && in ceph_vxattrcb_quota_exists() 278 ci->i_max_bytes, ci->i_max_files); in ceph_vxattrcb_quota() 284 return ceph_fmt_xattr(val, size, "%llu", ci->i_max_bytes); in ceph_vxattrcb_quota_max_bytes() 1149 if ((ci->i_max_files || ci->i_max_bytes) && in __ceph_setxattr()
|
H A D | inode.c | 456 ci->i_max_bytes = 0; in ceph_alloc_inode()
|
Completed in 17 milliseconds