Lines Matching defs:node
57 * @node: the &struct hlist_node of the object to be added
60 #define hash_add(hashtable, node, key) \
61 hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
66 * @node: the &struct hlist_node of the object to be added
69 #define hash_add_rcu(hashtable, node, key) \
70 hlist_add_head_rcu(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
74 * @node: the &struct hlist_node of the object to be checked
76 static inline bool hash_hashed(struct hlist_node *node)
78 return !hlist_unhashed(node);
103 * @node: &struct hlist_node of the object to remove
105 static inline void hash_del(struct hlist_node *node)
107 hlist_del_init(node);
112 * @node: &struct hlist_node of the object to remove
114 static inline void hash_del_rcu(struct hlist_node *node)
116 hlist_del_init_rcu(node);