/linux-master/security/smack/ |
H A D | smack_lsm.c | 4036 struct tcphdr _tcph, *th; local 4057 th = skb_header_pointer(skb, offset, sizeof(_tcph), &_tcph); 4058 if (th != NULL) 4059 sip->sin6_port = th->source;
|
/linux-master/security/selinux/ |
H A D | hooks.c | 4303 struct tcphdr _tcph, *th; local 4309 th = skb_header_pointer(skb, offset, sizeof(_tcph), &_tcph); 4310 if (th == NULL) 4313 ad->u.net->sport = th->source; 4314 ad->u.net->dport = th->dest; 4405 struct tcphdr _tcph, *th; local 4407 th = skb_header_pointer(skb, offset, sizeof(_tcph), &_tcph); 4408 if (th == NULL) 4411 ad->u.net->sport = th->source; 4412 ad->u.net->dport = th [all...] |
/linux-master/fs/reiserfs/ |
H A D | super.c | 69 struct reiserfs_transaction_handle th; local 77 if (!journal_begin(&th, s, 1)) 78 if (!journal_end_sync(&th)) 149 struct reiserfs_transaction_handle th; local 155 int err = journal_begin(&th, s, 1); 157 reiserfs_block_writes(&th); 161 journal_mark_dirty(&th, SB_BUFFER_WITH_SB(s)); 162 reiserfs_block_writes(&th); 163 journal_end_sync(&th); 196 struct reiserfs_transaction_handle th; local 429 add_save_link(struct reiserfs_transaction_handle *th, struct inode *inode, int truncate) argument 512 struct reiserfs_transaction_handle th; local 591 struct reiserfs_transaction_handle th; local 693 struct reiserfs_transaction_handle th; local 1431 struct reiserfs_transaction_handle th; local 1890 struct reiserfs_transaction_handle th; local 2269 struct reiserfs_transaction_handle th; local 2292 struct reiserfs_transaction_handle th; local 2315 struct reiserfs_transaction_handle th; local 2351 struct reiserfs_transaction_handle th; local 2388 struct reiserfs_transaction_handle th; local [all...] |
H A D | reiserfs.h | 1854 * | directory |N-1| N-2 | .... | 1st |0th| 2244 * calculates length of i-th directory entry using directory entry 2245 * locations from dir entry head. When it calculates length of 0-th 2899 struct reiserfs_transaction_handle *th = current->journal_info; local 2900 if (th && th->t_super == s) 2902 if (th && th->t_super == NULL) 2907 static inline int reiserfs_transaction_free_space(struct reiserfs_transaction_handle *th) argument 2909 return th 3098 reiserfs_update_sd(struct reiserfs_transaction_handle *th, struct inode *inode) argument 3286 struct reiserfs_transaction_handle *th; member in struct:__reiserfs_blocknr_hint 3349 reiserfs_new_unf_blocknrs(struct reiserfs_transaction_handle *th, struct inode *inode, b_blocknr_t * new_blocknrs, struct treepath *path, sector_t block) argument 3367 reiserfs_new_unf_blocknrs2(struct reiserfs_transaction_handle *th, struct inode *inode, b_blocknr_t * new_blocknrs, struct treepath *path, sector_t block) argument [all...] |
/linux-master/drivers/thermal/st/ |
H A D | st_thermal.c | 109 static int st_thermal_get_temp(struct thermal_zone_device *th, int *temperature) argument 111 struct st_thermal_sensor *sensor = thermal_zone_device_priv(th);
|
/linux-master/drivers/net/ethernet/broadcom/ |
H A D | tg3.c | 13540 struct tcphdr *th; local 13542 th = (struct tcphdr *)&tx_data[val]; 13543 th->check = 0;
|
/linux-master/drivers/gpu/drm/radeon/ |
H A D | r600_dpm.c | 219 int r600_calculate_at(u32 t, u32 h, u32 fh, u32 fl, u32 *tl, u32 *th) argument 234 *th = t - ah;
|
H A D | r600_dpm.h | 141 int r600_calculate_at(u32 t, u32 h, u32 fh, u32 fl, u32 *tl, u32 *th);
|
/linux-master/drivers/gpu/drm/amd/amdkfd/ |
H A D | cwsr_trap_handler_gfx10.asm | 375 // SQ hang, since the 7,8th wave could not get arbit to exec inst, while
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_xdp_dynptr.c | 52 struct tcphdr *th; local 57 th = (struct tcphdr *)trans_data; 58 return th->dest;
|
H A D | test_xdp_loop.c | 46 struct tcphdr *th; local 51 th = (struct tcphdr *)trans_data; 52 if (th + 1 > data_end) 54 return th->dest;
|
H A D | test_xdp.c | 50 struct tcphdr *th; local 55 th = (struct tcphdr *)trans_data; 56 if (th + 1 > data_end) 58 return th->dest;
|
/linux-master/net/sched/ |
H A D | sch_cake.c | 1369 const struct tcphdr *th; local 1372 th = skb_header_pointer(skb, hdr_len, 1374 if (likely(th)) 1375 hdr_len += __tcp_hdrlen(th);
|
H A D | cls_route.c | 486 unsigned int h, th; local 546 th = to_hash(fold->handle); 548 b = rtnl_dereference(head->table[th]);
|
/linux-master/net/netfilter/ |
H A D | nf_synproxy_core.c | 29 const struct tcphdr *th, struct synproxy_options *opts) 31 int length = (th->doff * 4) - sizeof(*th); 37 ptr = skb_header_pointer(skb, doff + sizeof(*th), length, buf); 115 synproxy_build_options(struct tcphdr *th, const struct synproxy_options *opts) argument 117 __be32 *ptr = (__be32 *)(th + 1); 186 struct tcphdr *th, struct nf_conn *ct, 197 optend = protoff + th->doff * 4; 229 inet_proto_csum_replace4(&th->check, skb, 448 const struct sk_buff *skb, const struct tcphdr *th, 28 synproxy_parse_options(const struct sk_buff *skb, unsigned int doff, const struct tcphdr *th, struct synproxy_options *opts) argument 185 synproxy_tstamp_adjust(struct sk_buff *skb, unsigned int protoff, struct tcphdr *th, struct nf_conn *ct, enum ip_conntrack_info ctinfo, const struct nf_conn_synproxy *synproxy) argument 447 synproxy_send_client_synack(struct net *net, const struct sk_buff *skb, const struct tcphdr *th, const struct synproxy_options *opts) argument 490 synproxy_send_server_syn(struct net *net, const struct sk_buff *skb, const struct tcphdr *th, const struct synproxy_options *opts, u32 recv_seq) argument 535 synproxy_send_server_ack(struct net *net, const struct ip_ct_tcp *state, const struct sk_buff *skb, const struct tcphdr *th, const struct synproxy_options *opts) argument 574 synproxy_send_client_ack(struct net *net, const struct sk_buff *skb, const struct tcphdr *th, const struct synproxy_options *opts) argument 613 synproxy_recv_client_ack(struct net *net, const struct sk_buff *skb, const struct tcphdr *th, struct synproxy_options *opts, u32 recv_seq) argument 649 struct tcphdr *th, _th; local 859 synproxy_send_client_synack_ipv6(struct net *net, const struct sk_buff *skb, const struct tcphdr *th, const struct synproxy_options *opts) argument 904 synproxy_send_server_syn_ipv6(struct net *net, const struct sk_buff *skb, const struct tcphdr *th, const struct synproxy_options *opts, u32 recv_seq) argument 949 synproxy_send_server_ack_ipv6(struct net *net, const struct ip_ct_tcp *state, const struct sk_buff *skb, const struct tcphdr *th, const struct synproxy_options *opts) argument 989 synproxy_send_client_ack_ipv6(struct net *net, const struct sk_buff *skb, const struct tcphdr *th, const struct synproxy_options *opts) argument 1029 synproxy_recv_client_ack_ipv6(struct net *net, const struct sk_buff *skb, const struct tcphdr *th, struct synproxy_options *opts, u32 recv_seq) argument 1066 struct tcphdr *th, _th; local [all...] |
/linux-master/net/mptcp/ |
H A D | options.c | 368 const struct tcphdr *th = tcp_hdr(skb); local 375 length = (th->doff * 4) - sizeof(struct tcphdr); 376 ptr = (const unsigned char *)(th + 1); 930 /* here we can process OoO, in-window pkts, only in-sequence 4th ack 1250 static void mptcp_set_rwin(struct tcp_sock *tp, struct tcphdr *th) argument 1294 if (unlikely(th->syn)) 1304 th->window = htons(new_win); 1344 void mptcp_write_options(struct tcphdr *th, __be32 *ptr, struct tcp_sock *tp, argument 1636 mptcp_set_rwin(tp, th);
|
/linux-master/net/ipv6/ |
H A D | tcpv6_offload.c | 33 struct tcphdr *th = tcp_hdr(skb); local 35 th->check = ~tcp_v6_check(skb->len - thoff, &iph->saddr, 46 struct tcphdr *th; local 51 if (!pskb_may_pull(skb, sizeof(*th))) 56 struct tcphdr *th = tcp_hdr(skb); local 62 th->check = 0;
|
H A D | tcp_ipv6.c | 378 const struct tcphdr *th = (struct tcphdr *)(skb->data+offset); local 389 &hdr->daddr, th->dest, 390 &hdr->saddr, ntohs(th->source), 405 seq = ntohl(th->seq); 491 ipv6_icmp_error(sk, skb, err, th->dest, ntohl(info), (u8 *)th); 697 const struct tcphdr *th, int nbytes) 711 memcpy(_th, th, sizeof(*th)); 714 sg_init_one(&sg, bp, sizeof(*bp) + sizeof(*th)); 694 tcp_v6_md5_hash_headers(struct tcp_sigpool *hp, const struct in6_addr *daddr, const struct in6_addr *saddr, const struct tcphdr *th, int nbytes) argument 720 tcp_v6_md5_hash_hdr(char *md5_hash, const struct tcp_md5sig_key *key, const struct in6_addr *daddr, struct in6_addr *saddr, const struct tcphdr *th) argument 754 const struct tcphdr *th = tcp_hdr(skb); local 869 const struct tcphdr *th = tcp_hdr(skb); local 1011 const struct tcphdr *th = tcp_hdr(skb); local 1293 const struct tcphdr *th = tcp_hdr(skb); local 1301 tcp_v6_get_syncookie(struct sock *sk, struct ipv6hdr *iph, struct tcphdr *th, u32 *cookie) argument 1724 tcp_v6_fill_cb(struct sk_buff *skb, const struct ipv6hdr *hdr, const struct tcphdr *th) argument 1753 const struct tcphdr *th; local 2007 const struct tcphdr *th; local [all...] |
/linux-master/net/ipv4/ |
H A D | tcp_offload.c | 42 struct tcphdr *th = tcp_hdr(skb); local 48 th->check = 0; 61 struct tcphdr *th; local 71 th = tcp_hdr(skb); 72 thlen = th->doff * 4; 73 if (thlen < sizeof(*th)) 117 th = tcp_hdr(skb); 118 seq = ntohl(th->seq); 123 newcheck = ~csum_fold(csum_add(csum_unfold(th->check), delta)); 126 th 185 struct tcphdr *th; local 301 struct tcphdr *th = tcp_hdr(skb); local 336 struct tcphdr *th = tcp_hdr(skb); local [all...] |
/linux-master/include/trace/events/ |
H A D | tcp.h | 267 const struct tcphdr *th = (const struct tcphdr *)skb->data; 282 __entry->data_len = skb->len - __tcp_hdrlen(th); 307 const struct tcphdr *th = (const struct tcphdr *)skb->data; \ 311 v4->sin_port = th->source; \ 315 v4->sin_port = th->dest; \ 326 const struct tcphdr *th = (const struct tcphdr *)skb->data; \ 330 v6->sin6_port = th->source; \ 334 v6->sin6_port = th->dest; \
|
/linux-master/include/net/ |
H A D | tcp.h | 395 const struct tcphdr *th); 446 struct tcphdr *th, u32 *cookie); 448 struct tcphdr *th, u32 *cookie); 449 u16 tcp_parse_mss_option(const struct tcphdr *th, u16 user_mss); 452 struct sock *sk, struct tcphdr *th); 494 int __cookie_v4_check(const struct iphdr *iph, const struct tcphdr *th); 605 u32 __cookie_v4_init_sequence(const struct iphdr *iph, const struct tcphdr *th, 639 int __cookie_v6_check(const struct ipv6hdr *iph, const struct tcphdr *th); 643 const struct tcphdr *th, u16 *mssp); 915 #define tcp_flag_byte(th) (((u_int8_ 2748 tcp_parse_auth_options(const struct tcphdr *th, const u8 **md5_hash, const struct tcp_ao_hdr **aoh) argument 2805 const struct tcphdr *th = tcp_hdr(skb); local [all...] |
/linux-master/include/linux/ |
H A D | tcp.h | 29 static inline unsigned int __tcp_hdrlen(const struct tcphdr *th) argument 31 return th->doff * 4;
|
/linux-master/drivers/net/wireless/realtek/rtw89/ |
H A D | phy.c | 4561 u8 th; local 4564 th = rtw89_chip_get_thermal(rtwdev, i); 4565 if (th) 4566 ewma_thermal_add(&phystat->avg_thermal[i], th); 4569 "path(%d) thermal cur=%u avg=%ld", i, th, 5616 "Dynamic PD th disabled, Set PD_low_bd=0\n"); 6351 u8 th; local 6353 th = rtw89_phy_edcca_get_thre_by_rssi(rtwdev); 6354 if (th == edcca_bak->th_old) 6357 edcca_bak->th_old = th; [all...] |
/linux-master/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_io.c | 1271 struct tcphdr *th; local 1323 th = (struct tcphdr *)(skb->data + sizeof(struct ipv6hdr)); 1324 length = (th->doff << 2) + lro_length; 1328 th = (struct tcphdr *)(skb->data + (iph->ihl << 2)); 1329 length = (iph->ihl << 2) + (th->doff << 2) + lro_length; 1334 th->psh = push; 1335 th->seq = htonl(seq_number); 1792 struct tcphdr *th; local 1844 th = (struct tcphdr *)(skb->data + sizeof(struct ipv6hdr)); 1846 length = (th [all...] |
/linux-master/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_fp.c | 892 struct tcphdr *th; local 895 th = tcp_hdr(skb); 897 th->check = ~tcp_v4_check(skb->len - skb_transport_offset(skb), 906 struct tcphdr *th; local 909 th = tcp_hdr(skb); 911 th->check = ~tcp_v6_check(skb->len - skb_transport_offset(skb), 1682 /* map last frags into 4th, 5th .... */
|