.. | .. |
---|
23 | 23 | * sparse chunks */ |
---|
24 | 24 | }; |
---|
25 | 25 | |
---|
26 | | -/* Calculate and return the number of filesystem blocks per inode cluster */ |
---|
27 | | -static inline int |
---|
28 | | -xfs_icluster_size_fsb( |
---|
29 | | - struct xfs_mount *mp) |
---|
30 | | -{ |
---|
31 | | - if (mp->m_sb.sb_blocksize >= mp->m_inode_cluster_size) |
---|
32 | | - return 1; |
---|
33 | | - return mp->m_inode_cluster_size >> mp->m_sb.sb_blocklog; |
---|
34 | | -} |
---|
35 | | - |
---|
36 | 26 | /* |
---|
37 | 27 | * Make an inode pointer out of the buffer/offset. |
---|
38 | 28 | */ |
---|
.. | .. |
---|
94 | 84 | xfs_ino_t ino, /* inode to locate */ |
---|
95 | 85 | struct xfs_imap *imap, /* location map structure */ |
---|
96 | 86 | uint flags); /* flags for inode btree lookup */ |
---|
97 | | - |
---|
98 | | -/* |
---|
99 | | - * Compute and fill in value of m_in_maxlevels. |
---|
100 | | - */ |
---|
101 | | -void |
---|
102 | | -xfs_ialloc_compute_maxlevels( |
---|
103 | | - struct xfs_mount *mp); /* file system mount structure */ |
---|
104 | 87 | |
---|
105 | 88 | /* |
---|
106 | 89 | * Log specified fields for the ag hdr (inode section) |
---|
.. | .. |
---|
168 | 151 | int *stat); |
---|
169 | 152 | |
---|
170 | 153 | int xfs_ialloc_cluster_alignment(struct xfs_mount *mp); |
---|
| 154 | +void xfs_ialloc_setup_geometry(struct xfs_mount *mp); |
---|
| 155 | +xfs_ino_t xfs_ialloc_calc_rootino(struct xfs_mount *mp, int sunit); |
---|
171 | 156 | |
---|
172 | 157 | #endif /* __XFS_IALLOC_H__ */ |
---|