Lines Matching refs:mfc_un
746 while ((skb = skb_dequeue(&c->_c.mfc_un.unres.unresolved))) { in ipmr_destroy_unres()
786 if (time_after(c->mfc_un.unres.expires, now)) { in ipmr_expire_process()
787 unsigned long interval = c->mfc_un.unres.expires - now; in ipmr_expire_process()
811 cache->mfc_un.res.minvif = MAXVIFS; in ipmr_update_thresholds()
812 cache->mfc_un.res.maxvif = 0; in ipmr_update_thresholds()
813 memset(cache->mfc_un.res.ttls, 255, MAXVIFS); in ipmr_update_thresholds()
818 cache->mfc_un.res.ttls[vifi] = ttls[vifi]; in ipmr_update_thresholds()
819 if (cache->mfc_un.res.minvif > vifi) in ipmr_update_thresholds()
820 cache->mfc_un.res.minvif = vifi; in ipmr_update_thresholds()
821 if (cache->mfc_un.res.maxvif <= vifi) in ipmr_update_thresholds()
822 cache->mfc_un.res.maxvif = vifi + 1; in ipmr_update_thresholds()
825 WRITE_ONCE(cache->mfc_un.res.lastuse, jiffies); in ipmr_update_thresholds()
978 c->_c.mfc_un.res.last_assert = jiffies - MFC_ASSERT_THRESH - 1; in ipmr_cache_alloc()
979 c->_c.mfc_un.res.minvif = MAXVIFS; in ipmr_cache_alloc()
981 refcount_set(&c->_c.mfc_un.res.refcount, 1); in ipmr_cache_alloc()
991 skb_queue_head_init(&c->_c.mfc_un.unres.unresolved); in ipmr_cache_alloc_unres()
992 c->_c.mfc_un.unres.expires = jiffies + 10 * HZ; in ipmr_cache_alloc_unres()
1005 while ((skb = __skb_dequeue(&uc->_c.mfc_un.unres.unresolved))) { in ipmr_cache_resolve()
1172 c->_c.mfc_un.unres.expires); in ipmr_cache_unresolved()
1176 if (c->_c.mfc_un.unres.unresolved.qlen > 3) { in ipmr_cache_unresolved()
1184 skb_queue_tail(&c->_c.mfc_un.unres.unresolved, skb); in ipmr_cache_unresolved()
1675 sr->pktcnt = atomic_long_read(&c->_c.mfc_un.res.pkt); in ipmr_ioctl()
1676 sr->bytecnt = atomic_long_read(&c->_c.mfc_un.res.bytes); in ipmr_ioctl()
1677 sr->wrong_if = atomic_long_read(&c->_c.mfc_un.res.wrong_if); in ipmr_ioctl()
1747 sr.pktcnt = atomic_long_read(&c->_c.mfc_un.res.pkt); in ipmr_compat_ioctl()
1748 sr.bytecnt = atomic_long_read(&c->_c.mfc_un.res.bytes); in ipmr_compat_ioctl()
1749 sr.wrong_if = atomic_long_read(&c->_c.mfc_un.res.wrong_if); in ipmr_compat_ioctl()
2005 atomic_long_inc(&c->_c.mfc_un.res.pkt); in ip_mr_forward()
2006 atomic_long_add(skb->len, &c->_c.mfc_un.res.bytes); in ip_mr_forward()
2007 WRITE_ONCE(c->_c.mfc_un.res.lastuse, jiffies); in ip_mr_forward()
2017 cache_proxy->_c.mfc_un.res.ttls[true_vifi] < 255) in ip_mr_forward()
2038 atomic_long_inc(&c->_c.mfc_un.res.wrong_if); in ip_mr_forward()
2047 c->_c.mfc_un.res.ttls[true_vifi] < 255) && in ip_mr_forward()
2049 c->_c.mfc_un.res.last_assert + in ip_mr_forward()
2051 c->_c.mfc_un.res.last_assert = jiffies; in ip_mr_forward()
2072 c->_c.mfc_un.res.ttls[c->_c.mfc_parent]) { in ip_mr_forward()
2082 for (ct = c->_c.mfc_un.res.maxvif - 1; in ip_mr_forward()
2083 ct >= c->_c.mfc_un.res.minvif; ct--) { in ip_mr_forward()
2087 ip_hdr(skb)->ttl > c->_c.mfc_un.res.ttls[ct]) { in ip_mr_forward()
2248 atomic_long_inc(&c->_c.mfc_un.res.pkt); in ip_mr_output_finish()
2249 atomic_long_add(skb->len, &c->_c.mfc_un.res.bytes); in ip_mr_output_finish()
2250 WRITE_ONCE(c->_c.mfc_un.res.lastuse, jiffies); in ip_mr_output_finish()
2256 c->_c.mfc_un.res.ttls[c->_c.mfc_parent]) { in ip_mr_output_finish()
2267 for (ct = c->_c.mfc_un.res.maxvif - 1; in ip_mr_output_finish()
2268 ct >= c->_c.mfc_un.res.minvif; ct--) { in ip_mr_output_finish()
2269 if (ip_hdr(skb)->ttl > c->_c.mfc_un.res.ttls[ct]) { in ip_mr_output_finish()
3150 atomic_long_read(&mfc->_c.mfc_un.res.pkt), in ipmr_mfc_seq_show()
3151 atomic_long_read(&mfc->_c.mfc_un.res.bytes), in ipmr_mfc_seq_show()
3152 atomic_long_read(&mfc->_c.mfc_un.res.wrong_if)); in ipmr_mfc_seq_show()
3153 for (n = mfc->_c.mfc_un.res.minvif; in ipmr_mfc_seq_show()
3154 n < mfc->_c.mfc_un.res.maxvif; n++) { in ipmr_mfc_seq_show()
3156 mfc->_c.mfc_un.res.ttls[n] < 255) in ipmr_mfc_seq_show()
3159 n, mfc->_c.mfc_un.res.ttls[n]); in ipmr_mfc_seq_show()