Home
last modified time | relevance | path

Searched refs:chfs_node_ref (Results 1 – 11 of 11) sorted by relevance

/netbsd-src/sys/ufs/chfs/
H A Dchfs.h132 struct chfs_node_ref struct
134 struct chfs_node_ref *nref_next; /* next data node which belongs to the same vnode */ argument
143 #define REFS_BLOCK_LEN (255/sizeof(struct chfs_node_ref)) argument
168 static __inline struct chfs_node_ref *
169 node_next(struct chfs_node_ref *nref) in node_next()
192 struct chfs_node_ref *nref; /* nref of the dirent */
222 struct chfs_node_ref *latest_ref; /* latest node reference */
227 struct chfs_node_ref *nref; /* nref of the node */
277 struct chfs_node_ref *v; /* list of node informations */
278 struct chfs_node_ref *dnode; /* list of data nodes */
[all …]
H A Dchfs_nodeops.c73 struct chfs_node_ref *new, struct chfs_node_ref **list) in chfs_add_node_to_list()
77 struct chfs_node_ref *nextref = *list; in chfs_add_node_to_list()
78 struct chfs_node_ref *prevref = NULL; in chfs_add_node_to_list()
80 while (nextref && nextref != (struct chfs_node_ref *)vc && in chfs_add_node_to_list()
84 (struct chfs_node_ref *)vc && in chfs_add_node_to_list()
96 if (nextref && nextref != (struct chfs_node_ref *)vc && in chfs_add_node_to_list()
122 struct chfs_node_ref *old_nref, struct chfs_node_ref **list) in chfs_remove_node_from_list()
127 struct chfs_node_ref *tmpnref; in chfs_remove_node_from_list()
129 if (*list == (struct chfs_node_ref *)vc) { in chfs_remove_node_from_list()
141 tmpnref->nref_next != (struct chfs_node_ref *)vc) { in chfs_remove_node_from_list()
[all …]
H A Dchfs_build.c114 struct chfs_node_ref *nref; in chfs_build_remove_unlinked_vnode()
123 while (nref != (struct chfs_node_ref *)vc) { in chfs_build_remove_unlinked_vnode()
124 struct chfs_node_ref *next = nref->nref_next; in chfs_build_remove_unlinked_vnode()
129 vc->dnode = (struct chfs_node_ref *)vc; in chfs_build_remove_unlinked_vnode()
132 while (nref != (struct chfs_node_ref *)vc) { in chfs_build_remove_unlinked_vnode()
133 struct chfs_node_ref *next = nref->nref_next; in chfs_build_remove_unlinked_vnode()
138 vc->dirents = (struct chfs_node_ref *)vc; in chfs_build_remove_unlinked_vnode()
186 vc->v = (struct chfs_node_ref *)vc; in chfs_build_remove_unlinked_vnode()
213 struct chfs_node_ref **nref; in chfs_build_filesystem()
H A Dchfs_malloc.c59 (REFS_BLOCK_LEN + 1) * sizeof(struct chfs_node_ref), 0, 0, in chfs_alloc_pool_caches()
187 struct chfs_node_ref*
191 struct chfs_node_ref *nref; in chfs_alloc_refblock()
207 chfs_free_refblock(struct chfs_node_ref *nref) in chfs_free_refblock()
218 struct chfs_node_ref*
221 struct chfs_node_ref *nref, *new, *old __diagused; in chfs_alloc_node_ref()
258 struct chfs_node_ref *nref, *block; in chfs_free_node_refs()
H A Dchfs_gc.c49 struct chfs_vnode_cache *, struct chfs_node_ref *);
51 struct chfs_eraseblock *, struct chfs_node_ref *,
308 struct chfs_node_ref *nref; in chfs_clear_inode()
321 while (deleted && chvc->v != (struct chfs_node_ref *)chvc) { in chfs_clear_inode()
425 struct chfs_node_ref *nref; in chfs_gcollect_pass()
700 struct chfs_vnode_cache *chvc, struct chfs_node_ref *nref) in chfs_gcollect_pristine()
702 struct chfs_node_ref *newnref; in chfs_gcollect_pristine()
848 struct chfs_eraseblock *cheb, struct chfs_node_ref *nref, in chfs_gcollect_live()
992 struct chfs_node_ref *nref; in chfs_gcollect_deletion_dirent()
1079 struct chfs_node_ref *nref; in chfs_gcollect_dnode()
H A Dchfs_write.c52 struct chfs_node_ref *nref; in chfs_write_flash_vnode()
164 struct chfs_node_ref *nref; in chfs_write_flash_dirent()
287 struct chfs_node_ref *nref; in chfs_write_flash_dnode()
474 struct chfs_node_ref *nref; in chfs_do_unlink()
520 while (ip->chvc->dnode != (struct chfs_node_ref *)ip->chvc) { in chfs_do_unlink()
527 while (ip->chvc->v != (struct chfs_node_ref *)ip->chvc) { in chfs_do_unlink()
H A Dchfs_readinode.c45 struct chfs_node_ref *chfs_first_valid_data_ref(struct chfs_node_ref *);
149 struct chfs_node_ref *nref = td->node->nref; in chfs_check_td_data()
215 struct chfs_node_ref *
216 chfs_first_valid_data_ref(struct chfs_node_ref *nref) in chfs_first_valid_data_ref()
612 struct chfs_node_ref *nref) in chfs_remove_frags_of_node()
791 struct chfs_node_ref *nref; in chfs_get_data_nodes()
1110 struct chfs_node_ref *nref; in chfs_read_data()
H A Dchfs_scan.c108 struct chfs_node_ref *nref; in chfs_scan_check_vnode()
183 struct chfs_node_ref *prev, *nref; in chfs_scan_mark_dirent_obsolete()
357 struct chfs_node_ref *nref; in chfs_scan_check_data_node()
438 struct chfs_node_ref *nref; in chfs_scan_eraseblock()
H A Dchfs_wbuf.c63 struct chfs_node_ref *nref; in chfs_flush_wbuf()
H A Dchfs_vnode.c141 chfs_readdirent(struct mount *mp, struct chfs_node_ref *chnr, struct chfs_inode *pdir) in chfs_readdirent()
H A Dchfs_vfsops.c477 struct chfs_node_ref* nref = NULL; in chfs_loadvnode()