Lines Matching defs:node
1696 /* Search for an AV tab node within a hash table with the given key.
1697 * If the node does not exist, create it and return it; otherwise
1704 avtab_ptr_t node;
1708 node = avtab_search_node(avtab, key);
1711 the node is part of my conditional avtab. */
1713 while (node) {
1714 if (node->parse_context == cond)
1716 node = avtab_search_node_next(node, key->specified);
1720 if (!node) {
1722 /* this is used to get the node - insertion is actually unique */
1723 node = avtab_insert_nonunique(avtab, key, &avdatum);
1724 if (!node) {
1729 node->parse_context = cond;
1736 nl->node = node;
1742 return node;
1758 avtab_ptr_t node;
1786 node = avtab_search_node(&p->te_avtab, &avkey);
1787 if (node) {
1790 node = avtab_search_node(&p->te_cond_avtab, &avkey);
1791 if (node && node->parse_context != other) {
1797 avdatump = &node->datum;
1810 || node->parse_context == cond)
1832 node = find_avtab_node(handle, avtab, &avkey, cond);
1833 if (!node)
1836 node->key.specified |= AVTAB_ENABLED;
1838 node->key.specified &= ~AVTAB_ENABLED;
1841 avdatump = &node->datum;
1867 avtab_ptr_t node;
1894 node = find_avtab_node(handle, avtab, &avkey, cond);
1895 if (!node)
1898 node->key.specified |= AVTAB_ENABLED;
1900 node->key.specified &= ~AVTAB_ENABLED;
1903 avdatump = &node->datum;
2098 /* create a new temporary conditional node with the booleans
2253 n->u.node.addr = c->u.node.addr;
2254 n->u.node.mask = c->u.node.mask;
3197 avtab_ptr_t node;
3201 node = avtab_search_node(a, k);
3202 if (!node) {
3210 (node->key.specified & AVTAB_ENABLED)) {
3211 node = avtab_insert_nonunique(a, k, d);
3212 if (!node) {
3219 avd = &node->datum;
3328 avtab_ptr_t node;
3332 node = avtab_search_node(expa, k);
3333 if (!node ||
3335 (node->key.specified & AVTAB_ENABLED)) {
3336 node = avtab_insert_nonunique(expa, k, d);
3337 if (!node) {
3341 node->parse_context = (void *)1;
3348 nl->node = node;
3354 avd = &node->datum;
3372 avtab_ptr_t node,
3375 avtab_key_t *k = &node->key;
3376 avtab_datum_t *d = &node->datum;
3444 avtab_ptr_t node;
3454 node = cur->node;
3455 rc = expand_cond_av_node(p, node, newl, expa);