Searched refs:CEPH_BLOCK_SHIFT (Results 1 – 4 of 4) sorted by relevance
342 total = ci->i_max_bytes >> CEPH_BLOCK_SHIFT; in ceph_quota_update_statfs()343 used = ci->i_rbytes >> CEPH_BLOCK_SHIFT; in ceph_quota_update_statfs()
77 buf->f_bsize = 1 << CEPH_BLOCK_SHIFT; in ceph_statfs()78 buf->f_frsize = 1 << CEPH_BLOCK_SHIFT; in ceph_statfs()87 buf->f_blocks = le64_to_cpu(st.kb) >> (CEPH_BLOCK_SHIFT-10); in ceph_statfs()88 buf->f_bfree = le64_to_cpu(st.kb_avail) >> (CEPH_BLOCK_SHIFT-10); in ceph_statfs()89 buf->f_bavail = le64_to_cpu(st.kb_avail) >> (CEPH_BLOCK_SHIFT-10); in ceph_statfs()
31 #define CEPH_BLOCK_SHIFT 22 /* 4 MB */ macro32 #define CEPH_BLOCK (1 << CEPH_BLOCK_SHIFT)
818 inode->i_blkbits = CEPH_BLOCK_SHIFT; in fill_inode()