• Home
  • Raw
  • Download

Lines Matching refs:chains

138 	struct list_head chains;  member
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()
455 pos = handle->chains.next; in iptcc_bsearch_chain_offset()
473 list_pos = &handle->chains; in iptcc_linearly_search_chain_index()
546 unsigned int chains = 0; in iptcc_chain_index_build() local
559 list_for_each_entry(c, &h->chains, list) { in iptcc_chain_index_build()
564 cindex=chains / list_length; in iptcc_chain_index_build()
572 if ((chains % list_length)== 0) { in iptcc_chain_index_build()
576 chains++; in iptcc_chain_index_build()
693 if (list_empty(&handle->chains)) in iptcc_find_chain_by_offset()
726 if (list_empty(&handle->chains)) in iptcc_find_label()
730 list_for_each(pos, &handle->chains) { in iptcc_find_label()
743 if (list_start_pos == &handle->chains) { in iptcc_find_label()
784 if (pos == &handle->chains) { in iptcc_find_label()
862 list_start_pos = h->chains.next; in iptc_insert_chain()
867 if (list_start_pos == &h->chains) { in iptc_insert_chain()
868 list_start_pos = h->chains.next; in iptc_insert_chain()
880 if (&tmp->list == &h->chains) { in iptc_insert_chain()
888 list_add_tail(&c->list, &h->chains); in iptc_insert_chain()
896 struct list_head *tail = h->chains.prev; in __iptcc_p_add_chain()
910 list_add_tail(&c->list, &h->chains); in __iptcc_p_add_chain()
916 list_add_tail(&c->list, &h->chains);/* Already sorted*/ in __iptcc_p_add_chain()
1067 list_for_each_entry(c, &h->chains, list) { in parse_table()
1233 list_for_each_entry(c, &h->chains, list) { in iptcc_compile_table_prep()
1255 list_for_each_entry(c, &h->chains, list) { in iptcc_compile_table()
1289 INIT_LIST_HEAD(&h->chains); in alloc_handle()
1396 list_for_each_entry_safe(c, tmp, &h->chains, list) { in TC_FREE()
1458 if (c->list.next == &handle->chains) in iptcc_chain_iterator_advance()
1469 struct chain_head *c = list_entry(handle->chains.next, in TC_FIRST_CHAIN()
1475 if (list_empty(&handle->chains)) { in TC_FIRST_CHAIN()
2615 list_for_each_entry(c, &handle->chains, list) { in TC_COMMIT()