Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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_iptunnel.c414 struct lwtunnel_state *newts; in seg6_build_state() local
460 newts = lwtunnel_state_alloc(tuninfo_len + sizeof(*slwt)); in seg6_build_state()
461 if (!newts) in seg6_build_state()
464 slwt = seg6_lwt_lwtunnel(newts); in seg6_build_state()
468 kfree(newts); in seg6_build_state()
474 newts->type = LWTUNNEL_ENCAP_SEG6; in seg6_build_state()
475 newts->flags |= LWTUNNEL_STATE_INPUT_REDIRECT; in seg6_build_state()
478 newts->flags |= LWTUNNEL_STATE_OUTPUT_REDIRECT; in seg6_build_state()
480 newts->headroom = seg6_lwt_headroom(tuninfo); in seg6_build_state()
482 *ts = newts; in seg6_build_state()
[all...]
H A Dseg6_local.c977 struct lwtunnel_state *newts; in seg6_local_build_state() local
993 newts = lwtunnel_state_alloc(sizeof(*slwt)); in seg6_local_build_state()
994 if (!newts) in seg6_local_build_state()
997 slwt = seg6_local_lwtunnel(newts); in seg6_local_build_state()
1004 newts->type = LWTUNNEL_ENCAP_SEG6_LOCAL; in seg6_local_build_state()
1005 newts->flags = LWTUNNEL_STATE_INPUT_REDIRECT; in seg6_local_build_state()
1006 newts->headroom = slwt->headroom; in seg6_local_build_state()
1008 *ts = newts; in seg6_local_build_state()
1014 kfree(newts); in seg6_local_build_state()
/kernel/linux/linux-5.10/net/ipv6/ila/
H A Dila_lwt.c136 struct lwtunnel_state *newts; in ila_build_state() local
219 newts = lwtunnel_state_alloc(sizeof(*ilwt)); in ila_build_state()
220 if (!newts) in ila_build_state()
223 ilwt = ila_lwt_lwtunnel(newts); in ila_build_state()
226 kfree(newts); in ila_build_state()
232 p = ila_params_lwtunnel(newts); in ila_build_state()
245 newts->type = LWTUNNEL_ENCAP_ILA; in ila_build_state()
246 newts->flags |= LWTUNNEL_STATE_OUTPUT_REDIRECT | in ila_build_state()
252 *ts = newts; in ila_build_state()
/kernel/linux/linux-5.10/net/mpls/
H A Dmpls_iptunnel.c172 struct lwtunnel_state *newts; in mpls_build_state() local
191 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()
/kernel/linux/linux-6.6/net/mpls/
H A Dmpls_iptunnel.c172 struct lwtunnel_state *newts; in mpls_build_state() local
191 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()
/kernel/linux/linux-6.6/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_iptunnel.c613 struct lwtunnel_state *newts; in seg6_build_state() local
663 newts = lwtunnel_state_alloc(tuninfo_len + sizeof(*slwt)); in seg6_build_state()
664 if (!newts) in seg6_build_state()
667 slwt = seg6_lwt_lwtunnel(newts); in seg6_build_state()
671 kfree(newts); in seg6_build_state()
677 newts->type = LWTUNNEL_ENCAP_SEG6; in seg6_build_state()
678 newts->flags |= LWTUNNEL_STATE_INPUT_REDIRECT; in seg6_build_state()
681 newts->flags |= LWTUNNEL_STATE_OUTPUT_REDIRECT; in seg6_build_state()
683 newts->headroom = seg6_lwt_headroom(tuninfo); in seg6_build_state()
685 *ts = newts; in seg6_build_state()
[all...]
H A Dseg6_local.c2499 struct lwtunnel_state *newts; in seg6_local_build_state() local
2515 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()
/kernel/linux/linux-6.6/net/ipv6/ila/
H A Dila_lwt.c136 struct lwtunnel_state *newts; in ila_build_state() local
219 newts = lwtunnel_state_alloc(sizeof(*ilwt)); in ila_build_state()
220 if (!newts) in ila_build_state()
223 ilwt = ila_lwt_lwtunnel(newts); in ila_build_state()
226 kfree(newts); in ila_build_state()
232 p = ila_params_lwtunnel(newts); in ila_build_state()
245 newts->type = LWTUNNEL_ENCAP_ILA; in ila_build_state()
246 newts->flags |= LWTUNNEL_STATE_OUTPUT_REDIRECT | in ila_build_state()
252 *ts = newts; in ila_build_state()
/kernel/linux/linux-5.10/net/core/
H A Dlwt_bpf.c374 struct lwtunnel_state *newts; in bpf_build_state() local
389 newts = lwtunnel_state_alloc(sizeof(*bpf)); in bpf_build_state()
390 if (!newts) in bpf_build_state()
393 newts->type = LWTUNNEL_ENCAP_BPF; in bpf_build_state()
394 bpf = bpf_lwt_lwtunnel(newts); in bpf_build_state()
397 newts->flags |= LWTUNNEL_STATE_INPUT_REDIRECT; in bpf_build_state()
405 newts->flags |= LWTUNNEL_STATE_OUTPUT_REDIRECT; in bpf_build_state()
413 newts->flags |= LWTUNNEL_STATE_XMIT_REDIRECT; in bpf_build_state()
428 newts->headroom = headroom; in bpf_build_state()
432 *ts = newts; in bpf_build_state()
[all...]
/kernel/linux/linux-6.6/net/core/
H A Dlwt_bpf.c375 struct lwtunnel_state *newts; in bpf_build_state() local
390 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...]
/kernel/linux/linux-6.6/fs/jbd2/
H A Dtransaction.c149 unsigned long oldts, newts; in update_t_max_wait() local
152 newts = jbd2_time_diff(ts, transaction->t_start); in update_t_max_wait()
154 while (oldts < newts) in update_t_max_wait()
155 oldts = cmpxchg(&transaction->t_max_wait, oldts, newts); in update_t_max_wait()

Completed in 16 milliseconds