Lines Matching refs:_c
651 &mfc->_c, tb_id, &net->ipv4.ipmr_seq); in call_ipmr_mfc_entry_notifiers()
726 call_rcu(&c->_c.rcu, ipmr_cache_free_rcu); in ipmr_cache_free()
740 while ((skb = skb_dequeue(&c->_c.mfc_un.unres.unresolved))) { in ipmr_destroy_unres()
972 c->_c.mfc_un.res.last_assert = jiffies - MFC_ASSERT_THRESH - 1; in ipmr_cache_alloc()
973 c->_c.mfc_un.res.minvif = MAXVIFS; in ipmr_cache_alloc()
974 c->_c.free = ipmr_cache_free_rcu; in ipmr_cache_alloc()
975 refcount_set(&c->_c.mfc_un.res.refcount, 1); in ipmr_cache_alloc()
985 skb_queue_head_init(&c->_c.mfc_un.unres.unresolved); in ipmr_cache_alloc_unres()
986 c->_c.mfc_un.unres.expires = jiffies + 10 * HZ; in ipmr_cache_alloc_unres()
999 while ((skb = __skb_dequeue(&uc->_c.mfc_un.unres.unresolved))) { in ipmr_cache_resolve()
1004 if (mr_fill_mroute(mrt, skb, &c->_c, in ipmr_cache_resolve()
1123 list_for_each_entry(c, &mrt->mfc_unres_queue, _c.list) { in ipmr_cache_unresolved()
1142 c->_c.mfc_parent = -1; in ipmr_cache_unresolved()
1161 list_add(&c->_c.list, &mrt->mfc_unres_queue); in ipmr_cache_unresolved()
1166 c->_c.mfc_un.unres.expires); in ipmr_cache_unresolved()
1170 if (c->_c.mfc_un.unres.unresolved.qlen > 3) { in ipmr_cache_unresolved()
1178 skb_queue_tail(&c->_c.mfc_un.unres.unresolved, skb); in ipmr_cache_unresolved()
1200 rhltable_remove(&mrt->mfc_hash, &c->_c.mnode, ipmr_rht_params); in ipmr_mfc_delete()
1201 list_del_rcu(&c->_c.list); in ipmr_mfc_delete()
1204 mr_cache_put(&c->_c); in ipmr_mfc_delete()
1227 c->_c.mfc_parent = mfc->mfcc_parent; in ipmr_mfc_add()
1228 ipmr_update_thresholds(mrt, &c->_c, mfc->mfcc_ttls); in ipmr_mfc_add()
1230 c->_c.mfc_flags |= MFC_STATIC; in ipmr_mfc_add()
1248 c->_c.mfc_parent = mfc->mfcc_parent; in ipmr_mfc_add()
1249 ipmr_update_thresholds(mrt, &c->_c, mfc->mfcc_ttls); in ipmr_mfc_add()
1251 c->_c.mfc_flags |= MFC_STATIC; in ipmr_mfc_add()
1253 ret = rhltable_insert_key(&mrt->mfc_hash, &c->cmparg, &c->_c.mnode, in ipmr_mfc_add()
1260 list_add_tail_rcu(&c->_c.list, &mrt->mfc_cache_list); in ipmr_mfc_add()
1669 sr->pktcnt = atomic_long_read(&c->_c.mfc_un.res.pkt); in ipmr_ioctl()
1670 sr->bytecnt = atomic_long_read(&c->_c.mfc_un.res.bytes); in ipmr_ioctl()
1671 sr->wrong_if = atomic_long_read(&c->_c.mfc_un.res.wrong_if); in ipmr_ioctl()
1741 sr.pktcnt = atomic_long_read(&c->_c.mfc_un.res.pkt); in ipmr_compat_ioctl()
1742 sr.bytecnt = atomic_long_read(&c->_c.mfc_un.res.bytes); in ipmr_compat_ioctl()
1743 sr.wrong_if = atomic_long_read(&c->_c.mfc_un.res.wrong_if); in ipmr_compat_ioctl()
1975 vif = c->_c.mfc_parent; in ip_mr_forward()
1976 atomic_long_inc(&c->_c.mfc_un.res.pkt); in ip_mr_forward()
1977 atomic_long_add(skb->len, &c->_c.mfc_un.res.bytes); in ip_mr_forward()
1978 WRITE_ONCE(c->_c.mfc_un.res.lastuse, jiffies); in ip_mr_forward()
1988 cache_proxy->_c.mfc_un.res.ttls[true_vifi] < 255) in ip_mr_forward()
2009 atomic_long_inc(&c->_c.mfc_un.res.wrong_if); in ip_mr_forward()
2018 c->_c.mfc_un.res.ttls[true_vifi] < 255) && in ip_mr_forward()
2020 c->_c.mfc_un.res.last_assert + in ip_mr_forward()
2022 c->_c.mfc_un.res.last_assert = jiffies; in ip_mr_forward()
2041 true_vifi != c->_c.mfc_parent && in ip_mr_forward()
2043 c->_c.mfc_un.res.ttls[c->_c.mfc_parent]) { in ip_mr_forward()
2048 psend = c->_c.mfc_parent; in ip_mr_forward()
2053 for (ct = c->_c.mfc_un.res.maxvif - 1; in ip_mr_forward()
2054 ct >= c->_c.mfc_un.res.minvif; ct--) { in ip_mr_forward()
2058 ip_hdr(skb)->ttl > c->_c.mfc_un.res.ttls[ct]) { in ip_mr_forward()
2323 err = mr_fill_mroute(mrt, skb, &cache->_c, rtm); in ipmr_get_route()
2350 if (c->_c.mfc_flags & MFC_STATIC) in ipmr_fill_mroute()
2359 err = mr_fill_mroute(mrt, skb, &c->_c, rtm); in ipmr_fill_mroute()
2408 skb = nlmsg_new(mroute_msgsize(mfc->_c.mfc_parent >= MAXVIFS, in mroute_netlink_event()
3012 mfc->_c.mfc_parent); in ipmr_mfc_seq_show()
3016 atomic_long_read(&mfc->_c.mfc_un.res.pkt), in ipmr_mfc_seq_show()
3017 atomic_long_read(&mfc->_c.mfc_un.res.bytes), in ipmr_mfc_seq_show()
3018 atomic_long_read(&mfc->_c.mfc_un.res.wrong_if)); in ipmr_mfc_seq_show()
3019 for (n = mfc->_c.mfc_un.res.minvif; in ipmr_mfc_seq_show()
3020 n < mfc->_c.mfc_un.res.maxvif; n++) { in ipmr_mfc_seq_show()
3022 mfc->_c.mfc_un.res.ttls[n] < 255) in ipmr_mfc_seq_show()
3025 n, mfc->_c.mfc_un.res.ttls[n]); in ipmr_mfc_seq_show()