Lines Matching defs:node
56 /* Add a node to the hash table structure. */
58 add_to_bucket (gl_list_t list, gl_list_node_t node)
60 size_t bucket = node->h.hashcode % list->table_size;
62 node->h.hash_next = list->table[bucket];
63 list->table[bucket] = &node->h;
66 /* Remove a node from the hash table structure. */
68 remove_from_bucket (gl_list_t list, gl_list_node_t node)
70 size_t bucket = node->h.hashcode % list->table_size;
75 if (*p == &node->h)
77 *p = node->h.hash_next;
81 /* node is not in the right bucket. Did the hash codes