Searched refs:th (Results 1 - 25 of 187) sorted by last modified time

12345678

/linux-master/net/core/
H A Ddev.c3697 const struct tcphdr *th; local
3700 th = skb_header_pointer(skb, hdr_len,
3702 if (likely(th))
3703 hdr_len += __tcp_hdrlen(th);
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c1530 struct tcphdr *th; local
1570 th = tcp_hdr(skb);
1571 th->check = ~tcp_v6_check(len, &iph->saddr, &iph->daddr, 0);
1577 th = tcp_hdr(skb);
1578 th->check = ~tcp_v4_check(len, iph->saddr, iph->daddr, 0);
1628 struct tcphdr *th; local
1643 th = tcp_hdr(skb);
1644 th->check = ~tcp_v4_check(len, iph->saddr, iph->daddr, 0);
1654 th = tcp_hdr(skb);
1655 th
[all...]
/linux-master/fs/smb/client/
H A Ddfs_cache.c624 char *th = NULL; local
631 th = kstrdup(target->name, GFP_ATOMIC);
632 if (!th)
639 rc = copy_ref_data(refs, numrefs, ce, th);
641 kfree(th);
/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 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...]
H A Dreiserfs.h1854 * | 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/net/ethernet/intel/i40e/
H A Di40e_txrx.c2908 struct tcphdr *th; local
2955 th = (struct tcphdr *)(hdr.network + hlen);
2958 if (th->syn && test_bit(__I40E_FD_ATR_AUTO_DISABLED, pf->state))
2964 if (th->fin || th->rst)
2971 if (!th->fin &&
2972 !th->syn &&
2973 !th->rst &&
2998 dtype_cmd |= (th->fin || th
[all...]
/linux-master/drivers/net/wireless/realtek/rtw89/
H A Drtw8922a.c2135 int th; local
2147 th = rtw89_read_rf(rtwdev, rf_path, RR_TM, RR_TM_VAL_V1);
2148 th += (s8)info->thermal_trim[rf_path];
2150 return clamp_t(int, th, 0, U8_MAX);
/linux-master/net/ipv6/
H A Dsyncookies.c93 const struct tcphdr *th, __u16 *mssp)
104 return secure_tcp_syn_cookie(&iph->saddr, &iph->daddr, th->source,
105 th->dest, ntohl(th->seq), mssind);
112 const struct tcphdr *th = tcp_hdr(skb); local
114 return __cookie_v6_init_sequence(iph, th, mssp);
117 int __cookie_v6_check(const struct ipv6hdr *iph, const struct tcphdr *th) argument
119 __u32 cookie = ntohl(th->ack_seq) - 1;
120 __u32 seq = ntohl(th->seq) - 1;
124 th
92 __cookie_v6_init_sequence(const struct ipv6hdr *iph, const struct tcphdr *th, __u16 *mssp) argument
170 const struct tcphdr *th = tcp_hdr(skb); local
[all...]
H A Desp6.c808 struct tcphdr *th; local
817 th = (void *)(skb->data + offset);
822 source = th->source;
/linux-master/net/ipv4/
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...]
H A Dsyncookies.c154 u32 __cookie_v4_init_sequence(const struct iphdr *iph, const struct tcphdr *th, argument
166 th->source, th->dest, ntohl(th->seq),
174 const struct tcphdr *th = tcp_hdr(skb); local
176 return __cookie_v4_init_sequence(iph, th, mssp);
183 int __cookie_v4_check(const struct iphdr *iph, const struct tcphdr *th) argument
185 __u32 cookie = ntohl(th->ack_seq) - 1;
186 __u32 seq = ntohl(th->seq) - 1;
190 th
269 const struct tcphdr *th = tcp_hdr(skb); local
401 const struct tcphdr *th = tcp_hdr(skb); local
[all...]
H A Desp4.c769 struct tcphdr *th = (void *)(skb_network_header(skb) + ihl); local
775 source = th->source;
/linux-master/drivers/s390/net/
H A Dctcm_mpc.c272 ctcm_pr_debug("th->seg : %02x\n", header->th_seg);
273 ctcm_pr_debug("th->ch : %02x\n", header->th_ch_flag);
274 ctcm_pr_debug("th->blk_flag: %02x\n", header->th_blk_flag);
275 ctcm_pr_debug("th->type : %s\n",
277 ctcm_pr_debug("th->seqnum : %04x\n", header->th_seq_num);
659 header->th.th_ch_flag = TH_SWEEP_RESP;
1172 mpcginfo->th = header;
H A Dctcm_main.c627 header->th.th_ch_flag = TH_SWEEP_REQ; /* 0x0f */
1362 * 9: write th
1364 * 11: read th from secondary
1370 * 9: read th
1372 * 11: write th
H A Dctcm_fsms.c1402 /* must have valid th header or game over */
1793 switch (header->th.th_ch_flag) {
/linux-master/drivers/soc/fsl/qbman/
H A Dqman_ccsr.c395 static void qm_set_pfdr_threshold(u32 th, u8 k) argument
397 qm_ccsr_out(REG_PFDR_FP_LWIT, th & 0xffffff);
401 static void qm_set_sfdr_threshold(u16 th) argument
403 qm_ccsr_out(REG_SFDR_CFG, th & 0x3ff);
/linux-master/tools/perf/util/
H A Dthreads.c67 struct thread *th, *res = NULL; local
69 th = table->last_match;
70 if (th != NULL) {
71 if (thread__tid(th) == tid)
72 res = thread__get(th);
78 struct thread *th)
81 table->last_match = thread__get(th);
85 struct thread *th)
88 __threads_table_entry__set_last_match(table, th);
77 __threads_table_entry__set_last_match(struct threads_table_entry *table, struct thread *th) argument
84 threads_table_entry__set_last_match(struct threads_table_entry *table, struct thread *th) argument
H A Dsort.c127 const struct thread *th = arg; local
132 return th && !RC_CHK_EQUAL(he->thread, th);
H A Dmachine.h172 void machine__remove_thread(struct machine *machine, struct thread *th);
H A Dmachine.c464 struct thread *th, pid_t pid)
468 if (pid == thread__pid(th) || pid == -1 || thread__pid(th) != -1)
471 thread__set_pid(th, pid);
473 if (thread__pid(th) == thread__tid(th))
476 leader = machine__findnew_thread(machine, thread__pid(th), thread__pid(th));
486 if (thread__maps(th) == thread__maps(leader))
489 if (thread__maps(th)) {
463 machine__update_thread_pid(struct machine *machine, struct thread *th, pid_t pid) argument
519 struct thread *th = threads__find(&machine->threads, tid); local
1905 machine__remove_thread(struct machine *machine, struct thread *th) argument
[all...]
/linux-master/security/smack/
H A Dsmack_lsm.c4036 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 Dhooks.c4303 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/kernel/sched/
H A Dfair.c1803 unsigned int now, start, th_period, unit_th, th; local
1816 th = pgdat->nbp_threshold ? : ref_th;
1818 th = max(th - unit_th, unit_th);
1820 th = min(th + unit_th, ref_th * 2);
1822 pgdat->nbp_threshold = th;
1847 unsigned int latency, th, def_th; local
1861 th = pgdat->nbp_threshold ? : def_th;
1863 if (latency >= th)
[all...]
/linux-master/drivers/thermal/st/
H A Dst_thermal.c109 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);

Completed in 477 milliseconds

12345678