chfs_node_ref
struct chfs_node_ref *nref_next; /* next data node which belongs to the same vnode */
#define REFS_BLOCK_LEN (255/sizeof(struct chfs_node_ref))
static __inline struct chfs_node_ref *
node_next(struct chfs_node_ref *nref)
struct chfs_node_ref *nref; /* nref of the dirent */
struct chfs_node_ref *latest_ref; /* latest node reference */
struct chfs_node_ref *nref; /* nref of the node */
struct chfs_node_ref *v; /* list of node informations */
struct chfs_node_ref *dnode; /* list of data nodes */
struct chfs_node_ref *dirents; /* list of directory entries */
struct chfs_node_ref *first_node; /* first node of the block */
struct chfs_node_ref *last_node; /* last node of the block */
struct chfs_node_ref *gc_node; /* next node from the block
struct chfs_node_ref *, struct chfs_node_ref **);
struct chfs_node_ref *, struct chfs_node_ref **);
struct chfs_node_ref *, struct chfs_node_ref **);
struct chfs_node_ref *);
struct chfs_node_ref* chfs_nref_next(struct chfs_node_ref *);
struct chfs_eraseblock *, struct chfs_node_ref *);
void chfs_mark_node_obsolete(struct chfs_mount *, struct chfs_node_ref *);
chfs_nref_to_vc(struct chfs_node_ref *nref)
struct chfs_node_ref* chfs_alloc_node_ref(
struct chfs_node_ref* chfs_alloc_refblock(void);
void chfs_free_refblock(struct chfs_node_ref *);
struct chfs_node_ref *);
int chfs_readdirent(struct mount *, struct chfs_node_ref *,
struct chfs_node_ref *nref;
while (nref != (struct chfs_node_ref *)vc) {
struct chfs_node_ref *next = nref->nref_next;
vc->dnode = (struct chfs_node_ref *)vc;
while (nref != (struct chfs_node_ref *)vc) {
struct chfs_node_ref *next = nref->nref_next;
vc->dirents = (struct chfs_node_ref *)vc;
vc->v = (struct chfs_node_ref *)vc;
struct chfs_node_ref **nref;
struct chfs_node_ref *nref;
struct chfs_node_ref *nref;
while (deleted && chvc->v != (struct chfs_node_ref *)chvc) {
struct chfs_node_ref *nref;
struct chfs_vnode_cache *, struct chfs_node_ref *);
struct chfs_eraseblock *, struct chfs_node_ref *,
struct chfs_vnode_cache *chvc, struct chfs_node_ref *nref)
struct chfs_node_ref *newnref;
struct chfs_eraseblock *cheb, struct chfs_node_ref *nref,
struct chfs_node_ref *nref;
struct chfs_node_ref*
struct chfs_node_ref *nref;
chfs_free_refblock(struct chfs_node_ref *nref)
struct chfs_node_ref*
struct chfs_node_ref *nref, *new, *old __diagused;
struct chfs_node_ref *nref, *block;
(REFS_BLOCK_LEN + 1) * sizeof(struct chfs_node_ref), 0, 0,
struct chfs_node_ref *old_nref, struct chfs_node_ref **list)
struct chfs_node_ref *tmpnref;
if (*list == (struct chfs_node_ref *)vc) {
tmpnref->nref_next != (struct chfs_node_ref *)vc) {
struct chfs_node_ref *old_nref, struct chfs_node_ref **list)
struct chfs_vnode_cache *vc, struct chfs_node_ref *new)
struct chfs_node_ref *nref;
while (vc->v != (struct chfs_node_ref *)vc) {
new->nref_next = (struct chfs_node_ref *)vc;
struct chfs_node_ref *
chfs_nref_next(struct chfs_node_ref *nref)
struct chfs_eraseblock *cheb, struct chfs_node_ref *nref)
struct chfs_node_ref *next;
struct chfs_node_ref *nref)
struct chfs_node_ref *nref;
struct chfs_node_ref *new, struct chfs_node_ref **list)
struct chfs_node_ref *nextref = *list;
struct chfs_node_ref *prevref = NULL;
while (nextref && nextref != (struct chfs_node_ref *)vc &&
(struct chfs_node_ref *)vc &&
if (nextref && nextref != (struct chfs_node_ref *)vc &&
struct chfs_node_ref *nref;
struct chfs_node_ref *nref = td->node->nref;
struct chfs_node_ref *
chfs_first_valid_data_ref(struct chfs_node_ref *nref)
struct chfs_node_ref *chfs_first_valid_data_ref(struct chfs_node_ref *);
struct chfs_node_ref *nref)
struct chfs_node_ref *nref;
struct chfs_node_ref *nref;
struct chfs_node_ref *prev, *nref;
struct chfs_node_ref *nref;
struct chfs_node_ref *nref;
struct chfs_node_ref* nref = NULL;
chfs_readdirent(struct mount *mp, struct chfs_node_ref *chnr, struct chfs_inode *pdir)
struct chfs_node_ref *nref;
struct chfs_node_ref *nref;
struct chfs_node_ref *nref;
struct chfs_node_ref *nref;
struct chfs_node_ref *nref;
while (ip->chvc->dnode != (struct chfs_node_ref *)ip->chvc) {
while (ip->chvc->v != (struct chfs_node_ref *)ip->chvc) {