Lines Matching refs:chain_info

1647 					   struct tcf_chain_info *chain_info)  in tcf_chain_tp_prev()  argument
1649 return tcf_chain_dereference(*chain_info->pprev, chain); in tcf_chain_tp_prev()
1653 struct tcf_chain_info *chain_info, in tcf_chain_tp_insert() argument
1659 RCU_INIT_POINTER(tp->next, tcf_chain_tp_prev(chain, chain_info)); in tcf_chain_tp_insert()
1660 if (*chain_info->pprev == chain->filter_chain) in tcf_chain_tp_insert()
1663 rcu_assign_pointer(*chain_info->pprev, tp); in tcf_chain_tp_insert()
1669 struct tcf_chain_info *chain_info, in tcf_chain_tp_remove() argument
1672 struct tcf_proto *next = tcf_chain_dereference(chain_info->next, chain); in tcf_chain_tp_remove()
1677 RCU_INIT_POINTER(*chain_info->pprev, next); in tcf_chain_tp_remove()
1681 struct tcf_chain_info *chain_info,
1695 struct tcf_chain_info chain_info; in tcf_chain_tp_insert_unique() local
1707 tp = tcf_chain_tp_find(chain, &chain_info, in tcf_chain_tp_insert_unique()
1710 err = tcf_chain_tp_insert(chain, &chain_info, tp_new); in tcf_chain_tp_insert_unique()
1728 struct tcf_chain_info chain_info; in tcf_chain_tp_delete_empty() local
1740 chain_info.pprev = pprev; in tcf_chain_tp_delete_empty()
1741 chain_info.next = tp_iter->next; in tcf_chain_tp_delete_empty()
1756 next = tcf_chain_dereference(chain_info.next, chain); in tcf_chain_tp_delete_empty()
1759 RCU_INIT_POINTER(*chain_info.pprev, next); in tcf_chain_tp_delete_empty()
1766 struct tcf_chain_info *chain_info, in tcf_chain_tp_find() argument
1788 chain_info->pprev = pprev; in tcf_chain_tp_find()
1790 chain_info->next = tp->next; in tcf_chain_tp_find()
1793 chain_info->next = NULL; in tcf_chain_tp_find()
1958 struct tcf_chain_info chain_info; in tc_new_tfilter() local
2052 tp = tcf_chain_tp_find(chain, &chain_info, protocol, in tc_new_tfilter()
2084 &chain_info)); in tc_new_tfilter()
2187 struct tcf_chain_info chain_info; in tc_del_tfilter() local
2276 tp = tcf_chain_tp_find(chain, &chain_info, protocol, in tc_del_tfilter()
2288 tcf_chain_tp_remove(chain, &chain_info, tp); in tc_del_tfilter()
2347 struct tcf_chain_info chain_info; in tc_get_tfilter() local
2417 tp = tcf_chain_tp_find(chain, &chain_info, protocol, in tc_get_tfilter()