Lines Matching defs:table
83 struct hlist_node table;
90 static __init void horrible_allowedips_init(struct horrible_allowedips *table)
92 INIT_HLIST_HEAD(&table->head);
95 static __init void horrible_allowedips_free(struct horrible_allowedips *table)
100 hlist_for_each_entry_safe(node, h, &table->head, table) {
101 hlist_del(&node->table);
153 horrible_insert_ordered(struct horrible_allowedips *table, struct horrible_allowedips_node *node)
158 hlist_for_each_entry(other, &table->head, table) {
167 hlist_for_each_entry(other, &table->head, table) {
173 hlist_add_head(&node->table, &table->head);
175 hlist_add_behind(&node->table, &where->table);
177 hlist_add_before(&node->table, &where->table);
181 horrible_allowedips_insert_v4(struct horrible_allowedips *table,
193 horrible_insert_ordered(table, node);
198 horrible_allowedips_insert_v6(struct horrible_allowedips *table,
210 horrible_insert_ordered(table, node);
215 horrible_allowedips_lookup_v4(struct horrible_allowedips *table, struct in_addr *ip)
219 hlist_for_each_entry(node, &table->head, table) {
227 horrible_allowedips_lookup_v6(struct horrible_allowedips *table, struct in6_addr *ip)
231 hlist_for_each_entry(node, &table->head, table) {
240 horrible_allowedips_remove_by_value(struct horrible_allowedips *table, void *value)
245 hlist_for_each_entry_safe(node, h, &table->head, table) {
248 hlist_del(&node->table);