Searched refs:rbe (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/net/netfilter/
H A Dnft_rbtree.c37 const struct nft_rbtree_elem *rbe, *interval = NULL; nft_rbtree_lookup() local
45 rbe = rb_entry(parent, struct nft_rbtree_elem, node); nft_rbtree_lookup()
47 d = memcmp(nft_set_ext_key(&rbe->ext), key, set->klen); nft_rbtree_lookup()
50 interval = rbe; nft_rbtree_lookup()
55 if (!nft_set_elem_active(&rbe->ext, genmask)) { nft_rbtree_lookup()
59 if (nft_set_ext_exists(&rbe->ext, NFT_SET_EXT_FLAGS) && nft_rbtree_lookup()
60 *nft_set_ext_flags(&rbe->ext) & nft_rbtree_lookup()
65 *ext = &rbe->ext; nft_rbtree_lookup()
71 rbe = interval; nft_rbtree_lookup()
83 struct nft_rbtree_elem *rbe; __nft_rbtree_insert() local
92 rbe = rb_entry(parent, struct nft_rbtree_elem, node); __nft_rbtree_insert()
93 d = memcmp(nft_set_ext_key(&rbe->ext), __nft_rbtree_insert()
101 if (nft_set_elem_active(&rbe->ext, genmask)) __nft_rbtree_insert()
114 struct nft_rbtree_elem *rbe = elem->priv; nft_rbtree_insert() local
118 err = __nft_rbtree_insert(set, rbe); nft_rbtree_insert()
128 struct nft_rbtree_elem *rbe = elem->priv; nft_rbtree_remove() local
131 rb_erase(&rbe->node, &priv->root); nft_rbtree_remove()
138 struct nft_rbtree_elem *rbe = elem->priv; nft_rbtree_activate() local
140 nft_set_elem_change_active(set, &rbe->ext); nft_rbtree_activate()
148 struct nft_rbtree_elem *rbe; nft_rbtree_deactivate() local
153 rbe = rb_entry(parent, struct nft_rbtree_elem, node); nft_rbtree_deactivate()
155 d = memcmp(nft_set_ext_key(&rbe->ext), &elem->key.val, nft_rbtree_deactivate()
162 if (!nft_set_elem_active(&rbe->ext, genmask)) { nft_rbtree_deactivate()
166 nft_set_elem_change_active(set, &rbe->ext); nft_rbtree_deactivate()
167 return rbe; nft_rbtree_deactivate()
178 struct nft_rbtree_elem *rbe; nft_rbtree_walk() local
185 rbe = rb_entry(node, struct nft_rbtree_elem, node); nft_rbtree_walk()
189 if (!nft_set_elem_active(&rbe->ext, genmask)) nft_rbtree_walk()
192 elem.priv = rbe; nft_rbtree_walk()
223 struct nft_rbtree_elem *rbe; nft_rbtree_destroy() local
228 rbe = rb_entry(node, struct nft_rbtree_elem, node); nft_rbtree_destroy()
229 nft_set_elem_destroy(set, rbe); nft_rbtree_destroy()
/linux-4.1.27/scripts/
H A Dsortextable.c112 static uint32_t rbe(const uint32_t *x) rbe() function
256 r = rbe; do_file()

Completed in 94 milliseconds