NODE
if ((*todo)(pname, ino, NODE) == FAIL)
return (NODE);
if (inodetype(dp->d_ino) == NODE)
if (inodetype(dp->d_ino) == NODE)
if (ep->e_type != NODE)
if (type == NODE)
if (ip->e_type == NODE) {
if (type == NODE)
if (ep->e_type == NODE) {
if (ep->e_type == NODE)
if (type == NODE) {
if (type == NODE)
if (ep->e_type != NODE)
if (ep->e_type == NODE) {
ep = addentry(".", UFS_ROOTINO, NODE);
if (np->e_type != NODE)
if (ep->e_type != NODE)
if (ep == NULL || ep->e_type == NODE)
if (ep == NULL || ep->e_type == NODE)
ep->e_type == NODE ? "NODE" : "LEAF");
ep = addentry(name, pathsearch(name)->d_ino, NODE);
IOBUS_ACCESSOR(node, NODE, phandle_t)
XENBUS_ACCESSOR(node, NODE, const char *)
NODE *head; /* head of the sorted binary tree */
extern NODE *head; /* head of the sorted binary tree */
extern void put_entries(NODE *);
put_entries(NODE *node)
free_tree(NODE *node)
NODE *node_next;
static void add_node(NODE *, NODE *);
static void free_tree(NODE *);
NODE *np;
if (!(np = (NODE *)malloc(sizeof(NODE)))) {
if (!(head = np = (NODE *)malloc(sizeof(NODE))))
add_node(NODE *node, NODE *cur_node)
NODE *n1;
NODE *n2;
static NODE *
NODE *n;
if ((n = malloc(sizeof(NODE) + key.size)) == NULL)
NODE *n;
NODE *n, *next;
cycle_buf = malloc(sizeof(NODE *) * cnt);
longest_cycle = malloc(sizeof(NODE *) * cnt);
remove_node(NODE *n)
NODE **np;
find_cycle(NODE *from, NODE *to, int longest_len, int depth)
NODE **np;
longest_len * sizeof(NODE *));
NODE **n_prevp; /* pointer to previous node's n_next */
NODE *n_next; /* next node in graph */
NODE **n_arcs; /* array of arcs to other nodes */
static NODE *graph, **cycle_buf, **longest_cycle;
static int find_cycle(NODE *, NODE *, int, int);
static NODE *get_node(char *);
static void remove_node(NODE *);
NODE *root;
apply_specdir(const char *dir, NODE *specnode, fsnode *dirnode, int speconly)
NODE *curnode;
apply_specentry(const char *dir, NODE *specnode, fsnode *dirnode)
static void apply_specdir(const char *, NODE *, fsnode *, int);
static void apply_specentry(const char *, NODE *, fsnode *);