Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ceph/
Dquota.c501 total = ci->i_max_bytes >> CEPH_BLOCK_SHIFT; in ceph_quota_update_statfs()
502 used = ci->i_rbytes >> CEPH_BLOCK_SHIFT; in ceph_quota_update_statfs()
Dsuper.c78 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.h28 #define CEPH_BLOCK_SHIFT 22 /* 4 MB */ macro
29 #define CEPH_BLOCK (1 << CEPH_BLOCK_SHIFT)
Dinode.c864 inode->i_blkbits = CEPH_BLOCK_SHIFT; in ceph_fill_inode()