Home | History | Annotate | Download | only in chfs

Lines Matching defs:nref

135 	uint32_t nref_lnr;					/* nref's LEB number */
136 uint32_t nref_offset; /* nref's offset */
147 /* node masks - last two bits of the nodes ("state" of an nref) */
169 node_next(struct chfs_node_ref *nref)
171 /* step to the next nref in the same block */
172 nref++;
175 if (nref->nref_lnr == REF_LINK_TO_NEXT) {
176 nref = nref->nref_next;
177 if (!nref)
178 return nref;
182 if (nref->nref_lnr == REF_EMPTY_NODE) {
186 return nref;
192 struct chfs_node_ref *nref; /* nref of the dirent */
227 struct chfs_node_ref *nref; /* nref of the node */
507 * Find out the corresponding vnode cache from an nref.
511 chfs_nref_to_vc(struct chfs_node_ref *nref)
514 while (nref->nref_next) {
515 nref = nref->nref_next;
516 if (nref->nref_lnr == REF_LINK_TO_NEXT) {
518 } else if (nref->nref_lnr == REF_EMPTY_NODE) {
523 struct chfs_vnode_cache *vc = (struct chfs_vnode_cache *) nref;