• Home
  • Raw
  • Download

Lines Matching refs:chains

138 	struct list_head chains;  variable
344 list_pos=&handle->chains; in __iptcc_bsearch_chain_index()
363 return &handle->chains; /* Be safe, return orig start pos */ in __iptcc_bsearch_chain_index()
457 pos = handle->chains.next; in iptcc_bsearch_chain_offset()
475 list_pos = &handle->chains; in iptcc_linearly_search_chain_index()
548 unsigned int chains = 0; in iptcc_chain_index_build() local
561 list_for_each_entry(c, &h->chains, list) { in iptcc_chain_index_build()
566 cindex=chains / list_length; in iptcc_chain_index_build()
574 if ((chains % list_length)== 0) { in iptcc_chain_index_build()
578 chains++; in iptcc_chain_index_build()
695 if (list_empty(&handle->chains)) in iptcc_find_chain_by_offset()
728 if (list_empty(&handle->chains)) in iptcc_find_label()
732 list_for_each(pos, &handle->chains) { in iptcc_find_label()
745 if (list_start_pos == &handle->chains) { in iptcc_find_label()
786 if (pos == &handle->chains) { in iptcc_find_label()
864 list_start_pos = h->chains.next; in iptc_insert_chain()
869 if (list_start_pos == &h->chains) { in iptc_insert_chain()
870 list_start_pos = h->chains.next; in iptc_insert_chain()
882 if (&tmp->list == &h->chains) { in iptc_insert_chain()
890 list_add_tail(&c->list, &h->chains); in iptc_insert_chain()
898 struct list_head *tail = h->chains.prev; in __iptcc_p_add_chain()
912 list_add_tail(&c->list, &h->chains); in __iptcc_p_add_chain()
918 list_add_tail(&c->list, &h->chains);/* Already sorted*/ in __iptcc_p_add_chain()
1068 list_for_each_entry(c, &h->chains, list) { in parse_table()
1234 list_for_each_entry(c, &h->chains, list) { in iptcc_compile_table_prep()
1256 list_for_each_entry(c, &h->chains, list) { in iptcc_compile_table()
1290 INIT_LIST_HEAD(&h->chains); in alloc_handle()
1391 list_for_each_entry_safe(c, tmp, &h->chains, list) { in TC_FREE()
1453 if (c->list.next == &handle->chains) in iptcc_chain_iterator_advance()
1464 struct chain_head *c = list_entry(handle->chains.next, in TC_FIRST_CHAIN()
1470 if (list_empty(&handle->chains)) { in TC_FIRST_CHAIN()
2608 list_for_each_entry(c, &handle->chains, list) { in TC_COMMIT()