Searched refs:tup (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/drivers/tty/serial/ |
D | serial-tegra.c | 151 static void tegra_uart_start_next_tx(struct tegra_uart_port *tup); 152 static int tegra_uart_start_rx_dma(struct tegra_uart_port *tup); 153 static void tegra_uart_dma_channel_free(struct tegra_uart_port *tup, 156 static inline unsigned long tegra_uart_read(struct tegra_uart_port *tup, in tegra_uart_read() argument 159 return readl(tup->uport.membase + (reg << tup->uport.regshift)); in tegra_uart_read() 162 static inline void tegra_uart_write(struct tegra_uart_port *tup, unsigned val, in tegra_uart_write() argument 165 writel(val, tup->uport.membase + (reg << tup->uport.regshift)); in tegra_uart_write() 175 struct tegra_uart_port *tup = to_tegra_uport(u); in tegra_uart_get_mctrl() local 186 if (tup->enable_modem_interrupt) in tegra_uart_get_mctrl() 191 static void set_rts(struct tegra_uart_port *tup, bool active) in set_rts() argument [all …]
|
/Linux-v6.6/tools/testing/selftests/bpf/progs/ |
D | test_bpf_nf_fail.c | 31 struct bpf_sock_tuple tup = {}; in alloc_release() local 34 ct = bpf_skb_ct_alloc(ctx, &tup, sizeof(tup.ipv4), &opts, sizeof(opts)); in alloc_release() 45 struct bpf_sock_tuple tup = {}; in insert_insert() local 48 ct = bpf_skb_ct_alloc(ctx, &tup, sizeof(tup.ipv4), &opts, sizeof(opts)); in insert_insert() 62 struct bpf_sock_tuple tup = {}; in lookup_insert() local 65 ct = bpf_skb_ct_lookup(ctx, &tup, sizeof(tup.ipv4), &opts, sizeof(opts)); in lookup_insert() 76 struct bpf_sock_tuple tup = {}; in write_not_allowlisted_field() local 79 ct = bpf_skb_ct_lookup(ctx, &tup, sizeof(tup.ipv4), &opts, sizeof(opts)); in write_not_allowlisted_field() 90 struct bpf_sock_tuple tup = {}; in set_timeout_after_insert() local 93 ct = bpf_skb_ct_alloc(ctx, &tup, sizeof(tup.ipv4), &opts, sizeof(opts)); in set_timeout_after_insert() [all …]
|
D | test_tcp_check_syncookie_kern.c | 48 struct bpf_sock_tuple tup; in check_syncookie() local 77 tup.ipv4.saddr = ipv4h->saddr; in check_syncookie() 78 tup.ipv4.daddr = ipv4h->daddr; in check_syncookie() 79 tup.ipv4.sport = tcph->source; in check_syncookie() 80 tup.ipv4.dport = tcph->dest; in check_syncookie() 82 sk = bpf_skc_lookup_tcp(ctx, &tup, sizeof(tup.ipv4), in check_syncookie() 109 memcpy(tup.ipv6.saddr, &ipv6h->saddr, sizeof(tup.ipv6.saddr)); in check_syncookie() 110 memcpy(tup.ipv6.daddr, &ipv6h->daddr, sizeof(tup.ipv6.daddr)); in check_syncookie() 111 tup.ipv6.sport = tcph->source; in check_syncookie() 112 tup.ipv6.dport = tcph->dest; in check_syncookie() [all …]
|
D | xdp_synproxy_kern.c | 414 struct bpf_sock_tuple tup = {}; in tcp_lookup() local 425 tup.ipv4.saddr = hdr->ipv4->saddr; in tcp_lookup() 426 tup.ipv4.daddr = hdr->ipv4->daddr; in tcp_lookup() 427 tup.ipv4.sport = hdr->tcp->source; in tcp_lookup() 428 tup.ipv4.dport = hdr->tcp->dest; in tcp_lookup() 429 tup_size = sizeof(tup.ipv4); in tcp_lookup() 431 __builtin_memcpy(tup.ipv6.saddr, &hdr->ipv6->saddr, sizeof(tup.ipv6.saddr)); in tcp_lookup() 432 __builtin_memcpy(tup.ipv6.daddr, &hdr->ipv6->daddr, sizeof(tup.ipv6.daddr)); in tcp_lookup() 433 tup.ipv6.sport = hdr->tcp->source; in tcp_lookup() 434 tup.ipv6.dport = hdr->tcp->dest; in tcp_lookup() [all …]
|