Searched refs:th (Results 101 - 125 of 187) sorted by relevance

12345678

/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_xdp_dynptr.c52 struct tcphdr *th; local
57 th = (struct tcphdr *)trans_data;
58 return th->dest;
/linux-master/net/netfilter/ipvs/
H A Dip_vs_ftp.c68 struct tcphdr *th = (struct tcphdr *)((char *)skb->data + ipvsh->len); local
70 if ((th->doff << 2) < sizeof(struct tcphdr))
73 return (char *)th + (th->doff << 2);
/linux-master/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_tx.c102 static __be16 tcp_hdr_doff_flags(const struct tcphdr *th) argument
104 return *(__be16 *)&tcp_flag_word(th);
159 const struct tcphdr *th; local
210 th = inner_tcp_hdr(skb);
211 l4_hlen = __tcp_hdrlen(th);
214 tcp_hdr_doff_flags(th), 0,
246 th = tcp_hdr(skb);
247 l4_hlen = __tcp_hdrlen(th);
250 tcp_hdr_doff_flags(th), 0,
/linux-master/drivers/hwtracing/intel_th/
H A Dintel_th.h96 * intel_th_device_get_resource() - obtain @num'th resource of type @type
232 void intel_th_free(struct intel_th *th);
242 int intel_th_output_enable(struct intel_th *th, unsigned int otype);
/linux-master/drivers/ata/
H A Dpata_mpc52xx.c85 u8 th; member in struct:mdmaspec
93 { .t0M = 32, .td = 15, .th = 2, .tj = 2, .tkw = 15, .tm = 4, .tn = 1 },
94 { .t0M = 10, .td = 6, .th = 1, .tj = 1, .tkw = 4, .tm = 2, .tn = 1 },
95 { .t0M = 8, .td = 5, .th = 1, .tj = 1, .tkw = 2, .tm = 2, .tn = 1 },
99 { .t0M = 64, .td = 29, .th = 3, .tj = 3, .tkw = 29, .tm = 7, .tn = 2 },
100 { .t0M = 20, .td = 11, .th = 2, .tj = 1, .tkw = 7, .tm = 4, .tn = 1 },
101 { .t0M = 16, .td = 10, .th = 2, .tj = 1, .tkw = 4, .tm = 4, .tn = 1 },
305 t->mdma2 = ((u32)s->th << 24) | ((u32)s->tj << 16) | ((u32)s->tn << 8);
/linux-master/fs/reiserfs/
H A Dxattr.c302 struct reiserfs_transaction_handle th; local
305 err = journal_begin(&th, inode->i_sb, blocks);
314 jerror = journal_end(&th);
514 reiserfs_xattr_set_handle(struct reiserfs_transaction_handle *th, argument
617 struct reiserfs_transaction_handle th; local
629 error = journal_begin(&th, inode->i_sb, jbegin_count);
635 error = reiserfs_xattr_set_handle(&th, inode, name,
639 error2 = journal_end(&th);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dktls_rx.c490 struct tcphdr *th; local
499 th = (void *)iph + sizeof(struct iphdr);
502 iph->saddr, th->source, iph->daddr,
503 th->dest, netdev->ifindex);
509 th = (void *)ipv6h + sizeof(struct ipv6hdr);
512 &ipv6h->saddr, th->source,
513 &ipv6h->daddr, ntohs(th->dest),
529 seq = th->seq;
/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);
/linux-master/tools/perf/util/
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/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
H A Dchcr_ktls.c1895 struct tcphdr *th; local
1902 th = tcp_hdr(nskb);
1910 tx_info->prev_seq = ntohl(th->seq) + data_len;
1924 struct tcphdr *th = tcp_hdr(skb); local
1934 tcp_seq = ntohl(th->seq);
1964 if (!th->fin && chcr_ktls_check_tcp_options(th)) {
2008 ntohl(th->ack_seq),
2009 ntohs(th->window),
2018 if (th
[all...]
/linux-master/drivers/acpi/
H A Dsysfs.c445 static int acpi_bert_data_init(void *th, struct acpi_data_attr *data_attr) argument
447 struct acpi_table_bert *bert = th;
461 static int acpi_ccel_data_init(void *th, struct acpi_data_attr *data_attr) argument
463 struct acpi_table_ccel *ccel = th;
487 static int acpi_table_data_init(struct acpi_table_header *th) argument
493 if (ACPI_COMPARE_NAMESEG(th->signature, acpi_data_objs[i].name)) {
500 return acpi_data_objs[i].fn(th, data_attr);
/linux-master/tools/perf/bench/
H A Dinject-buildid.c43 pthread_t th; member in struct:bench_data
334 pthread_create(&data->th, NULL, data_reader, data);
430 pthread_join(data->th, NULL);
/linux-master/net/tls/
H A Dtls_device_fallback.c175 struct tcphdr *th = tcp_hdr(skb); local
192 th->check = ~csum_ipv6_magic(&ipv6h->saddr, &ipv6h->daddr,
196 th->check = ~csum_tcpudp_magic(iph->saddr, iph->daddr, datalen,
/linux-master/include/soc/fsl/
H A Dqman.h578 static inline u64 qm_cgr_cs_thres_get64(const struct qm_cgr_cs_thres *th) argument
580 int thres = be16_to_cpu(th->word);
585 static inline int qm_cgr_cs_thres_set64(struct qm_cgr_cs_thres *th, u64 val, argument
598 th->word = cpu_to_be16(((val & 0xff) << 5) | (e & 0x1f));
/linux-master/net/ipv4/netfilter/
H A Dnf_nat_h323.c33 const struct tcphdr *th; local
49 th = skb_header_pointer(skb, ip_hdrlen(skb),
51 if (th == NULL)
53 *data = skb->data + ip_hdrlen(skb) + th->doff * 4 + dataoff;
/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/drivers/parport/
H A Ddaisy.c109 static const char *th[] = { /*0*/"th", "st", "nd", "rd", "th" }; local
156 extra->name, i + 1, th[i + 1], num_ports,
/linux-master/net/netfilter/
H A Dnf_nat_sip.c42 struct tcphdr *th; local
46 th = (struct tcphdr *)(skb->data + protoff);
47 baseoff = protoff + th->doff * 4;
308 const struct tcphdr *th; local
313 th = (struct tcphdr *)(skb->data + protoff);
314 nf_ct_seqadj_set(ct, ctinfo, th->seq, off);
/linux-master/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_formats.c54 alpha, bp, flg, fm, np, th) \
69 .tile_height = th \
111 flg, fm, np, th) \
126 .tile_height = th \
148 flg, fm, np, th) \
163 .tile_height = th \
/linux-master/include/net/
H A Dtcp.h395 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/net/openvswitch/
H A Dactions.c726 struct tcphdr *th; local
735 th = tcp_hdr(skb);
736 src = OVS_MASKED(th->source, key->tcp_src, mask->tcp_src);
737 if (likely(src != th->source)) {
738 set_tp_port(skb, &th->source, src, &th->check);
741 dst = OVS_MASKED(th->dest, key->tcp_dst, mask->tcp_dst);
742 if (likely(dst != th->dest)) {
743 set_tp_port(skb, &th->dest, dst, &th
[all...]
/linux-master/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_io.c1271 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/usb/storage/
H A Dusb.c764 struct task_struct *th; local
781 th = kthread_run(usb_stor_control_thread, us, "usb-storage");
782 if (IS_ERR(th)) {
785 return PTR_ERR(th);
787 us->ctl_thread = th;
/linux-master/drivers/thermal/samsung/
H A Dexynos_tmu.c355 u32 th; local
361 th = readl(data->base + reg_off);
362 th &= ~(tmu_temp_mask << bit_off);
363 th |= temp_to_code(data, temp) << bit_off;
364 writel(th, data->base + reg_off);
/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);

Completed in 374 milliseconds

12345678