Lines Matching refs:flo

246 static struct flow_cache_object *xfrm_policy_flo_get(struct flow_cache_object *flo)  in xfrm_policy_flo_get()  argument
248 struct xfrm_policy *pol = container_of(flo, struct xfrm_policy, flo); in xfrm_policy_flo_get()
251 flo = NULL; in xfrm_policy_flo_get()
255 return flo; in xfrm_policy_flo_get()
258 static int xfrm_policy_flo_check(struct flow_cache_object *flo) in xfrm_policy_flo_check() argument
260 struct xfrm_policy *pol = container_of(flo, struct xfrm_policy, flo); in xfrm_policy_flo_check()
265 static void xfrm_policy_flo_delete(struct flow_cache_object *flo) in xfrm_policy_flo_delete() argument
267 xfrm_pol_put(container_of(flo, struct xfrm_policy, flo)); in xfrm_policy_flo_delete()
298 policy->flo.ops = &xfrm_policy_fc_ops; in xfrm_policy_alloc()
1182 xfrm_pol_put(container_of(old_obj, struct xfrm_policy, flo)); in xfrm_policy_lookup()
1192 return &pol->flo; in xfrm_policy_lookup()
1507 static struct flow_cache_object *xfrm_bundle_flo_get(struct flow_cache_object *flo) in xfrm_bundle_flo_get() argument
1509 struct xfrm_dst *xdst = container_of(flo, struct xfrm_dst, flo); in xfrm_bundle_flo_get()
1527 return flo; in xfrm_bundle_flo_get()
1530 static int xfrm_bundle_flo_check(struct flow_cache_object *flo) in xfrm_bundle_flo_check() argument
1532 struct xfrm_dst *xdst = container_of(flo, struct xfrm_dst, flo); in xfrm_bundle_flo_check()
1543 static void xfrm_bundle_flo_delete(struct flow_cache_object *flo) in xfrm_bundle_flo_delete() argument
1545 struct xfrm_dst *xdst = container_of(flo, struct xfrm_dst, flo); in xfrm_bundle_flo_delete()
1584 xdst->flo.ops = &xfrm_bundle_fc_ops; in xfrm_alloc_dst()
2075 xdst = container_of(oldflo, struct xfrm_dst, flo); in xfrm_bundle_lookup()
2137 return &new_xdst->flo; in xfrm_bundle_lookup()
2153 return &xdst->flo; in xfrm_bundle_lookup()
2192 struct flow_cache_object *flo; in xfrm_lookup() local
2247 flo = flow_cache_lookup(net, fl, family, dir, in xfrm_lookup()
2249 if (flo == NULL) in xfrm_lookup()
2251 if (IS_ERR(flo)) { in xfrm_lookup()
2252 err = PTR_ERR(flo); in xfrm_lookup()
2255 xdst = container_of(flo, struct xfrm_dst, flo); in xfrm_lookup()
2491 struct flow_cache_object *flo; in __xfrm_policy_check() local
2493 flo = flow_cache_lookup(net, &fl, family, fl_dir, in __xfrm_policy_check()
2495 if (IS_ERR_OR_NULL(flo)) in __xfrm_policy_check()
2496 pol = ERR_CAST(flo); in __xfrm_policy_check()
2498 pol = container_of(flo, struct xfrm_policy, flo); in __xfrm_policy_check()