Searched refs:im_node (Results 1 – 1 of 1) sorted by relevance
310 struct lpm_trie_node *node, *im_node = NULL, *new_node = NULL; in trie_update_elem() local400 im_node = lpm_trie_node_alloc(trie, NULL); in trie_update_elem()401 if (!im_node) { in trie_update_elem()406 im_node->prefixlen = matchlen; in trie_update_elem()407 im_node->flags |= LPM_TREE_NODE_FLAG_IM; in trie_update_elem()408 memcpy(im_node->data, node->data, trie->data_size); in trie_update_elem()412 rcu_assign_pointer(im_node->child[0], node); in trie_update_elem()413 rcu_assign_pointer(im_node->child[1], new_node); in trie_update_elem()415 rcu_assign_pointer(im_node->child[0], new_node); in trie_update_elem()416 rcu_assign_pointer(im_node->child[1], node); in trie_update_elem()[all …]