.. | .. |
---|
48 | 48 | extern struct xfs_btree_cur *xfs_inobt_init_cursor(struct xfs_mount *, |
---|
49 | 49 | struct xfs_trans *, struct xfs_buf *, xfs_agnumber_t, |
---|
50 | 50 | xfs_btnum_t); |
---|
| 51 | +struct xfs_btree_cur *xfs_inobt_stage_cursor(struct xfs_mount *mp, |
---|
| 52 | + struct xbtree_afakeroot *afake, xfs_agnumber_t agno, |
---|
| 53 | + xfs_btnum_t btnum); |
---|
51 | 54 | extern int xfs_inobt_maxrecs(struct xfs_mount *, int, int); |
---|
52 | 55 | |
---|
53 | 56 | /* ir_holemask to inode allocation bitmap conversion */ |
---|
.. | .. |
---|
64 | 67 | xfs_agnumber_t agno, xfs_extlen_t *ask, xfs_extlen_t *used); |
---|
65 | 68 | extern xfs_extlen_t xfs_iallocbt_calc_size(struct xfs_mount *mp, |
---|
66 | 69 | unsigned long long len); |
---|
| 70 | +int xfs_inobt_cur(struct xfs_mount *mp, struct xfs_trans *tp, |
---|
| 71 | + xfs_agnumber_t agno, xfs_btnum_t btnum, |
---|
| 72 | + struct xfs_btree_cur **curpp, struct xfs_buf **agi_bpp); |
---|
| 73 | + |
---|
| 74 | +void xfs_inobt_commit_staged_btree(struct xfs_btree_cur *cur, |
---|
| 75 | + struct xfs_trans *tp, struct xfs_buf *agbp); |
---|
67 | 76 | |
---|
68 | 77 | #endif /* __XFS_IALLOC_BTREE_H__ */ |
---|