Lines Matching defs:bit
63 push_rcu(stack, node->bit[0], &len);
64 push_rcu(stack, node->bit[1], &len);
75 push_rcu(stack, node->bit[0], &len);
76 push_rcu(stack, node->bit[1], &len);
121 node = rcu_dereference_bh(node->bit[choose(node, key)]);
163 node = rcu_dereference_protected(parent->bit[choose(parent, key)], lockdep_is_held(lock));
169 static inline void connect_node(struct allowedips_node __rcu **parent, u8 bit, struct allowedips_node *node)
171 node->parent_bit_packed = (unsigned long)parent | bit;
177 u8 bit = choose(parent, node->bits);
178 connect_node(&parent->bit[bit], bit, node);
215 const u8 bit = choose(node, key);
216 down = rcu_dereference_protected(node->bit[bit], lockdep_is_held(lock));
218 connect_node(&node->bit[bit], bit, newnode);
315 if (node->bit[0] && node->bit[1])
317 child = rcu_dereference_protected(node->bit[!rcu_access_pointer(node->bit[0])],
324 offsetof(struct allowedips_node, bit[node->parent_bit_packed & 1]);
325 free_parent = !rcu_access_pointer(node->bit[0]) &&
326 !rcu_access_pointer(node->bit[1]) &&
331 parent->bit[!(node->parent_bit_packed & 1)],