Lines Matching refs:t
30 struct tcf_tunnel_key *t = to_tunnel_key(a); in tunnel_key_act() local
34 params = rcu_dereference_bh(t->params); in tunnel_key_act()
36 tcf_lastuse_update(&t->tcf_tm); in tunnel_key_act()
37 tcf_action_update_bstats(&t->common, skb); in tunnel_key_act()
38 action = READ_ONCE(t->tcf_action); in tunnel_key_act()
369 struct tcf_tunnel_key *t; in tunnel_key_init() local
523 t = to_tunnel_key(*a); in tunnel_key_init()
535 spin_lock_bh(&t->tcf_lock); in tunnel_key_init()
537 params_new = rcu_replace_pointer(t->params, params_new, in tunnel_key_init()
538 lockdep_is_held(&t->tcf_lock)); in tunnel_key_init()
539 spin_unlock_bh(&t->tcf_lock); in tunnel_key_init()
564 struct tcf_tunnel_key *t = to_tunnel_key(a); in tunnel_key_release() local
567 params = rcu_dereference_protected(t->params, 1); in tunnel_key_release()
720 struct tcf_tunnel_key *t = to_tunnel_key(a); in tunnel_key_dump() local
723 .index = t->tcf_index, in tunnel_key_dump()
724 .refcnt = refcount_read(&t->tcf_refcnt) - ref, in tunnel_key_dump()
725 .bindcnt = atomic_read(&t->tcf_bindcnt) - bind, in tunnel_key_dump()
729 spin_lock_bh(&t->tcf_lock); in tunnel_key_dump()
730 params = rcu_dereference_protected(t->params, in tunnel_key_dump()
731 lockdep_is_held(&t->tcf_lock)); in tunnel_key_dump()
732 opt.action = t->tcf_action; in tunnel_key_dump()
765 tcf_tm_dump(&tm, &t->tcf_tm); in tunnel_key_dump()
769 spin_unlock_bh(&t->tcf_lock); in tunnel_key_dump()
774 spin_unlock_bh(&t->tcf_lock); in tunnel_key_dump()