Searched refs:th (Results 51 - 75 of 187) sorted by relevance

12345678

/linux-master/include/linux/
H A Dnetfilter_ipv6.h52 const struct tcphdr *th, u16 *mssp);
54 const struct tcphdr *th);
165 const struct tcphdr *th,
173 return v6_ops->cookie_init_sequence(iph, th, mssp);
175 return __cookie_v6_init_sequence(iph, th, mssp);
182 const struct tcphdr *th)
189 return v6_ops->cookie_v6_check(iph, th);
191 return __cookie_v6_check(iph, th);
164 nf_ipv6_cookie_init_sequence(const struct ipv6hdr *iph, const struct tcphdr *th, u16 *mssp) argument
181 nf_cookie_v6_check(const struct ipv6hdr *iph, const struct tcphdr *th) argument
/linux-master/fs/reiserfs/
H A Djournal.c91 static int journal_join(struct reiserfs_transaction_handle *th,
108 static int do_journal_begin_r(struct reiserfs_transaction_handle *th,
1903 static int do_journal_release(struct reiserfs_transaction_handle *th, argument
1915 BUG_ON(!th->t_trans_id);
1916 do_journal_end(th, FLUSH_ALL);
1967 int journal_release(struct reiserfs_transaction_handle *th, argument
1970 return do_journal_release(th, sb, 0);
1974 int journal_release_error(struct reiserfs_transaction_handle *th, argument
1977 return do_journal_release(th, sb, 1);
2918 int journal_transaction_should_end(struct reiserfs_transaction_handle *th, argument
2941 reiserfs_block_writes(struct reiserfs_transaction_handle *th) argument
3027 do_journal_begin_r(struct reiserfs_transaction_handle *th, struct super_block *sb, unsigned long nblocks, int join) argument
3153 struct reiserfs_transaction_handle *th; local
3179 reiserfs_end_persistent_transaction(struct reiserfs_transaction_handle *th) argument
3194 journal_join(struct reiserfs_transaction_handle *th, struct super_block *sb) argument
3208 journal_join_abort(struct reiserfs_transaction_handle *th, struct super_block *sb) argument
3222 journal_begin(struct reiserfs_transaction_handle *th, struct super_block *sb, unsigned long nblocks) argument
3279 journal_mark_dirty(struct reiserfs_transaction_handle *th, struct buffer_head *bh) argument
3386 journal_end(struct reiserfs_transaction_handle *th) argument
3523 journal_end_sync(struct reiserfs_transaction_handle *th) argument
3565 struct reiserfs_transaction_handle th; local
3615 check_journal_end(struct reiserfs_transaction_handle *th, int flags) argument
3740 journal_mark_freed(struct reiserfs_transaction_handle *th, struct super_block *sb, b_blocknr_t blocknr) argument
3845 struct reiserfs_transaction_handle th; local
3984 do_journal_end(struct reiserfs_transaction_handle *th, int flags) argument
[all...]
H A Dxattr_acl.c15 static int __reiserfs_set_acl(struct reiserfs_transaction_handle *th,
25 struct reiserfs_transaction_handle th; local
41 error = journal_begin(&th, inode->i_sb, jcreate_blocks);
51 error = __reiserfs_set_acl(&th, inode, type, acl);
56 error2 = journal_end(&th);
250 __reiserfs_set_acl(struct reiserfs_transaction_handle *th, struct inode *inode, argument
277 error = reiserfs_xattr_set_handle(th, inode, name, value, size, 0);
306 reiserfs_inherit_default_acl(struct reiserfs_transaction_handle *th, argument
337 err = __reiserfs_set_acl(th, inode, ACL_TYPE_DEFAULT,
343 err = __reiserfs_set_acl(th, inod
[all...]
H A Dsuper.c69 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...]
/linux-master/security/apparmor/
H A Dmatch.c36 struct table_header th; local
45 th.td_id = be16_to_cpu(*(__be16 *) (blob)) - 1;
46 if (th.td_id > YYTD_ID_MAX)
48 th.td_flags = be16_to_cpu(*(__be16 *) (blob + 2));
49 th.td_lolen = be32_to_cpu(*(__be32 *) (blob + 8));
52 if (!(th.td_flags == YYTD_DATA16 || th.td_flags == YYTD_DATA32 ||
53 th.td_flags == YYTD_DATA8))
57 if (th.td_lolen == 0)
59 tsize = table_size(th
[all...]
/linux-master/tools/thermal/thermal-engine/
H A Dthermal-engine.c38 struct thermal_handler *th; member in struct:thermal_data
220 return thermal_events_handle(td->th, td);
309 td.th = thermal_init(&ops);
310 if (!td.th) {
315 td.tz = thermal_zone_discover(td.th);
321 for_each_thermal_zone(td.tz, show_tz, td.th);
328 if (mainloop_add(thermal_events_fd(td.th), thermal_event, &td)) {
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_tcp_hdr_options.c377 struct tcphdr *th; local
388 th = skops->skb_data;
389 if (th + 1 > skops->skb_data_end)
392 if (skops->skb_len > tcp_hdrlen(th))
468 struct tcphdr *th; local
489 th = skops->skb_data;
490 if (th + 1 > skops->skb_data_end)
493 if (th->syn) {
534 struct tcphdr *th; local
539 th
[all...]
/linux-master/tools/testing/selftests/timens/
H A Dvfork_exec.c50 pthread_t th; local
53 if (pthread_create(&th, NULL, tcheck, &args))
55 if (pthread_join(th, &retval))
/linux-master/net/ipv4/
H A Dtcp_ipv4.c89 __be32 daddr, __be32 saddr, const struct tcphdr *th);
479 struct tcphdr *th = (struct tcphdr *)(skb->data + (iph->ihl << 2)); local
490 iph->daddr, th->dest, iph->saddr,
491 ntohs(th->source), inet_iif(skb), 0);
502 seq = ntohl(th->seq);
605 ip_icmp_error(sk, skb, err, th->dest, info, (u8 *)th);
651 struct tcphdr *th = tcp_hdr(skb); local
653 th->check = ~tcp_v4_check(skb->len, saddr, daddr, 0);
728 const struct tcphdr *th local
730 struct tcphdr th; member in struct:__anon2961
924 const struct tcphdr *th = tcp_hdr(skb); local
926 struct tcphdr th; member in struct:__anon2962
1556 tcp_v4_md5_hash_headers(struct tcp_sigpool *hp, __be32 daddr, __be32 saddr, const struct tcphdr *th, int nbytes) argument
1581 tcp_v4_md5_hash_hdr(char *md5_hash, const struct tcp_md5sig_key *key, __be32 daddr, __be32 saddr, const struct tcphdr *th) argument
1613 const struct tcphdr *th = tcp_hdr(skb); local
1852 const struct tcphdr *th = tcp_hdr(skb); local
1860 tcp_v4_get_syncookie(struct sock *sk, struct iphdr *iph, struct tcphdr *th, u32 *cookie) argument
1960 const struct tcphdr *th; local
2000 const struct tcphdr *th; local
2124 struct tcphdr *th = (struct tcphdr *)skb->data; local
2136 tcp_v4_fill_cb(struct sk_buff *skb, const struct iphdr *iph, const struct tcphdr *th) argument
2169 const struct tcphdr *th; local
[all...]
H A Dtcp_ao.c400 const struct tcphdr *th = tcp_hdr(skb); local
403 th->source, th->dest, sisn, disn);
443 const struct tcphdr *th = tcp_hdr(skb); local
446 if (!th->check) {
508 const struct tcphdr *th,
518 len = sizeof(*th) + sizeof(struct tcp_ao_hdr) + hash_len;
519 memcpy(hdr, th, sizeof(*th));
520 memcpy(hdr + sizeof(*th),
507 tcp_ao_hash_header(struct tcp_sigpool *hp, const struct tcphdr *th, bool exclude_options, u8 *hash, int hash_offset, int hash_len) argument
541 tcp_ao_hash_hdr(unsigned short int family, char *ao_hash, struct tcp_ao_key *key, const u8 *tkey, const union tcp_ao_addr *daddr, const union tcp_ao_addr *saddr, const struct tcphdr *th, u32 sne) argument
607 const struct tcphdr *th = tcp_hdr(skb); local
710 const struct tcphdr *th = tcp_hdr(skb); local
790 tcp_ao_transmit_skb(struct sock *sk, struct sk_buff *skb, struct tcp_ao_key *key, struct tcphdr *th, __u8 *hash_location) argument
850 const struct tcphdr *th = tcp_hdr(skb); local
888 const struct tcphdr *th = tcp_hdr(skb); local
929 const struct tcphdr *th = tcp_hdr(skb); local
[all...]
H A Dtcp_minisocks.c98 const struct tcphdr *th)
105 if (th->doff > (sizeof(*th) >> 2) && tcptw->tw_ts_recent_stamp) {
113 paws_reject = tcp_paws_reject(&tmp_opt, th->rst);
128 if (th->rst)
131 if (th->syn && !before(TCP_SKB_CB(skb)->seq, tcptw->tw_rcv_nxt))
135 if (!th->ack ||
145 if (!th->fin ||
181 (TCP_SKB_CB(skb)->seq == TCP_SKB_CB(skb)->end_seq || th->rst))) {
184 if (th
97 tcp_timewait_state_process(struct inet_timewait_sock *tw, struct sk_buff *skb, const struct tcphdr *th) argument
652 const struct tcphdr *th = tcp_hdr(skb); local
[all...]
/linux-master/net/ipv6/
H A Dtcp_ipv6.c378 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/tools/lib/thermal/
H A Dthermal_nl.h25 struct thermal_handler *th; member in struct:thermal_handler_param
/linux-master/net/netfilter/
H A Dnf_conntrack_sane.c64 const struct tcphdr *th; local
83 th = skb_header_pointer(skb, protoff, sizeof(_tcph), &_tcph);
84 if (th == NULL)
88 dataoff = protoff + th->doff * 4;
H A Dxt_tcpudp.c71 const struct tcphdr *th; local
90 th = skb_header_pointer(skb, par->thoff, sizeof(_tcph), &_tcph);
91 if (th == NULL) {
100 ntohs(th->source),
104 ntohs(th->dest),
108 (((unsigned char *)th)[13] & tcpinfo->flg_mask) == tcpinfo->flg_cmp))
111 if (th->doff * 4 < sizeof(_tcph)) {
116 th->doff*4 - sizeof(_tcph),
H A Dnf_conntrack_irc.c112 const struct tcphdr *th; local
136 th = skb_header_pointer(skb, protoff, sizeof(_tcph), &_tcph);
137 if (th == NULL)
141 dataoff = protoff + th->doff*4;
194 &iph->saddr, ntohs(th->source),
195 &iph->daddr, ntohs(th->dest));
H A Dnf_log_syslog.c190 const struct tcphdr *th; local
199 th = skb_header_pointer(skb, offset, sizeof(_tcph), &_tcph);
200 if (!th) {
207 ntohs(th->source), ntohs(th->dest));
211 ntohl(th->seq), ntohl(th->ack_seq));
215 nf_log_buf_add(m, "WINDOW=%u ", ntohs(th->window));
217 nf_log_buf_add(m, "RES=0x%02x ", (u_int8_t)(ntohl(tcp_flag_word(th) &
220 if (th
[all...]
/linux-master/arch/alpha/lib/
H A Dstrlen.S30 cmpbge $31, $1, $2 # $2 <- bitmask: bit i == 1 <==> i-th byte == 0
H A Dev67-strlen.S35 cmpbge $31, $1, $2 # E : $2 <- bitmask: bit i == 1 <==> i-th byte == 0
/linux-master/tools/testing/selftests/net/
H A Dcsum.c169 static uint16_t checksum(void *th, uint16_t proto, size_t len) argument
184 return checksum_fold(th, len, sum);
258 struct tcphdr *th = _th; local
260 th->source = htons(cfg_port_src);
261 th->dest = htons(cfg_port_dst);
262 th->doff = 5;
263 th->check = 0;
265 th->check = checksum(th, IPPROTO_TCP, sizeof(*th)
590 recv_verify_csum(void *th, int len, uint16_t sport, uint16_t csum_field) argument
616 recv_verify_packet_tcp(void *th, int len) argument
626 recv_verify_packet_udp_encap(void *th, int len) argument
636 recv_verify_packet_udp(void *th, int len) argument
[all...]
/linux-master/drivers/acpi/
H A Dprmt.c97 struct prm_handler_info *th; local
148 th = &tm->handlers[cur_handler];
150 guid_copy(&th->guid, (guid_t *)handler_info->handler_guid);
151 th->handler_addr = (void *)efi_pa_va_lookup(handler_info->handler_address);
152 th->static_data_buffer_addr = efi_pa_va_lookup(handler_info->static_data_buffer_address);
153 th->acpi_param_buffer_addr = efi_pa_va_lookup(handler_info->acpi_param_buffer_address);
/linux-master/net/netfilter/ipvs/
H A Dip_vs_proto_tcp.c41 struct tcphdr _tcph, *th; local
49 th = skb_header_pointer(skb, iph->len, sizeof(_tcph), &_tcph);
50 if (th) {
51 if (th->rst || !(sysctl_sloppy_tcp(ipvs) || th->syn))
53 ports = &th->source;
65 /* No !th->ack check to allow scheduling on SYN+ACK for Active FTP */
498 static inline int tcp_state_idx(struct tcphdr *th) argument
500 if (th->rst)
502 if (th
512 set_tcp_state(struct ip_vs_proto_data *pd, struct ip_vs_conn *cp, int direction, struct tcphdr *th) argument
592 struct tcphdr _tcph, *th; local
[all...]
/linux-master/drivers/thermal/st/
H A Dstm_thermal.c271 int temp, u32 *th)
280 *th = clk_get_rate(sensor->clk) * SAMPLING_TIME / freqM;
281 if (!*th)
284 dev_dbg(sensor->dev, "freqM=%d Hz, threshold=0x%x", freqM, *th);
305 u32 itr1, th; local
322 ret = stm_thermal_calculate_threshold(sensor, low - 500, &th);
326 itr1 |= (TS1_HITTHD_MASK & (th << TS1_HITTHD_POS));
334 ret = stm_thermal_calculate_threshold(sensor, high, &th);
338 itr1 |= (TS1_LITTHD_MASK & (th << TS1_LITTHD_POS));
270 stm_thermal_calculate_threshold(struct stm_thermal_sensor *sensor, int temp, u32 *th) argument
/linux-master/arch/x86/realmode/
H A Dinit.c70 static void __init sme_sev_setup_real_mode(struct trampoline_header *th) argument
74 th->flags |= TH_FLAGS_SME_ACTIVE;
81 th->start = (u64) secondary_startup_64_no_verify;
/linux-master/tools/perf/util/
H A Dsideband_evlist.c131 if (pthread_create(&evlist->thread.th, NULL, perf_evlist__poll_thread, evlist))
147 pthread_join(evlist->thread.th, NULL);

Completed in 323 milliseconds

12345678