Searched refs:mf_mac_allocated (Results 1 – 1 of 1) sorted by relevance
272 u_int mf_mac_allocated;/* Allocated # of MAC slots */ member286 int n = mfp->mf_mac_allocated; in macfilter_mactable_resize()289 else if (mfp->mf_mac_used + 2*MACTABLE_BLOCKSIZE < mfp->mf_mac_allocated) /* reduce size */ in macfilter_mactable_resize()290 n = mfp->mf_mac_allocated - MACTABLE_BLOCKSIZE; in macfilter_mactable_resize()291 else if (mfp->mf_mac_used == mfp->mf_mac_allocated) /* increase size */ in macfilter_mactable_resize()292 n = mfp->mf_mac_allocated + MACTABLE_BLOCKSIZE; in macfilter_mactable_resize()294 if (n != mfp->mf_mac_allocated) { in macfilter_mactable_resize()296 mfp->mf_mac_used, mfp->mf_mac_allocated, n); in macfilter_mactable_resize()305 mfp->mf_mac_allocated = n; in macfilter_mactable_resize()414 mfp->mf_mac_used, mfp->mf_mac_allocated); in macfilter_mactable_change()