Searched refs:th (Results 26 - 50 of 187) sorted by relevance

12345678

/linux-master/fs/reiserfs/
H A Dobjectid.c49 __u32 reiserfs_get_unused_objectid(struct reiserfs_transaction_handle *th) argument
51 struct super_block *s = th->t_super;
56 BUG_ON(!th->t_trans_id);
92 journal_mark_dirty(th, SB_BUFFER_WITH_SB(s));
97 void reiserfs_release_objectid(struct reiserfs_transaction_handle *th, argument
100 struct super_block *s = th->t_super;
105 BUG_ON(!th->t_trans_id);
110 journal_mark_dirty(th, SB_BUFFER_WITH_SB(s));
H A Dbitmap.c143 static int scan_bitmap_block(struct reiserfs_transaction_handle *th, argument
147 struct super_block *s = th->t_super;
153 BUG_ON(!th->t_trans_id);
258 journal_mark_dirty(th, bh);
265 journal_mark_dirty(th, SB_BUFFER_WITH_SB(s));
347 static int scan_bitmap(struct reiserfs_transaction_handle *th, argument
352 struct super_block *s = th->t_super;
357 BUG_ON(!th->t_trans_id);
391 scan_bitmap_block(th, bm, &off, off_max,
402 scan_bitmap_block(th, b
416 _reiserfs_free_block(struct reiserfs_transaction_handle *th, struct inode *inode, b_blocknr_t block, int for_unformatted) argument
467 reiserfs_free_block(struct reiserfs_transaction_handle *th, struct inode *inode, b_blocknr_t block, int for_unformatted) argument
491 reiserfs_free_prealloc_block(struct reiserfs_transaction_handle *th, struct inode *inode, b_blocknr_t block) argument
502 __discard_prealloc(struct reiserfs_transaction_handle *th, struct reiserfs_inode_info *ei) argument
536 reiserfs_discard_prealloc(struct reiserfs_transaction_handle *th, struct inode *inode) argument
546 reiserfs_discard_all_prealloc(struct reiserfs_transaction_handle *th) argument
[all...]
H A Dfile.c35 struct reiserfs_transaction_handle th; local
60 err = journal_begin(&th, inode->i_sb, 1);
68 err = journal_join_abort(&th, inode->i_sb);
91 reiserfs_discard_prealloc(&th, inode);
93 err = journal_end(&th);
182 struct reiserfs_transaction_handle th; local
185 th.t_trans_id = 0;
190 ret = journal_begin(&th, s, bh_per_page + 1);
209 journal_mark_dirty(&th, bh);
224 ret = journal_end(&th);
[all...]
H A Dstree.c528 * 'level'-th level
1034 static char prepare_for_delete_or_cut(struct reiserfs_transaction_handle *th, argument
1053 BUG_ON(!th->t_trans_id);
1112 reiserfs_transaction_free_space(th) < JOURNAL_FOR_FREE_BLOCK_AND_UPDATE_SD)
1121 journal_mark_dirty(th, bh);
1122 reiserfs_free_block(th, inode, block, 1);
1190 static void init_tb_struct(struct reiserfs_transaction_handle *th, argument
1196 BUG_ON(!th->t_trans_id);
1199 tb->transaction_handle = th;
1245 * th
1251 reiserfs_delete_item(struct reiserfs_transaction_handle *th, struct treepath *path, const struct cpu_key *item_key, struct inode *inode, struct buffer_head *un_bh) argument
1402 reiserfs_delete_solid_item(struct reiserfs_transaction_handle *th, struct inode *inode, struct reiserfs_key *key) argument
1492 reiserfs_delete_object(struct reiserfs_transaction_handle *th, struct inode *inode) argument
1555 maybe_indirect_to_direct(struct reiserfs_transaction_handle *th, struct inode *inode, struct page *page, struct treepath *path, const struct cpu_key *item_key, loff_t new_file_size, char *mode) argument
1595 indirect_to_direct_roll_back(struct reiserfs_transaction_handle *th, struct inode *inode, struct treepath *path) argument
1637 reiserfs_cut_from_item(struct reiserfs_transaction_handle *th, struct treepath *path, struct cpu_key *item_key, struct inode *inode, struct page *page, loff_t new_file_size) argument
1858 truncate_directory(struct reiserfs_transaction_handle *th, struct inode *inode) argument
1877 reiserfs_do_truncate(struct reiserfs_transaction_handle *th, struct inode *inode, struct page *page, int update_timestamps ) argument
2081 reiserfs_paste_into_item(struct reiserfs_transaction_handle *th, struct treepath *search_path, const struct cpu_key *key, struct inode *inode, const char *body, int pasted_size) argument
2184 reiserfs_insert_item(struct reiserfs_transaction_handle *th, struct treepath *path, const struct cpu_key *key, struct item_head *ih, struct inode *inode, const char *body) argument
[all...]
H A Dtail_conversion.c25 int direct2indirect(struct reiserfs_transaction_handle *th, struct inode *inode, argument
48 BUG_ON(!th->t_trans_id);
84 reiserfs_insert_item(th, path, &end_key, &ind_ih, inode,
88 retval = reiserfs_paste_into_item(th, path, &end_key, inode,
139 retval = reiserfs_delete_item(th, path, &end_key, inode,
202 int indirect2direct(struct reiserfs_transaction_handle *th, argument
219 BUG_ON(!th->t_trans_id);
283 if (reiserfs_insert_item(th, path, &key, &s_ih, inode,
299 reiserfs_update_sd(th, inode);
H A Dresize.c27 struct reiserfs_transaction_handle th; local
178 err = journal_begin(&th, s, 10);
186 int jerr = journal_end(&th);
197 journal_mark_dirty(&th, bh);
204 int jerr = journal_end(&th);
213 journal_mark_dirty(&th, bh);
226 journal_mark_dirty(&th, SB_BUFFER_WITH_SB(s));
229 return journal_end(&th);
H A Dacl.h55 int reiserfs_inherit_default_acl(struct reiserfs_transaction_handle *th,
72 reiserfs_inherit_default_acl(struct reiserfs_transaction_handle *th, argument
/linux-master/include/net/
H A Dip6_checksum.h58 struct tcphdr *th = tcp_hdr(skb); local
60 th->check = ~tcp_v6_check(skb->len, saddr, daddr, 0);
68 struct tcphdr *th = tcp_hdr(skb); local
71 th->check = ~tcp_v6_check(0, &ipv6h->saddr, &ipv6h->daddr, 0);
H A Dtcp_ao.h153 const struct tcphdr *th = tcp_hdr(skb); \
159 if (th->fin) \
161 if (th->syn) \
163 if (th->rst) \
165 if (th->psh) \
167 if (th->ack) \
172 msg, &ip_hdr(skb)->saddr, ntohs(th->source), \
173 &ip_hdr(skb)->daddr, ntohs(th->dest), \
177 msg, &ipv6_hdr(skb)->saddr, ntohs(th->source), \
178 &ipv6_hdr(skb)->daddr, ntohs(th
297 tcp_ao_transmit_skb(struct sock *sk, struct sk_buff *skb, struct tcp_ao_key *key, struct tcphdr *th, __u8 *hash_location) argument
378 tcp_do_parse_auth_options(const struct tcphdr *th, const u8 **md5_hash, const u8 **ao_hash) argument
[all...]
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_misc_tcp_hdr_options.c36 struct tcphdr th; member in union:__anon5163
119 if (hdr.th.dest != passive_lport_n || hdr.th.source != active_lport_n)
132 struct tcphdr *th; local
137 th = skops->skb_data;
138 if (th + 1 > skops->skb_data_end)
141 if (tcp_hdrlen(th) < skops->skb_len)
144 if (th->fin)
147 if (th->ack && !th
175 struct tcphdr *th; local
[all...]
H A Dverifier_netfilter_ctx.c96 const struct tcphdr *th; local
114 th = bpf_dynptr_slice(&ptr, ihl, buffer_th, sizeof(buffer_th));
115 if (!th)
118 return th->dest == bpf_htons(22) ? NF_ACCEPT : NF_DROP;
H A Dtest_select_reuseport_kern.c106 struct tcphdr *th = data; local
108 if (th + 1 > data_end)
111 data_check.skb_ports[0] = th->source;
112 data_check.skb_ports[1] = th->dest;
114 if (th->fin)
120 if ((th->doff << 2) + sizeof(*cmd) > data_check.len)
122 if (bpf_skb_load_bytes(reuse_md, th->doff << 2, &cmd_copy,
H A Dtest_assign_reuse.c81 maybe_assign_tcp(struct __sk_buff *skb, struct tcphdr *th) argument
83 if (th + 1 > (void *)(long)(skb->data_end))
86 if (!th->syn || th->ack || th->dest != bpf_htons(dest_port))
89 __builtin_memcpy(&headers.tcp, th, sizeof(headers.tcp));
/linux-master/tools/perf/tests/shell/coresight/thread_loop/
H A Dthread_loop.c21 pthread_t th; member in struct:args
80 args[i].th = new_thr(thrfn, &(args[i]));
83 pthread_join(args[i].th, &(args[i].ret));
/linux-master/net/ipv4/
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...]
/linux-master/net/netfilter/ipset/
H A Dip_set_getport.c31 const struct tcphdr *th; local
33 th = skb_header_pointer(skb, protooff, sizeof(_tcph), &_tcph);
34 if (!th)
38 *port = src ? th->source : th->dest;
/linux-master/net/netfilter/ipvs/
H A Dip_vs_app.c286 * Fixes th->seq based on ip_vs_seq info.
288 static inline void vs_fix_seq(const struct ip_vs_seq *vseq, struct tcphdr *th) argument
290 __u32 seq = ntohl(th->seq);
299 th->seq = htonl(seq + vseq->delta);
303 th->seq = htonl(seq + vseq->previous_delta);
312 * Fixes th->ack_seq based on ip_vs_seq info.
315 vs_fix_ack_seq(const struct ip_vs_seq *vseq, struct tcphdr *th) argument
317 __u32 ack_seq = ntohl(th->ack_seq);
328 th->ack_seq = htonl(ack_seq - vseq->delta);
333 th
366 struct tcphdr *th; local
443 struct tcphdr *th; local
[all...]
/linux-master/net/netfilter/
H A Dxt_ecn.c31 const struct tcphdr *th; local
36 th = skb_header_pointer(skb, par->thoff, sizeof(_tcph), &_tcph);
37 if (th == NULL)
42 if (th->ece == 1)
45 if (th->ece == 0)
52 if (th->cwr == 1)
55 if (th->cwr == 0)
/linux-master/drivers/net/slip/
H A Dslhc.c239 struct tcphdr *th, *oth; local
264 if (isize < nlen + sizeof(*th))
267 th = (struct tcphdr *)(icp + nlen);
268 if (th->doff < sizeof(struct tcphdr) / 4)
270 hlen = nlen + th->doff * 4;
276 if(hlen > isize || th->syn || th->fin || th->rst ||
277 ! (th->ack)){
299 && th
[all...]
/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...]
/linux-master/tools/perf/tests/shell/coresight/unroll_loop_thread/
H A Dunroll_loop_thread.c10 pthread_t th; member in struct:args
68 args[i].th = new_thr(thrfn, &(args[i]));
71 pthread_join(args[i].th, &(args[i].ret));
/linux-master/tools/perf/tests/shell/coresight/memcpy_thread/
H A Dmemcpy_thread.c12 pthread_t th; member in struct:args
73 args[i].th = new_thr(thrfn, &(args[i]));
76 pthread_join(args[i].th, &(args[i].ret));
/linux-master/net/mptcp/
H A Dsyncookies.c41 struct tcphdr *th = tcp_hdr(skb); local
47 if (th->syn)
53 (__force __u32)th->source << 16 | (__force __u32)th->dest,
/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
/linux-master/crypto/
H A Dvmac.c151 int i; u64 th, tl; \
154 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i], \
156 ADD128(rh, rl, th, tl); \
162 int i; u64 th, tl; \
165 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i], \
167 ADD128(rh, rl, th, tl); \
168 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i+2], \
170 ADD128(rh1, rl1, th, tl); \
177 int i; u64 th, tl; \
180 MUL64(th, t
[all...]

Completed in 201 milliseconds

12345678