Searched refs:tnode (Results 1 – 3 of 3) sorted by relevance
/net/ipv4/ |
D | fib_trie.c | 129 DECLARE_FLEX_ARRAY(struct key_vector __rcu *, tnode); 133 struct tnode { struct 142 #define TNODE_SIZE(n) offsetof(struct tnode, kv[0].tnode[n]) argument 188 static inline struct tnode *tn_info(struct key_vector *kv) in tn_info() 190 return container_of(kv, struct tnode, kv[0]); in tn_info() 195 #define get_child(tn, i) rtnl_dereference((tn)->tnode[i]) 199 #define get_child_rcu(tn, i) rcu_dereference_rtnl((tn)->tnode[i]) 310 struct tnode *n = container_of(head, struct tnode, rcu); in __node_free_rcu() 320 static struct tnode *tnode_alloc(int bits) in tnode_alloc() 356 struct tnode *kv; in leaf_new() [all …]
|
/net/bridge/ |
D | br_vlan_tunnel.c | 29 .head_offset = offsetof(struct net_bridge_vlan, tnode), 58 rhashtable_remove_fast(&vg->tunnel_hash, &vlan->tnode, in vlan_tunnel_info_del() 82 err = rhashtable_lookup_insert_fast(&vg->tunnel_hash, &vlan->tnode, in __vlan_tunnel_info_add()
|
D | br_private.h | 213 struct rhash_head tnode; member
|