Lines Matching refs:total
610 static void xfrm_byidx_resize(struct net *net, int total) in xfrm_byidx_resize() argument
635 static inline int xfrm_bydst_should_resize(struct net *net, int dir, int *total) in xfrm_bydst_should_resize() argument
640 if (total) in xfrm_bydst_should_resize()
641 *total += cnt; in xfrm_bydst_should_resize()
650 static inline int xfrm_byidx_should_resize(struct net *net, int total) in xfrm_byidx_should_resize() argument
655 total > hmask) in xfrm_byidx_should_resize()
678 int dir, total; in xfrm_hash_resize() local
682 total = 0; in xfrm_hash_resize()
684 if (xfrm_bydst_should_resize(net, dir, &total)) in xfrm_hash_resize()
687 if (xfrm_byidx_should_resize(net, total)) in xfrm_hash_resize()
688 xfrm_byidx_resize(net, total); in xfrm_hash_resize()