| .. | .. |
|---|
| 33 | 33 | #define XFS_CUI_MAX_FAST_EXTENTS 16 |
|---|
| 34 | 34 | |
|---|
| 35 | 35 | /* |
|---|
| 36 | | - * Define CUI flag bits. Manipulated by set/clear/test_bit operators. |
|---|
| 37 | | - */ |
|---|
| 38 | | -#define XFS_CUI_RECOVERED 1 |
|---|
| 39 | | - |
|---|
| 40 | | -/* |
|---|
| 41 | 36 | * This is the "refcount update intent" log item. It is used to log |
|---|
| 42 | 37 | * the fact that some reverse mappings need to change. It is used in |
|---|
| 43 | 38 | * conjunction with the "refcount update done" log item described |
|---|
| .. | .. |
|---|
| 51 | 46 | struct xfs_log_item cui_item; |
|---|
| 52 | 47 | atomic_t cui_refcount; |
|---|
| 53 | 48 | atomic_t cui_next_extent; |
|---|
| 54 | | - unsigned long cui_flags; /* misc flags */ |
|---|
| 55 | 49 | struct xfs_cui_log_format cui_format; |
|---|
| 56 | 50 | }; |
|---|
| 57 | 51 | |
|---|
| .. | .. |
|---|
| 76 | 70 | |
|---|
| 77 | 71 | extern struct kmem_zone *xfs_cui_zone; |
|---|
| 78 | 72 | extern struct kmem_zone *xfs_cud_zone; |
|---|
| 79 | | - |
|---|
| 80 | | -struct xfs_cui_log_item *xfs_cui_init(struct xfs_mount *, uint); |
|---|
| 81 | | -struct xfs_cud_log_item *xfs_cud_init(struct xfs_mount *, |
|---|
| 82 | | - struct xfs_cui_log_item *); |
|---|
| 83 | | -void xfs_cui_item_free(struct xfs_cui_log_item *); |
|---|
| 84 | | -void xfs_cui_release(struct xfs_cui_log_item *); |
|---|
| 85 | | -int xfs_cui_recover(struct xfs_trans *parent_tp, struct xfs_cui_log_item *cuip); |
|---|
| 86 | 73 | |
|---|
| 87 | 74 | #endif /* __XFS_REFCOUNT_ITEM_H__ */ |
|---|