Home
last modified time | relevance | path

Searched refs:maxvif (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/net/ipv6/
Dip6mr.c499 n < mfc->_c.mfc_un.res.maxvif; n++) { in ipmr_mfc_seq_show()
706 if (vifi < 0 || vifi >= mrt->maxvif) in mif6_delete()
728 if (vifi + 1 == mrt->maxvif) { in mif6_delete()
734 WRITE_ONCE(mrt->maxvif, tmp + 1); in mif6_delete()
846 cache->mfc_un.res.maxvif = 0; in ip6mr_update_thresholds()
849 for (vifi = 0; vifi < mrt->maxvif; vifi++) { in ip6mr_update_thresholds()
855 if (cache->mfc_un.res.maxvif <= vifi) in ip6mr_update_thresholds()
856 cache->mfc_un.res.maxvif = vifi + 1; in ip6mr_update_thresholds()
930 if (vifi + 1 > mrt->maxvif) in mif6_add()
931 WRITE_ONCE(mrt->maxvif, vifi + 1); in mif6_add()
[all …]
/linux-6.1.9/net/ipv4/
Dipmr_base.c118 for (iter->ct = 0; iter->ct < mrt->maxvif; ++iter->ct) { in mr_vif_seq_idx()
138 while (++iter->ct < mrt->maxvif) { in mr_vif_seq_next()
240 for (ct = c->mfc_un.res.minvif; ct < c->mfc_un.res.maxvif; ct++) { in mr_fill_mroute()
285 for (ct = c->mfc_un.res.minvif; ct < c->mfc_un.res.maxvif; ct++) { in mr_mfc_uses_dev()
419 for (vifi = 0; vifi < mrt->maxvif; vifi++, v++) { in mr_dump()
Dipmr.c657 if (vifi < 0 || vifi >= mrt->maxvif) in vif_delete()
675 if (vifi + 1 == mrt->maxvif) { in vif_delete()
682 WRITE_ONCE(mrt->maxvif, tmp + 1); in vif_delete()
794 cache->mfc_un.res.maxvif = 0; in ipmr_update_thresholds()
797 for (vifi = 0; vifi < mrt->maxvif; vifi++) { in ipmr_update_thresholds()
803 if (cache->mfc_un.res.maxvif <= vifi) in ipmr_update_thresholds()
804 cache->mfc_un.res.maxvif = vifi + 1; in ipmr_update_thresholds()
906 if (vifi+1 > mrt->maxvif) in vif_add()
907 WRITE_ONCE(mrt->maxvif, vifi + 1); in vif_add()
1289 for (i = 0; i < mrt->maxvif; i++) { in mroute_clean_tables()
[all …]
/linux-6.1.9/include/linux/
Dmroute_base.h148 int maxvif; member
257 int maxvif; member