Home
last modified time | relevance | path

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

/linux-4.19.296/fs/ceph/
Dquota.c342 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()
Dsuper.c77 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()
Dsuper.h31 #define CEPH_BLOCK_SHIFT 22 /* 4 MB */ macro
32 #define CEPH_BLOCK (1 << CEPH_BLOCK_SHIFT)
Dinode.c818 inode->i_blkbits = CEPH_BLOCK_SHIFT; in fill_inode()