Searched refs:syn_data (Results 1 – 5 of 5) sorted by relevance
/linux/tools/perf/util/ |
H A D | synthetic-events.c | 1280 static void *cpu_map_data__alloc(struct synthesize_cpu_map_data *syn_data, in cpu_map_data__alloc() argument 1285 syn_data->nr = perf_cpu_map__nr(syn_data->map); in cpu_map_data__alloc() 1286 syn_data->has_any_cpu = (perf_cpu_map__cpu(syn_data->map, 0).cpu == -1) ? 1 : 0; in cpu_map_data__alloc() 1288 syn_data->min_cpu = perf_cpu_map__cpu(syn_data->map, syn_data->has_any_cpu).cpu; in cpu_map_data__alloc() 1289 syn_data->max_cpu = perf_cpu_map__max(syn_data->map).cpu; in cpu_map_data__alloc() 1290 if (syn_data->max_cpu - syn_data->min_cpu + 1 == syn_data->nr - syn_data->has_any_cpu) { in cpu_map_data__alloc() 1293 syn_data->type = PERF_CPU_MAP__RANGE_CPUS; in cpu_map_data__alloc() 1294 syn_data->size = header_size + sizeof(u64); in cpu_map_data__alloc() 1295 return zalloc(syn_data->size); in cpu_map_data__alloc() 1298 size_cpus = sizeof(u16) + sizeof(struct cpu_map_entries) + syn_data->nr * sizeof(u16); in cpu_map_data__alloc() [all …]
|
/linux/net/ipv4/ |
H A D | tcp_output.c | 3974 struct sk_buff *syn_data; in tcp_send_syn_data() local 3998 syn_data = tcp_stream_alloc_skb(sk, sk->sk_allocation, false); in tcp_send_syn_data() 3999 if (!syn_data) in tcp_send_syn_data() 4001 memcpy(syn_data->cb, syn->cb, sizeof(syn->cb)); in tcp_send_syn_data() 4010 tcp_skb_tsorted_anchor_cleanup(syn_data); in tcp_send_syn_data() 4011 kfree_skb(syn_data); in tcp_send_syn_data() 4014 skb_fill_page_desc(syn_data, 0, pfrag->page, in tcp_send_syn_data() 4018 skb_len_add(syn_data, space); in tcp_send_syn_data() 4019 skb_zcopy_set(syn_data, fo->uarg, NULL); in tcp_send_syn_data() 4026 tcp_connect_queue_skb(sk, syn_data); in tcp_send_syn_data() [all …]
|
H A D | tcp_fastopen.c | 353 bool syn_data = TCP_SKB_CB(skb)->end_seq != TCP_SKB_CB(skb)->seq + 1; in tcp_try_fastopen() local 363 (syn_data || foc->len >= 0) && in tcp_try_fastopen() 591 if ((tp->syn_fastopen || tp->syn_data || tp->syn_data_acked) && in tcp_fastopen_active_detect_blackhole()
|
H A D | tcp_input.c | 2868 if (tp->syn_data && sk->sk_state == TCP_SYN_SENT) in tcp_simple_retransmit() 3088 WARN_ON(tp->retrans_out != 0 && !tp->syn_data); in tcp_fastretrans_alert() 6344 struct sk_buff *data = tp->syn_data ? tcp_rtx_queue_head(sk) : NULL; in tcp_rcv_fastopen_synack() 6368 } else if (cookie->len < 0 && !tp->syn_data) { in tcp_rcv_fastopen_synack() 6390 tp->syn_data_acked = tp->syn_data; in tcp_rcv_fastopen_synack() 6551 fastopen_fail = (tp->syn_fastopen || tp->syn_data) && in tcp_rcv_synsent_state_process()
|
/linux/net/core/ |
H A D | filter.c | 5278 if (val <= 0 || tp->data_segs_out > tp->syn_data) in bpf_sol_tcp_setsockopt()
|