Lines Matching refs:storage
123 wn[0].storage = wn[0].weight; in sort_weightened_nhops_weights()
127 for (j = i - 1; j >= 0 && wn[j].storage > weight; j--) in sort_weightened_nhops_weights()
128 wn[j + 1].storage = wn[j].storage; in sort_weightened_nhops_weights()
129 wn[j + 1].storage = weight; in sort_weightened_nhops_weights()
157 xmin = wn[0].storage; in calc_min_mpath_slots_fast()
159 total += wn[i].storage; in calc_min_mpath_slots_fast()
160 if ((wn[i].storage != last) && in calc_min_mpath_slots_fast()
161 ((wn[i].storage - last < xmin) || xmin == 0)) { in calc_min_mpath_slots_fast()
162 xmin = wn[i].storage - last; in calc_min_mpath_slots_fast()
164 last = wn[i].storage; in calc_min_mpath_slots_fast()
595 char storage[64]; in append_nhops() local
609 if (sz <= sizeof(storage)) in append_nhops()
610 pnhops = (struct weightened_nhop *)&storage[0]; in append_nhops()
627 if (pnhops != (struct weightened_nhop *)&storage[0]) in append_nhops()
669 char storage[64]; in nhgrp_get_filtered_group() local
680 if (sz <= sizeof(storage)) in nhgrp_get_filtered_group()
681 pnhops = (struct weightened_nhop *)&storage[0]; in nhgrp_get_filtered_group()
712 if (pnhops != (struct weightened_nhop *)&storage[0]) in nhgrp_get_filtered_group()