Lines Matching refs:c
947 struct tcf_ct *c = to_ct(a); in tcf_ct_act() local
957 p = rcu_dereference_bh(c->params); in tcf_ct_act()
959 retval = READ_ONCE(c->tcf_action); in tcf_ct_act()
965 tcf_lastuse_update(&c->tcf_tm); in tcf_ct_act()
966 tcf_action_update_bstats(&c->common, skb); in tcf_ct_act()
1059 tcf_action_inc_drop_qstats(&c->common); in tcf_ct_act()
1063 tcf_action_inc_drop_qstats(&c->common); in tcf_ct_act()
1251 struct tcf_ct *c; in tcf_ct_init() local
1295 c = to_ct(*a); in tcf_ct_init()
1311 spin_lock_bh(&c->tcf_lock); in tcf_ct_init()
1313 params = rcu_replace_pointer(c->params, params, in tcf_ct_init()
1314 lockdep_is_held(&c->tcf_lock)); in tcf_ct_init()
1315 spin_unlock_bh(&c->tcf_lock); in tcf_ct_init()
1338 struct tcf_ct *c = to_ct(a); in tcf_ct_cleanup() local
1340 params = rcu_dereference_protected(c->params, 1); in tcf_ct_cleanup()
1412 struct tcf_ct *c = to_ct(a); in tcf_ct_dump() local
1416 .index = c->tcf_index, in tcf_ct_dump()
1417 .refcnt = refcount_read(&c->tcf_refcnt) - ref, in tcf_ct_dump()
1418 .bindcnt = atomic_read(&c->tcf_bindcnt) - bind, in tcf_ct_dump()
1422 spin_lock_bh(&c->tcf_lock); in tcf_ct_dump()
1423 p = rcu_dereference_protected(c->params, in tcf_ct_dump()
1424 lockdep_is_held(&c->tcf_lock)); in tcf_ct_dump()
1425 opt.action = c->tcf_action; in tcf_ct_dump()
1464 tcf_tm_dump(&t, &c->tcf_tm); in tcf_ct_dump()
1467 spin_unlock_bh(&c->tcf_lock); in tcf_ct_dump()
1471 spin_unlock_bh(&c->tcf_lock); in tcf_ct_dump()
1496 struct tcf_ct *c = to_ct(a); in tcf_stats_update() local
1499 c->tcf_tm.lastuse = max_t(u64, c->tcf_tm.lastuse, lastuse); in tcf_stats_update()