Searched refs:newts (Results 1 - 7 of 7) sorted by relevance

/linux-master/net/ipv6/ila/
H A Dila_lwt.c136 struct lwtunnel_state *newts; local
219 newts = lwtunnel_state_alloc(sizeof(*ilwt));
220 if (!newts)
223 ilwt = ila_lwt_lwtunnel(newts);
226 kfree(newts);
232 p = ila_params_lwtunnel(newts);
245 newts->type = LWTUNNEL_ENCAP_ILA;
246 newts->flags |= LWTUNNEL_STATE_OUTPUT_REDIRECT |
252 *ts = newts;
/linux-master/net/mpls/
H A Dmpls_iptunnel.c170 struct lwtunnel_state *newts; local
189 newts = lwtunnel_state_alloc(struct_size(tun_encap_info, label,
191 if (!newts)
194 tun_encap_info = mpls_lwtunnel_encap(newts);
211 newts->type = LWTUNNEL_ENCAP_MPLS;
212 newts->flags |= LWTUNNEL_STATE_XMIT_REDIRECT;
213 newts->headroom = mpls_encap_size(tun_encap_info);
215 *ts = newts;
220 kfree(newts);
/linux-master/net/ipv6/
H A Drpl_iptunnel.c73 struct lwtunnel_state *newts; local
99 newts = lwtunnel_state_alloc(srh_len + sizeof(*rlwt));
100 if (!newts)
103 rlwt = rpl_lwt_lwtunnel(newts);
107 kfree(newts);
113 newts->type = LWTUNNEL_ENCAP_RPL;
114 newts->flags |= LWTUNNEL_STATE_INPUT_REDIRECT;
115 newts->flags |= LWTUNNEL_STATE_OUTPUT_REDIRECT;
117 *ts = newts;
H A Dseg6_iptunnel.c613 struct lwtunnel_state *newts; local
663 newts = lwtunnel_state_alloc(tuninfo_len + sizeof(*slwt));
664 if (!newts)
667 slwt = seg6_lwt_lwtunnel(newts);
671 kfree(newts);
677 newts->type = LWTUNNEL_ENCAP_SEG6;
678 newts->flags |= LWTUNNEL_STATE_INPUT_REDIRECT;
681 newts->flags |= LWTUNNEL_STATE_OUTPUT_REDIRECT;
683 newts->headroom = seg6_lwt_headroom(tuninfo);
685 *ts = newts;
[all...]
H A Dseg6_local.c2499 struct lwtunnel_state *newts; local
2515 newts = lwtunnel_state_alloc(sizeof(*slwt));
2516 if (!newts)
2519 slwt = seg6_local_lwtunnel(newts);
2530 newts->type = LWTUNNEL_ENCAP_SEG6_LOCAL;
2531 newts->flags = LWTUNNEL_STATE_INPUT_REDIRECT;
2532 newts->headroom = slwt->headroom;
2534 *ts = newts;
2541 kfree(newts);
/linux-master/net/core/
H A Dlwt_bpf.c375 struct lwtunnel_state *newts; local
390 newts = lwtunnel_state_alloc(sizeof(*bpf));
391 if (!newts)
394 newts->type = LWTUNNEL_ENCAP_BPF;
395 bpf = bpf_lwt_lwtunnel(newts);
398 newts->flags |= LWTUNNEL_STATE_INPUT_REDIRECT;
406 newts->flags |= LWTUNNEL_STATE_OUTPUT_REDIRECT;
414 newts->flags |= LWTUNNEL_STATE_XMIT_REDIRECT;
429 newts->headroom = headroom;
433 *ts = newts;
[all...]
/linux-master/fs/jbd2/
H A Dtransaction.c149 unsigned long oldts, newts; local
152 newts = jbd2_time_diff(ts, transaction->t_start);
154 while (oldts < newts)
155 oldts = cmpxchg(&transaction->t_max_wait, oldts, newts);

Completed in 90 milliseconds