chfs_mount
void chfs_calc_trigger_levels(struct chfs_mount *);
int chfs_build_filesystem(struct chfs_mount *);
void chfs_build_set_vnodecache_nlink(struct chfs_mount *,
void chfs_build_remove_unlinked_vnode(struct chfs_mount *,
int chfs_scan_eraseblock(struct chfs_mount *, struct chfs_eraseblock *);
struct chfs_vnode_cache *chfs_scan_make_vnode_cache(struct chfs_mount *,
int chfs_scan_check_vnode(struct chfs_mount *,
int chfs_scan_mark_dirent_obsolete(struct chfs_mount *,
void chfs_add_fd_to_list(struct chfs_mount *,
int chfs_scan_check_dirent_node(struct chfs_mount *,
int chfs_scan_check_data_node(struct chfs_mount *,
int chfs_scan_classify_cheb(struct chfs_mount *,
int chfs_update_eb_dirty(struct chfs_mount *,
void chfs_add_node_to_list(struct chfs_mount *, struct chfs_vnode_cache *,
void chfs_remove_node_from_list(struct chfs_mount *, struct chfs_vnode_cache *,
void chfs_remove_and_obsolete(struct chfs_mount *, struct chfs_vnode_cache *,
void chfs_add_fd_to_inode(struct chfs_mount *,
void chfs_add_vnode_ref_to_vc(struct chfs_mount *, struct chfs_vnode_cache *,
int chfs_nref_len(struct chfs_mount *,
int chfs_close_eraseblock(struct chfs_mount *,
int chfs_reserve_space_normal(struct chfs_mount *, uint32_t, int);
int chfs_reserve_space_gc(struct chfs_mount *, uint32_t);
int chfs_reserve_space(struct chfs_mount *, uint32_t);
void chfs_mark_node_obsolete(struct chfs_mount *, struct chfs_node_ref *);
int chfs_read_inode(struct chfs_mount *, struct chfs_inode *);
int chfs_read_inode_internal(struct chfs_mount *, struct chfs_inode *);
void chfs_remove_frags_of_node(struct chfs_mount *, struct rb_tree *,
void chfs_kill_fragtree(struct chfs_mount *, struct rb_tree *);
uint32_t chfs_truncate_fragtree(struct chfs_mount *,
int chfs_add_full_dnode_to_inode(struct chfs_mount *,
int chfs_read_data(struct chfs_mount*, struct vnode *,
int chfs_remap_leb(struct chfs_mount *);
void chfs_gc_trigger(struct chfs_mount *);
int chfs_gc_thread_should_wake(struct chfs_mount *);
void chfs_gc_thread_start(struct chfs_mount *);
void chfs_gc_thread_stop(struct chfs_mount *);
int chfs_gcollect_pass(struct chfs_mount *);
struct vnode *chfs_vnode_lookup(struct chfs_mount *, ino_t);
void chfs_change_size_free(struct chfs_mount *,
void chfs_change_size_dirty(struct chfs_mount *,
void chfs_change_size_unchecked(struct chfs_mount *,
void chfs_change_size_used(struct chfs_mount *,
void chfs_change_size_wasted(struct chfs_mount *,
struct chfs_vnode_cache* chfs_vnode_cache_get(struct chfs_mount *, ino_t);
void chfs_vnode_cache_add(struct chfs_mount *, struct chfs_vnode_cache *);
void chfs_vnode_cache_remove(struct chfs_mount *, struct chfs_vnode_cache *);
int chfs_write_wbuf(struct chfs_mount*,
int chfs_flush_pending_wbuf(struct chfs_mount *);
int chfs_write_flash_vnode(struct chfs_mount *, struct chfs_inode *, int);
int chfs_write_flash_dirent(struct chfs_mount *, struct chfs_inode *,
int chfs_write_flash_dnode(struct chfs_mount *, struct vnode *,
chfs_map_leb(struct chfs_mount *chmp, int lnr)
chfs_unmap_leb(struct chfs_mount *chmp, int lnr)
chfs_read_leb(struct chfs_mount *chmp, int lnr, char *buf,
static __inline int chfs_write_leb(struct chfs_mount *chmp, int lnr, char *buf,
CHFS_PAGES_MAX(struct chfs_mount *chmp)
chfs_build_remove_unlinked_vnode(struct chfs_mount *chmp,
chfs_build_filesystem(struct chfs_mount *chmp)
chfs_calc_trigger_levels(struct chfs_mount *chmp)
chfs_build_set_vnodecache_nlink(struct chfs_mount *chmp,
chfs_remap_leb(struct chfs_mount *chmp)
chfs_gcollect_dnode(struct chfs_mount *chmp,
chfs_gc_thread_start(struct chfs_mount *chmp)
chfs_gc_thread_stop(struct chfs_mount *chmp)
chfs_gc_thread_should_wake(struct chfs_mount *chmp)
chfs_gc_release_inode(struct chfs_mount *chmp,
chfs_gc_fetch_inode(struct chfs_mount *chmp, ino_t vno,
chfs_check(struct chfs_mount *chmp, struct chfs_vnode_cache *chvc)
chfs_clear_inode(struct chfs_mount *chmp, struct chfs_inode *ip)
find_gc_block(struct chfs_mount *chmp)
void chfs_gc_release_inode(struct chfs_mount *,
struct chfs_inode *chfs_gc_fetch_inode(struct chfs_mount *,
int chfs_check(struct chfs_mount *, struct chfs_vnode_cache *);
chfs_gcollect_pass(struct chfs_mount *chmp)
void chfs_clear_inode(struct chfs_mount *, struct chfs_inode *);
struct chfs_eraseblock *find_gc_block(struct chfs_mount *);
int chfs_gcollect_pristine(struct chfs_mount *,
int chfs_gcollect_live(struct chfs_mount *,
int chfs_gcollect_vnode(struct chfs_mount *, struct chfs_inode *);
int chfs_gcollect_dirent(struct chfs_mount *,
int chfs_gcollect_deletion_dirent(struct chfs_mount *,
int chfs_gcollect_dnode(struct chfs_mount *,
chfs_gc_trigger(struct chfs_mount *chmp)
chfs_gcollect_pristine(struct chfs_mount *chmp, struct chfs_eraseblock *cheb,
struct chfs_mount *chmp = data;
chfs_gcollect_live(struct chfs_mount *chmp,
chfs_gcollect_vnode(struct chfs_mount *chmp, struct chfs_inode *ip)
chfs_gcollect_dirent(struct chfs_mount *chmp,
chfs_gcollect_deletion_dirent(struct chfs_mount *chmp,
struct chfs_mount *chmp; /* chfs mount point - TODO we should remove it */
chfs_remove_node_from_list(struct chfs_mount *chmp,
chfs_remove_and_obsolete(struct chfs_mount *chmp,
chfs_add_fd_to_inode(struct chfs_mount *chmp,
chfs_add_vnode_ref_to_vc(struct chfs_mount *chmp,
chfs_nref_len(struct chfs_mount *chmp,
chfs_mark_node_obsolete(struct chfs_mount *chmp,
chfs_close_eraseblock(struct chfs_mount *chmp,
chfs_update_eb_dirty(struct chfs_mount *chmp,
chfs_reserve_space_normal(struct chfs_mount *chmp, uint32_t size, int prio)
chfs_reserve_space_gc(struct chfs_mount *chmp, uint32_t size)
chfs_reserve_space(struct chfs_mount *chmp, uint32_t size)
chfs_add_node_to_list(struct chfs_mount *chmp,
struct chfs_mount *chmp;
chfs_str_pool_init(struct chfs_str_pool *chsp, struct chfs_mount *chmp)
struct chfs_mount *chmp)
struct chfs_mount *chmp;
struct chfs_mount * chp_mount;
const char *what, struct chfs_mount *chmp);
void chfs_str_pool_init(struct chfs_str_pool *, struct chfs_mount *);
chfs_read_inode_internal(struct chfs_mount *chmp, struct chfs_inode *ip)
chfs_read_data(struct chfs_mount* chmp, struct vnode *vp,
chfs_check_td_data(struct chfs_mount *chmp,
chfs_check_td_node(struct chfs_mount *chmp, struct chfs_tmp_dnode *td)
chfs_kill_td(struct chfs_mount *chmp,
chfs_kill_tdi(struct chfs_mount *chmp,
chfs_add_tmp_dnode_to_tree(struct chfs_mount *chmp,
int chfs_check_td_data(struct chfs_mount *,
int chfs_check_td_node(struct chfs_mount *,
int chfs_add_tmp_dnode_to_tree(struct chfs_mount *,
chfs_add_frag_to_fragtree(struct chfs_mount *chmp,
static void chfs_kill_td(struct chfs_mount *,
static void chfs_kill_tdi(struct chfs_mount *,
chfs_remove_frags_of_node(struct chfs_mount *chmp, struct rb_tree *fragtree,
int chfs_add_frag_to_fragtree(struct chfs_mount *,
chfs_kill_fragtree(struct chfs_mount *chmp, struct rb_tree *fragtree)
chfs_truncate_fragtree(struct chfs_mount *chmp,
void chfs_obsolete_node_frag(struct chfs_mount *,
int chfs_get_data_nodes(struct chfs_mount *,
chfs_obsolete_node_frag(struct chfs_mount *chmp,
int chfs_build_fragtree(struct chfs_mount *,
chfs_add_full_dnode_to_inode(struct chfs_mount *chmp,
chfs_get_data_nodes(struct chfs_mount *chmp,
chfs_build_fragtree(struct chfs_mount *chmp, struct chfs_inode *ip,
int chfs_read_inode(struct chfs_mount *chmp, struct chfs_inode *ip)
chfs_scan_check_vnode(struct chfs_mount *chmp,
chfs_scan_mark_dirent_obsolete(struct chfs_mount *chmp,
chfs_add_fd_to_list(struct chfs_mount *chmp,
chfs_scan_check_dirent_node(struct chfs_mount *chmp,
chfs_scan_check_data_node(struct chfs_mount *chmp,
chfs_scan_classify_cheb(struct chfs_mount *chmp,
chfs_scan_make_vnode_cache(struct chfs_mount *chmp, ino_t vno)
chfs_scan_eraseblock(struct chfs_mount *chmp,
struct chfs_mount *chmp;
struct chfs_mount *chmp;
struct chfs_mount* chmp;
ump->um_chfs = kmem_zalloc(sizeof(struct chfs_mount), KM_SLEEP);
kmem_free(chmp, sizeof(struct chfs_mount));
struct chfs_mount *chmp;
struct chfs_mount *chmp;
static int chfs_mount(struct mount *, const char *, void *, size_t *);
struct chfs_mount *chmp;
.vfs_mount = chfs_mount,
struct chfs_mount *chmp = ump->um_chfs;
struct chfs_mount* chmp = ump->um_chfs;
chfs_change_size_free(struct chfs_mount *chmp,
chfs_change_size_dirty(struct chfs_mount *chmp,
chfs_change_size_unchecked(struct chfs_mount *chmp,
chfs_change_size_used(struct chfs_mount *chmp,
chfs_change_size_wasted(struct chfs_mount *chmp,
chfs_vnode_lookup(struct chfs_mount *chmp, ino_t vno)
struct chfs_mount *chmp = ump->um_chfs;
chfs_vnode_cache_remove(struct chfs_mount *chmp,
chfs_vnode_cache_get(struct chfs_mount *chmp, ino_t vno)
chfs_vnode_cache_add(struct chfs_mount *chmp,
struct chfs_mount *chmp;
struct chfs_mount *chmp;
struct chfs_mount *chmp = ip->chmp;
struct chfs_mount *chmp = ip->chmp;
struct chfs_mount *chmp;
struct chfs_mount *chmp = ump->um_chfs;
struct chfs_mount* chmp;
struct chfs_mount *chmp;
struct chfs_mount *chmp;
chfs_fill_wbuf(struct chfs_mount *chmp, const u_char *buf, size_t len)
chfs_write_wbuf(struct chfs_mount* chmp, const struct iovec *invecs, long count,
int chfs_flush_pending_wbuf(struct chfs_mount *chmp)
chfs_flush_wbuf(struct chfs_mount *chmp, int pad)
chfs_write_flash_dirent(struct chfs_mount *chmp, struct chfs_inode *pdir,
chfs_write_flash_dnode(struct chfs_mount *chmp, struct vnode *vp,
struct chfs_mount *chmp = ump->um_chfs;
chfs_write_flash_vnode(struct chfs_mount *chmp,
struct chfs_mount *chmp = ump->um_chfs;
struct chfs_mount *chfs; /* CHFS */