12 struct list_head dirty
;
13 struct list_head cache
;
16 struct tree_buffer
*read_tree_block(struct ctree_root
*root
, u64 blocknr
);
17 struct tree_buffer
*find_tree_block(struct ctree_root
*root
, u64 blocknr
);
18 int write_tree_block(struct ctree_root
*root
, struct tree_buffer
*buf
);
19 int dirty_tree_block(struct ctree_root
*root
, struct tree_buffer
*buf
);
20 int clean_tree_block(struct ctree_root
*root
, struct tree_buffer
*buf
);
21 int commit_transaction(struct ctree_root
*root
, struct ctree_super_block
*s
);
22 struct ctree_root
*open_ctree(char *filename
, struct ctree_super_block
*s
);
23 int close_ctree(struct ctree_root
*root
, struct ctree_super_block
*s
);
24 void tree_block_release(struct ctree_root
*root
, struct tree_buffer
*buf
);
25 int write_ctree_super(struct ctree_root
*root
, struct ctree_super_block
*s
);
28 #define CTREE_SUPER_INFO_OFFSET(bs) (16 * (bs))
This page took 0.042284 seconds and 5 git commands to generate.