Lines Matching refs:chain_info

1812 					   struct tcf_chain_info *chain_info)  in tcf_chain_tp_prev()  argument
1814 return tcf_chain_dereference(*chain_info->pprev, chain); in tcf_chain_tp_prev()
1818 struct tcf_chain_info *chain_info, in tcf_chain_tp_insert() argument
1824 RCU_INIT_POINTER(tp->next, tcf_chain_tp_prev(chain, chain_info)); in tcf_chain_tp_insert()
1825 if (*chain_info->pprev == chain->filter_chain) in tcf_chain_tp_insert()
1828 rcu_assign_pointer(*chain_info->pprev, tp); in tcf_chain_tp_insert()
1834 struct tcf_chain_info *chain_info, in tcf_chain_tp_remove() argument
1837 struct tcf_proto *next = tcf_chain_dereference(chain_info->next, chain); in tcf_chain_tp_remove()
1842 RCU_INIT_POINTER(*chain_info->pprev, next); in tcf_chain_tp_remove()
1846 struct tcf_chain_info *chain_info,
1860 struct tcf_chain_info chain_info; in tcf_chain_tp_insert_unique() local
1872 tp = tcf_chain_tp_find(chain, &chain_info, in tcf_chain_tp_insert_unique()
1875 err = tcf_chain_tp_insert(chain, &chain_info, tp_new); in tcf_chain_tp_insert_unique()
1893 struct tcf_chain_info chain_info; in tcf_chain_tp_delete_empty() local
1905 chain_info.pprev = pprev; in tcf_chain_tp_delete_empty()
1906 chain_info.next = tp_iter->next; in tcf_chain_tp_delete_empty()
1921 next = tcf_chain_dereference(chain_info.next, chain); in tcf_chain_tp_delete_empty()
1924 RCU_INIT_POINTER(*chain_info.pprev, next); in tcf_chain_tp_delete_empty()
1931 struct tcf_chain_info *chain_info, in tcf_chain_tp_find() argument
1953 chain_info->pprev = pprev; in tcf_chain_tp_find()
1955 chain_info->next = tp->next; in tcf_chain_tp_find()
1958 chain_info->next = NULL; in tcf_chain_tp_find()
2130 struct tcf_chain_info chain_info; in tc_new_tfilter() local
2223 tp = tcf_chain_tp_find(chain, &chain_info, protocol, in tc_new_tfilter()
2255 &chain_info)); in tc_new_tfilter()
2363 struct tcf_chain_info chain_info; in tc_del_tfilter() local
2449 tp = tcf_chain_tp_find(chain, &chain_info, protocol, in tc_del_tfilter()
2461 tcf_chain_tp_remove(chain, &chain_info, tp); in tc_del_tfilter()
2520 struct tcf_chain_info chain_info; in tc_get_tfilter() local
2590 tp = tcf_chain_tp_find(chain, &chain_info, protocol, in tc_get_tfilter()