Home
last modified time | relevance | path

Searched refs:im_node (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/kernel/bpf/
H A Dlpm_trie.c401 im_node = lpm_trie_node_alloc(trie, NULL); in trie_update_elem()
402 if (!im_node) { in trie_update_elem()
407 im_node->prefixlen = matchlen; in trie_update_elem()
408 im_node->flags |= LPM_TREE_NODE_FLAG_IM; in trie_update_elem()
409 memcpy(im_node->data, node->data, trie->data_size); in trie_update_elem()
413 rcu_assign_pointer(im_node->child[0], node); in trie_update_elem()
414 rcu_assign_pointer(im_node->child[1], new_node); in trie_update_elem()
416 rcu_assign_pointer(im_node->child[0], new_node); in trie_update_elem()
417 rcu_assign_pointer(im_node->child[1], node); in trie_update_elem()
421 rcu_assign_pointer(*slot, im_node); in trie_update_elem()
[all …]