Home
last modified time | relevance | path

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

/kernel/bpf/
Dlpm_trie.c307 struct lpm_trie_node *node, *im_node = NULL, *new_node = NULL; in trie_update_elem() local
330 new_node = lpm_trie_node_alloc(trie, value); in trie_update_elem()
331 if (!new_node) { in trie_update_elem()
338 new_node->prefixlen = key->prefixlen; in trie_update_elem()
339 RCU_INIT_POINTER(new_node->child[0], NULL); in trie_update_elem()
340 RCU_INIT_POINTER(new_node->child[1], NULL); in trie_update_elem()
341 memcpy(new_node->data, key->data, trie->data_size); in trie_update_elem()
367 rcu_assign_pointer(*slot, new_node); in trie_update_elem()
375 new_node->child[0] = node->child[0]; in trie_update_elem()
376 new_node->child[1] = node->child[1]; in trie_update_elem()
[all …]
/kernel/gcov/
Dfs.c429 static struct gcov_node *new_node(struct gcov_node *parent, in new_node() function
591 node = new_node(parent, NULL, curr); in add_node()
598 node = new_node(parent, info, curr); in add_node()