Lines Matching refs:flo

248 static struct flow_cache_object *xfrm_policy_flo_get(struct flow_cache_object *flo)  in xfrm_policy_flo_get()  argument
250 struct xfrm_policy *pol = container_of(flo, struct xfrm_policy, flo); in xfrm_policy_flo_get()
253 flo = NULL; in xfrm_policy_flo_get()
257 return flo; in xfrm_policy_flo_get()
260 static int xfrm_policy_flo_check(struct flow_cache_object *flo) in xfrm_policy_flo_check() argument
262 struct xfrm_policy *pol = container_of(flo, struct xfrm_policy, flo); in xfrm_policy_flo_check()
267 static void xfrm_policy_flo_delete(struct flow_cache_object *flo) in xfrm_policy_flo_delete() argument
269 xfrm_pol_put(container_of(flo, struct xfrm_policy, flo)); in xfrm_policy_flo_delete()
300 policy->flo.ops = &xfrm_policy_fc_ops; in xfrm_policy_alloc()
1188 xfrm_pol_put(container_of(old_obj, struct xfrm_policy, flo)); in xfrm_policy_lookup()
1198 return &pol->flo; in xfrm_policy_lookup()
1528 static struct flow_cache_object *xfrm_bundle_flo_get(struct flow_cache_object *flo) in xfrm_bundle_flo_get() argument
1530 struct xfrm_dst *xdst = container_of(flo, struct xfrm_dst, flo); in xfrm_bundle_flo_get()
1548 return flo; in xfrm_bundle_flo_get()
1551 static int xfrm_bundle_flo_check(struct flow_cache_object *flo) in xfrm_bundle_flo_check() argument
1553 struct xfrm_dst *xdst = container_of(flo, struct xfrm_dst, flo); in xfrm_bundle_flo_check()
1564 static void xfrm_bundle_flo_delete(struct flow_cache_object *flo) in xfrm_bundle_flo_delete() argument
1566 struct xfrm_dst *xdst = container_of(flo, struct xfrm_dst, flo); in xfrm_bundle_flo_delete()
1605 xdst->flo.ops = &xfrm_bundle_fc_ops; in xfrm_alloc_dst()
2093 xdst = container_of(oldflo, struct xfrm_dst, flo); in xfrm_bundle_lookup()
2155 return &new_xdst->flo; in xfrm_bundle_lookup()
2171 return &xdst->flo; in xfrm_bundle_lookup()
2210 struct flow_cache_object *flo; in xfrm_lookup() local
2266 flo = flow_cache_lookup(net, fl, family, dir, in xfrm_lookup()
2268 if (flo == NULL) in xfrm_lookup()
2270 if (IS_ERR(flo)) { in xfrm_lookup()
2271 err = PTR_ERR(flo); in xfrm_lookup()
2274 xdst = container_of(flo, struct xfrm_dst, flo); in xfrm_lookup()
2511 struct flow_cache_object *flo; in __xfrm_policy_check() local
2513 flo = flow_cache_lookup(net, &fl, family, fl_dir, in __xfrm_policy_check()
2515 if (IS_ERR_OR_NULL(flo)) in __xfrm_policy_check()
2516 pol = ERR_CAST(flo); in __xfrm_policy_check()
2518 pol = container_of(flo, struct xfrm_policy, flo); in __xfrm_policy_check()