Searched refs:mfc_un (Results 1 – 5 of 5) sorted by relevance
86 if (c->mfc_un.res.ttls[vifi] < 255) in mr_mfc_find_any_parent()100 if (c->mfc_un.res.ttls[vifi] < 255) in mr_mfc_find_any()105 if (proxy && proxy->mfc_un.res.ttls[vifi] < 255) in mr_mfc_find_any()240 for (ct = c->mfc_un.res.minvif; ct < c->mfc_un.res.maxvif; ct++) { in mr_fill_mroute()244 if (vif_dev && c->mfc_un.res.ttls[ct] < 255) { in mr_fill_mroute()254 nhp->rtnh_hops = c->mfc_un.res.ttls[ct]; in mr_fill_mroute()263 lastuse = READ_ONCE(c->mfc_un.res.lastuse); in mr_fill_mroute()266 mfcs.mfcs_packets = atomic_long_read(&c->mfc_un.res.pkt); in mr_fill_mroute()267 mfcs.mfcs_bytes = atomic_long_read(&c->mfc_un.res.bytes); in mr_fill_mroute()268 mfcs.mfcs_wrong_if = atomic_long_read(&c->mfc_un.res.wrong_if); in mr_fill_mroute()[all …]
740 while ((skb = skb_dequeue(&c->_c.mfc_un.unres.unresolved))) { in ipmr_destroy_unres()780 if (time_after(c->mfc_un.unres.expires, now)) { in ipmr_expire_process()781 unsigned long interval = c->mfc_un.unres.expires - now; in ipmr_expire_process()805 cache->mfc_un.res.minvif = MAXVIFS; in ipmr_update_thresholds()806 cache->mfc_un.res.maxvif = 0; in ipmr_update_thresholds()807 memset(cache->mfc_un.res.ttls, 255, MAXVIFS); in ipmr_update_thresholds()812 cache->mfc_un.res.ttls[vifi] = ttls[vifi]; in ipmr_update_thresholds()813 if (cache->mfc_un.res.minvif > vifi) in ipmr_update_thresholds()814 cache->mfc_un.res.minvif = vifi; in ipmr_update_thresholds()815 if (cache->mfc_un.res.maxvif <= vifi) in ipmr_update_thresholds()[all …]
509 atomic_long_read(&mfc->_c.mfc_un.res.pkt), in ipmr_mfc_seq_show()510 atomic_long_read(&mfc->_c.mfc_un.res.bytes), in ipmr_mfc_seq_show()511 atomic_long_read(&mfc->_c.mfc_un.res.wrong_if)); in ipmr_mfc_seq_show()512 for (n = mfc->_c.mfc_un.res.minvif; in ipmr_mfc_seq_show()513 n < mfc->_c.mfc_un.res.maxvif; n++) { in ipmr_mfc_seq_show()515 mfc->_c.mfc_un.res.ttls[n] < 255) in ipmr_mfc_seq_show()518 mfc->_c.mfc_un.res.ttls[n]); in ipmr_mfc_seq_show()793 while ((skb = skb_dequeue(&c->_c.mfc_un.unres.unresolved)) != NULL) { in ip6mr_destroy_unres()819 if (time_after(c->mfc_un.unres.expires, now)) { in ipmr_do_expire_process()821 unsigned long interval = c->mfc_un.unres.expires - now; in ipmr_do_expire_process()[all …]
156 } mfc_un; member164 if (refcount_dec_and_test(&c->mfc_un.res.refcount)) in mr_cache_put()170 refcount_inc(&c->mfc_un.res.refcount); in mr_cache_hold()
115 return mr_route->mfc->mfc_un.res.ttls[ivif] != 255; in mlxsw_sp_mr_route_ivif_in_evifs()321 if (mfc->mfc_un.res.ttls[i] != 255) { in mlxsw_sp_mr_route_create()1006 if (atomic_long_read(&mr_route->mfc->mfc_un.res.pkt) != packets) in mlxsw_sp_mr_route_stats_update()1007 WRITE_ONCE(mr_route->mfc->mfc_un.res.lastuse, jiffies); in mlxsw_sp_mr_route_stats_update()1008 atomic_long_set(&mr_route->mfc->mfc_un.res.pkt, packets); in mlxsw_sp_mr_route_stats_update()1009 atomic_long_set(&mr_route->mfc->mfc_un.res.bytes, bytes); in mlxsw_sp_mr_route_stats_update()