Lines Matching refs:ci
167 struct tcf_ctinfo *ci; in tcf_ctinfo_init() local
236 ci = to_ctinfo(*a); in tcf_ctinfo_init()
260 spin_lock_bh(&ci->tcf_lock); in tcf_ctinfo_init()
262 cp_new = rcu_replace_pointer(ci->params, cp_new, in tcf_ctinfo_init()
263 lockdep_is_held(&ci->tcf_lock)); in tcf_ctinfo_init()
264 spin_unlock_bh(&ci->tcf_lock); in tcf_ctinfo_init()
284 struct tcf_ctinfo *ci = to_ctinfo(a); in tcf_ctinfo_dump() local
286 .index = ci->tcf_index, in tcf_ctinfo_dump()
287 .refcnt = refcount_read(&ci->tcf_refcnt) - ref, in tcf_ctinfo_dump()
288 .bindcnt = atomic_read(&ci->tcf_bindcnt) - bind, in tcf_ctinfo_dump()
294 spin_lock_bh(&ci->tcf_lock); in tcf_ctinfo_dump()
295 cp = rcu_dereference_protected(ci->params, in tcf_ctinfo_dump()
296 lockdep_is_held(&ci->tcf_lock)); in tcf_ctinfo_dump()
298 tcf_tm_dump(&t, &ci->tcf_tm); in tcf_ctinfo_dump()
302 opt.action = ci->tcf_action; in tcf_ctinfo_dump()
325 ci->stats_dscp_set, TCA_CTINFO_PAD)) in tcf_ctinfo_dump()
329 ci->stats_dscp_error, TCA_CTINFO_PAD)) in tcf_ctinfo_dump()
333 ci->stats_cpmark_set, TCA_CTINFO_PAD)) in tcf_ctinfo_dump()
336 spin_unlock_bh(&ci->tcf_lock); in tcf_ctinfo_dump()
340 spin_unlock_bh(&ci->tcf_lock); in tcf_ctinfo_dump()
364 struct tcf_ctinfo *ci = to_ctinfo(a); in tcf_ctinfo_cleanup() local
367 cp = rcu_dereference_protected(ci->params, 1); in tcf_ctinfo_cleanup()