num_pols 936 include/net/xfrm.h int num_pols, num_xfrms; num_pols 976 include/net/xfrm.h xfrm_pols_put(xdst->pols, xdst->num_pols); num_pols 2668 net/xfrm/xfrm_policy.c int *num_pols, int *num_xfrms) num_pols 2672 net/xfrm/xfrm_policy.c if (*num_pols == 0 || !pols[0]) { num_pols 2673 net/xfrm/xfrm_policy.c *num_pols = 0; num_pols 2692 net/xfrm/xfrm_policy.c xfrm_pols_put(pols, *num_pols); num_pols 2695 net/xfrm/xfrm_policy.c (*num_pols)++; num_pols 2700 net/xfrm/xfrm_policy.c for (i = 0; i < *num_pols; i++) { num_pols 2712 net/xfrm/xfrm_policy.c xfrm_resolve_and_create_bundle(struct xfrm_policy **pols, int num_pols, num_pols 2724 net/xfrm/xfrm_policy.c err = xfrm_tmpl_resolve(pols, num_pols, fl, xfrm, family); num_pols 2742 net/xfrm/xfrm_policy.c xdst->num_pols = num_pols; num_pols 2743 net/xfrm/xfrm_policy.c memcpy(xdst->pols, pols, sizeof(struct xfrm_policy *) * num_pols); num_pols 2932 net/xfrm/xfrm_policy.c int num_pols = 0, num_xfrms = 0, err; num_pols 2937 net/xfrm/xfrm_policy.c num_pols = 1; num_pols 2940 net/xfrm/xfrm_policy.c &num_pols, &num_xfrms); num_pols 2943 net/xfrm/xfrm_policy.c if (num_pols == 0) num_pols 2948 net/xfrm/xfrm_policy.c xdst = xfrm_resolve_and_create_bundle(pols, num_pols, fl, family, num_pols 2953 net/xfrm/xfrm_policy.c xfrm_pols_put(pols, num_pols); num_pols 2973 net/xfrm/xfrm_policy.c xfrm_pols_put(pols, num_pols); num_pols 2976 net/xfrm/xfrm_policy.c xdst->num_pols = num_pols; num_pols 2978 net/xfrm/xfrm_policy.c memcpy(xdst->pols, pols, sizeof(struct xfrm_policy *) * num_pols); num_pols 2985 net/xfrm/xfrm_policy.c xfrm_pols_put(pols, num_pols); num_pols 3025 net/xfrm/xfrm_policy.c int i, err, num_pols, num_xfrms = 0, drop_pols = 0; num_pols 3033 net/xfrm/xfrm_policy.c num_pols = 1; num_pols 3037 net/xfrm/xfrm_policy.c &num_pols, &num_xfrms); num_pols 3041 net/xfrm/xfrm_policy.c if (num_pols) { num_pols 3043 net/xfrm/xfrm_policy.c drop_pols = num_pols; num_pols 3048 net/xfrm/xfrm_policy.c pols, num_pols, fl, num_pols 3052 net/xfrm/xfrm_policy.c xfrm_pols_put(pols, num_pols); num_pols 3060 net/xfrm/xfrm_policy.c drop_pols = num_pols; num_pols 3087 net/xfrm/xfrm_policy.c num_pols = xdst->num_pols; num_pols 3089 net/xfrm/xfrm_policy.c memcpy(pols, xdst->pols, sizeof(struct xfrm_policy *) * num_pols); num_pols 3114 net/xfrm/xfrm_policy.c if (num_pols == 0) num_pols 3123 net/xfrm/xfrm_policy.c for (i = 0; i < num_pols; i++) num_pols 3808 net/xfrm/xfrm_policy.c if (xdst->num_pols > 0 &&