Searched refs:net_spot_max (Results 1 – 2 of 2) sorted by relevance
792 u32 net_spot_max = 0; in cipso_v4_map_cat_rbm_hton() local824 if (net_spot > net_spot_max) in cipso_v4_map_cat_rbm_hton()825 net_spot_max = net_spot; in cipso_v4_map_cat_rbm_hton()828 if (++net_spot_max % 8) in cipso_v4_map_cat_rbm_hton()829 return net_spot_max / 8 + 1; in cipso_v4_map_cat_rbm_hton()830 return net_spot_max / 8; in cipso_v4_map_cat_rbm_hton()
614 u32 net_spot_max = 0; in calipso_map_cat_hton() local626 if (spot > net_spot_max) in calipso_map_cat_hton()627 net_spot_max = spot; in calipso_map_cat_hton()630 return (net_spot_max / 32 + 1) * 4; in calipso_map_cat_hton()