Lines Matching refs:slot
305 struct lpm_trie_node __rcu **slot; in trie_update_elem() local
345 slot = &trie->root; in trie_update_elem()
347 while ((node = rcu_dereference_protected(*slot, in trie_update_elem()
357 slot = &node->child[next_bit]; in trie_update_elem()
364 rcu_assign_pointer(*slot, new_node); in trie_update_elem()
378 rcu_assign_pointer(*slot, new_node); in trie_update_elem()
390 rcu_assign_pointer(*slot, new_node); in trie_update_elem()
414 rcu_assign_pointer(*slot, im_node); in trie_update_elem()
589 struct lpm_trie_node __rcu **slot; in trie_free() local
603 slot = &trie->root; in trie_free()
606 node = rcu_dereference_protected(*slot, 1); in trie_free()
611 slot = &node->child[0]; in trie_free()
616 slot = &node->child[1]; in trie_free()
621 RCU_INIT_POINTER(*slot, NULL); in trie_free()