Home
last modified time | relevance | path

Searched refs:newts (Results 1 – 5 of 5) sorted by relevance

/linux/net/mpls/
H A Dmpls_iptunnel.c170 struct lwtunnel_state *newts; in mpls_build_state() local
189 newts = lwtunnel_state_alloc(struct_size(tun_encap_info, label, in mpls_build_state()
191 if (!newts) in mpls_build_state()
194 tun_encap_info = mpls_lwtunnel_encap(newts); in mpls_build_state()
211 newts->type = LWTUNNEL_ENCAP_MPLS; in mpls_build_state()
212 newts->flags |= LWTUNNEL_STATE_XMIT_REDIRECT; in mpls_build_state()
213 newts->headroom = mpls_encap_size(tun_encap_info); in mpls_build_state()
215 *ts = newts; in mpls_build_state()
220 kfree(newts); in mpls_build_state()
/linux/net/ipv6/ila/
H A Dila_lwt.c143 struct lwtunnel_state *newts; in ila_build_state() local
226 newts = lwtunnel_state_alloc(sizeof(*ilwt)); in ila_build_state()
227 if (!newts) in ila_build_state()
230 ilwt = ila_lwt_lwtunnel(newts); in ila_build_state()
233 kfree(newts); in ila_build_state()
239 p = ila_params_lwtunnel(newts); in ila_build_state()
252 newts->type = LWTUNNEL_ENCAP_ILA; in ila_build_state()
253 newts->flags |= LWTUNNEL_STATE_OUTPUT_REDIRECT | in ila_build_state()
259 *ts = newts; in ila_build_state()
/linux/net/ipv6/
H A Drpl_iptunnel.c73 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()
H A Dseg6_local.c2507 struct lwtunnel_state *newts; in seg6_local_build_state() local
2523 newts = lwtunnel_state_alloc(sizeof(*slwt)); in seg6_local_build_state()
2524 if (!newts) in seg6_local_build_state()
2527 slwt = seg6_local_lwtunnel(newts); in seg6_local_build_state()
2538 newts->type = LWTUNNEL_ENCAP_SEG6_LOCAL; in seg6_local_build_state()
2539 newts->flags = LWTUNNEL_STATE_INPUT_REDIRECT; in seg6_local_build_state()
2540 newts->headroom = slwt->headroom; in seg6_local_build_state()
2542 *ts = newts; in seg6_local_build_state()
2549 kfree(newts); in seg6_local_build_state()
/linux/fs/jbd2/
H A Dtransaction.c123 unsigned long oldts, newts; in update_t_max_wait() local
126 newts = jbd2_time_diff(ts, transaction->t_start); in update_t_max_wait()
128 while (oldts < newts) in update_t_max_wait()
129 oldts = cmpxchg(&transaction->t_max_wait, oldts, newts); in update_t_max_wait()