Searched refs:newts (Results 1 – 7 of 7) sorted by relevance
172 struct lwtunnel_state *newts; in mpls_build_state() local191 newts = lwtunnel_state_alloc(struct_size(tun_encap_info, label, in mpls_build_state()193 if (!newts) in mpls_build_state()196 tun_encap_info = mpls_lwtunnel_encap(newts); in mpls_build_state()213 newts->type = LWTUNNEL_ENCAP_MPLS; in mpls_build_state()214 newts->flags |= LWTUNNEL_STATE_XMIT_REDIRECT; in mpls_build_state()215 newts->headroom = mpls_encap_size(tun_encap_info); in mpls_build_state()217 *ts = newts; in mpls_build_state()222 kfree(newts); in mpls_build_state()
141 struct lwtunnel_state *newts; in ila_build_state() local224 newts = lwtunnel_state_alloc(sizeof(*ilwt)); in ila_build_state()225 if (!newts) in ila_build_state()228 ilwt = ila_lwt_lwtunnel(newts); in ila_build_state()231 kfree(newts); in ila_build_state()237 p = ila_params_lwtunnel(newts); in ila_build_state()250 newts->type = LWTUNNEL_ENCAP_ILA; in ila_build_state()251 newts->flags |= LWTUNNEL_STATE_OUTPUT_REDIRECT | in ila_build_state()257 *ts = newts; in ila_build_state()
73 struct lwtunnel_state *newts; in rpl_build_state() local 99 newts = lwtunnel_state_alloc(srh_len + sizeof(*rlwt)); in rpl_build_state() 100 if (!newts) in rpl_build_state() 103 rlwt = rpl_lwt_lwtunnel(newts); in rpl_build_state() 107 kfree(newts); in rpl_build_state() 113 newts->type = LWTUNNEL_ENCAP_RPL; in rpl_build_state() 114 newts->flags |= LWTUNNEL_STATE_INPUT_REDIRECT; in rpl_build_state() 115 newts->flags |= LWTUNNEL_STATE_OUTPUT_REDIRECT; in rpl_build_state() 117 *ts = newts; in rpl_build_state()
641 struct lwtunnel_state *newts; in seg6_build_state() 691 newts = lwtunnel_state_alloc(tuninfo_len + sizeof(*slwt)); in seg6_destroy_state() 692 if (!newts) in seg6_destroy_state() 695 slwt = seg6_lwt_lwtunnel(newts); in seg6_fill_encap_info() 699 kfree(newts); in seg6_fill_encap_info() 705 newts->type = LWTUNNEL_ENCAP_SEG6; in seg6_encap_nlsize() 706 newts->flags |= LWTUNNEL_STATE_INPUT_REDIRECT; in seg6_encap_nlsize() 709 newts->flags |= LWTUNNEL_STATE_OUTPUT_REDIRECT; in seg6_encap_nlsize() 711 newts->headroom = seg6_lwt_headroom(tuninfo);713 *ts = newts; in seg6_encap_cmp() 612 struct lwtunnel_state *newts; seg6_build_state() local [all...]
2499 struct lwtunnel_state *newts; in seg6_local_build_state() local2515 newts = lwtunnel_state_alloc(sizeof(*slwt)); in seg6_local_build_state()2516 if (!newts) in seg6_local_build_state()2519 slwt = seg6_local_lwtunnel(newts); in seg6_local_build_state()2530 newts->type = LWTUNNEL_ENCAP_SEG6_LOCAL; in seg6_local_build_state()2531 newts->flags = LWTUNNEL_STATE_INPUT_REDIRECT; in seg6_local_build_state()2532 newts->headroom = slwt->headroom; in seg6_local_build_state()2534 *ts = newts; in seg6_local_build_state()2541 kfree(newts); in seg6_local_build_state()
375 struct lwtunnel_state *newts; in bpf_build_state() local390 newts = lwtunnel_state_alloc(sizeof(*bpf)); in bpf_build_state()391 if (!newts) in bpf_build_state()394 newts->type = LWTUNNEL_ENCAP_BPF; in bpf_build_state()395 bpf = bpf_lwt_lwtunnel(newts); in bpf_build_state()398 newts->flags |= LWTUNNEL_STATE_INPUT_REDIRECT; in bpf_build_state()406 newts->flags |= LWTUNNEL_STATE_OUTPUT_REDIRECT; in bpf_build_state()414 newts->flags |= LWTUNNEL_STATE_XMIT_REDIRECT; in bpf_build_state()429 newts->headroom = headroom; in bpf_build_state()433 *ts = newts; in bpf_build_state()[all …]
127 unsigned long oldts, newts; in update_t_max_wait() local130 newts = jbd2_time_diff(ts, transaction->t_start); in update_t_max_wait()132 while (oldts < newts) in update_t_max_wait()133 oldts = cmpxchg(&transaction->t_max_wait, oldts, newts); in update_t_max_wait()