• Home
  • Raw
  • Download

Lines Matching refs:cand

187 xfrm_policy_find_inexact_candidates(struct xfrm_pol_inexact_candidates *cand,
1661 struct xfrm_pol_inexact_candidates cand; in xfrm_policy_bysel_ctx() local
1671 if (!xfrm_policy_find_inexact_candidates(&cand, bin, in xfrm_policy_bysel_ctx()
1679 for (i = 0; i < ARRAY_SIZE(cand.res); i++) { in xfrm_policy_bysel_ctx()
1682 tmp = __xfrm_policy_bysel_ctx(cand.res[i], mark, in xfrm_policy_bysel_ctx()
2026 xfrm_policy_find_inexact_candidates(struct xfrm_pol_inexact_candidates *cand, in xfrm_policy_find_inexact_candidates() argument
2038 memset(cand, 0, sizeof(*cand)); in xfrm_policy_find_inexact_candidates()
2039 cand->res[XFRM_POL_CAND_ANY] = &b->hhead; in xfrm_policy_find_inexact_candidates()
2044 cand->res[XFRM_POL_CAND_DADDR] = &n->hhead; in xfrm_policy_find_inexact_candidates()
2048 cand->res[XFRM_POL_CAND_BOTH] = &n->hhead; in xfrm_policy_find_inexact_candidates()
2054 cand->res[XFRM_POL_CAND_SADDR] = &n->hhead; in xfrm_policy_find_inexact_candidates()
2131 xfrm_policy_eval_candidates(struct xfrm_pol_inexact_candidates *cand, in xfrm_policy_eval_candidates() argument
2139 for (i = 0; i < ARRAY_SIZE(cand->res); i++) { in xfrm_policy_eval_candidates()
2140 tmp = __xfrm_policy_eval_candidates(cand->res[i], in xfrm_policy_eval_candidates()
2159 struct xfrm_pol_inexact_candidates cand; in xfrm_policy_lookup_bytype() local
2198 if (!bin || !xfrm_policy_find_inexact_candidates(&cand, bin, saddr, in xfrm_policy_lookup_bytype()
2202 pol = xfrm_policy_eval_candidates(&cand, ret, fl, type, in xfrm_policy_lookup_bytype()