| /linux/net/ipv6/ |
| H A D | tcpv6_offload.c | 18 struct tcphdr *th) in tcp6_check_fraglist_gro() 48 struct tcphdr *th; in tcp6_gro_receive() local 74 struct tcphdr *th = tcp_hdr(skb); in tcp6_gro_complete() local 98 struct tcphdr *th = tcp_hdr(seg); in __tcpv6_gso_segment_csum() local 117 const struct tcphdr *th; in __tcpv6_gso_segment_list_csum() local 160 struct tcphdr *th; in tcp6_gso_segment() local 169 struct tcphdr *th = tcp_hdr(skb); in tcp6_gso_segment() local 180 struct tcphdr *th = tcp_hdr(skb); in tcp6_gso_segment() local
|
| H A D | syncookies.c | 94 const struct tcphdr *th, __u16 *mssp) in __cookie_v6_init_sequence() 113 const struct tcphdr *th = tcp_hdr(skb); in cookie_v6_init_sequence() local 118 int __cookie_v6_check(const struct ipv6hdr *iph, const struct tcphdr *th) in __cookie_v6_check() 176 const struct tcphdr *th = tcp_hdr(skb); in cookie_v6_check() local
|
| H A D | tcp_ipv6.c | 382 const struct tcphdr *th = (struct tcphdr *)(skb->data+offset); tcp_v6_err() local 697 tcp_v6_md5_hash_headers(struct md5_ctx * ctx,const struct in6_addr * daddr,const struct in6_addr * saddr,const struct tcphdr * th,int nbytes) tcp_v6_md5_hash_headers() argument 716 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) tcp_v6_md5_hash_hdr() argument 730 const struct tcphdr *th = tcp_hdr(skb); tcp_v6_md5_hash_skb() local 830 const struct tcphdr *th = tcp_hdr(skb); tcp_v6_send_response() local 974 const struct tcphdr *th = tcp_hdr(skb); tcp_v6_send_reset() local 1259 const struct tcphdr *th = tcp_hdr(skb); global() local 1268 tcp_v6_get_syncookie(struct sock * sk,struct ipv6hdr * iph,struct tcphdr * th,u32 * cookie) global() argument 1673 tcp_v6_fill_cb(struct sk_buff * skb,const struct ipv6hdr * hdr,const struct tcphdr * th) global() argument 1702 const struct tcphdr *th; global() local 1964 const struct tcphdr *th; global() local [all...] |
| /linux/net/ipv4/ |
| H A D | tcp_offload.c | 38 struct tcphdr *th; in __tcpv4_gso_segment_csum() local 57 const struct tcphdr *th; in __tcpv4_gso_segment_list_csum() local 108 struct tcphdr *th = tcp_hdr(skb); in tcp4_gso_segment() local 119 struct tcphdr *th = tcp_hdr(skb); in tcp4_gso_segment() local 138 struct tcphdr *th; in tcp_gso_segment() local 265 struct sk_buff *tcp_gro_lookup(struct list_head *head, struct tcphdr *th) in tcp_gro_lookup() 287 struct tcphdr *th) in tcp_gro_receive() 371 struct tcphdr *th = tcp_hdr(skb); in tcp_gro_complete() local 390 struct tcphdr *th) in tcp4_check_fraglist_gro() 421 struct tcphdr *th; in tcp4_gro_receive() local [all …]
|
| H A D | syncookies.c | 155 u32 __cookie_v4_init_sequence(const struct iphdr *iph, const struct tcphdr *th, in __cookie_v4_init_sequence() argument 175 const struct tcphdr *th = tcp_hdr(skb); in cookie_v4_init_sequence() local 184 int __cookie_v4_check(const struct iphdr *iph, const struct tcphdr *th) in __cookie_v4_check() argument 270 const struct tcphdr *th = tcp_hdr(skb); cookie_tcp_reqsk_init() local 408 const struct tcphdr *th = tcp_hdr(skb); cookie_v4_check() local [all...] |
| H A D | tcp_ipv4.c | 499 struct tcphdr *th = (struct tcphdr *)(skb->data + (iph->ihl << 2)); tcp_v4_err() local 665 struct tcphdr *th = tcp_hdr(skb); __tcp_v4_send_check() local 743 const struct tcphdr *th = tcp_hdr(skb); tcp_v4_send_reset() local 745 struct tcphdr th; tcp_v4_send_reset() member 938 const struct tcphdr *th = tcp_hdr(skb); tcp_v4_send_ack() local 940 struct tcphdr th; tcp_v4_send_ack() member 1573 tcp_v4_md5_hash_headers(struct md5_ctx * ctx,__be32 daddr,__be32 saddr,const struct tcphdr * th,int nbytes) global() argument 1592 tcp_v4_md5_hash_hdr(char * md5_hash,const struct tcp_md5sig_key * key,__be32 daddr,__be32 saddr,const struct tcphdr * th) global() argument 1606 const struct tcphdr *th = tcp_hdr(skb); global() local 1826 const struct tcphdr *th = tcp_hdr(skb); global() local 1835 tcp_v4_get_syncookie(struct sock * sk,struct iphdr * iph,struct tcphdr * th,u32 * cookie) global() argument 1939 const struct tcphdr *th; global() local 1978 const struct tcphdr *th; global() local 2123 tcp_v4_fill_cb(struct sk_buff * skb,const struct iphdr * iph,const struct tcphdr * th) global() argument 2155 const struct tcphdr *th; global() local [all...] |
| /linux/drivers/macintosh/ |
| H A D | therm_adt746x.c | 96 write_reg(struct thermostat* th, int reg, u8 data) in write_reg() 112 read_reg(struct thermostat* th, int reg) in read_reg() 129 static int read_fan_speed(struct thermostat *th, u8 addr) in read_fan_speed() 143 static void write_both_fan_speed(struct thermostat *th, int speed) in write_both_fan_speed() 150 static void write_fan_speed(struct thermostat *th, int speed, int fan) in write_fan_speed() 200 static void read_sensors(struct thermostat *th) in read_sensors() 209 static void display_stats(struct thermostat *th) in display_stats() 228 static void update_fans_speed (struct thermostat *th) in update_fans_speed() 285 struct thermostat* th = arg; in monitor_task() local 311 static void set_limit(struct thermostat *th, int i) in set_limit() [all …]
|
| /linux/tools/lib/thermal/ |
| H A D | commands.c | 374 static thermal_error_t thermal_genl_auto(struct thermal_handler *th, cmd_cb_t cmd_cb, in thermal_genl_auto() 404 thermal_error_t thermal_cmd_get_tz(struct thermal_handler *th, struct thermal_zone **tz) in thermal_cmd_get_tz() 410 thermal_error_t thermal_cmd_get_cdev(struct thermal_handler *th, struct thermal_cdev **tc) in thermal_cmd_get_cdev() 416 thermal_error_t thermal_cmd_get_trip(struct thermal_handler *th, struct thermal_zone *tz) in thermal_cmd_get_trip() 424 thermal_error_t thermal_cmd_get_governor(struct thermal_handler *th, struct thermal_zone *tz) in thermal_cmd_get_governor() 432 thermal_error_t thermal_cmd_get_temp(struct thermal_handler *th, struct thermal_zone *tz) in thermal_cmd_get_temp() 440 thermal_error_t thermal_cmd_threshold_get(struct thermal_handler *th, in thermal_cmd_threshold_get() 449 thermal_error_t thermal_cmd_threshold_add(struct thermal_handler *th, in thermal_cmd_threshold_add() 460 thermal_error_t thermal_cmd_threshold_delete(struct thermal_handler *th, in thermal_cmd_threshold_delete() 471 thermal_error_t thermal_cmd_threshold_flush(struct thermal_handler *th, in thermal_cmd_threshold_flush() [all …]
|
| H A D | sampling.c | 17 struct thermal_handler *th = thp->th; in handle_thermal_sample() local 34 thermal_error_t thermal_sampling_handle(struct thermal_handler *th, void *arg) in thermal_sampling_handle() 48 int thermal_sampling_fd(struct thermal_handler *th) in thermal_sampling_fd() 56 thermal_error_t thermal_sampling_exit(struct thermal_handler *th) in thermal_sampling_exit() 67 thermal_error_t thermal_sampling_init(struct thermal_handler *th) in thermal_sampling_init()
|
| H A D | events.c | 148 thermal_error_t thermal_events_handle(struct thermal_handler *th, void *arg) in thermal_events_handle() 162 int thermal_events_fd(struct thermal_handler *th) in thermal_events_fd() 170 thermal_error_t thermal_events_exit(struct thermal_handler *th) in thermal_events_exit() 181 thermal_error_t thermal_events_init(struct thermal_handler *th) in thermal_events_init()
|
| H A D | thermal.c | 9 int for_each_thermal_threshold(struct thermal_threshold *th, cb_th_t cb, void *arg) in for_each_thermal_threshold() 92 static int __thermal_zone_discover(struct thermal_zone *tz, void *th) in __thermal_zone_discover() 106 struct thermal_zone *thermal_zone_discover(struct thermal_handler *th) in thermal_zone_discover() 119 void thermal_exit(struct thermal_handler *th) in thermal_exit() 130 struct thermal_handler *th; in thermal_init() local
|
| /linux/drivers/hwtracing/intel_th/ |
| H A D | core.c | 105 struct intel_th *th = to_intel_th(hub); in intel_th_remove() local 192 const struct intel_th *th = to_intel_th(thdev); in intel_th_output_devnode() local 238 struct intel_th *th = to_intel_th(thdev); in intel_th_output_activate() local 280 struct intel_th *th = to_intel_th(thdev); in intel_th_output_deactivate() local 372 intel_th_device_alloc(struct intel_th *th, unsigned int type, const char *name, in intel_th_device_alloc() 586 struct intel_th *th = container_of(work, struct intel_th, in __intel_th_request_hub_module() local 592 static int intel_th_request_hub_module(struct intel_th *th) in intel_th_request_hub_module() 600 static void intel_th_request_hub_module_flush(struct intel_th *th) in intel_th_request_hub_module_flush() 605 static inline int intel_th_request_hub_module(struct intel_th *th) in intel_th_request_hub_module() 610 static inline void intel_th_request_hub_module_flush(struct intel_th *th) in intel_th_request_hub_module_flush() [all …]
|
| H A D | pci.c | 31 static int intel_th_pci_activate(struct intel_th *th) in intel_th_pci_activate() 52 static void intel_th_pci_deactivate(struct intel_th *th) in intel_th_pci_deactivate() 80 struct intel_th *th; in intel_th_pci_probe() local 128 struct intel_th *th = pci_get_drvdata(pdev); in intel_th_pci_remove() local
|
| H A D | acpi.c | 42 struct intel_th *th; in intel_th_acpi_probe() local 65 struct intel_th *th = platform_get_drvdata(pdev); in intel_th_acpi_remove() local
|
| /linux/drivers/thermal/ |
| H A D | db8500_thermal.c | 64 struct db8500_thermal_zone *th = thermal_zone_device_priv(tz); in db8500_thermal_get_temp() local 80 static void db8500_thermal_update_config(struct db8500_thermal_zone *th, in db8500_thermal_update_config() 100 struct db8500_thermal_zone *th = irq_data; in prcmu_low_irq_handler() local 128 struct db8500_thermal_zone *th = irq_data; in prcmu_high_irq_handler() local 153 struct db8500_thermal_zone *th = NULL; in db8500_thermal_probe() local 214 struct db8500_thermal_zone *th = platform_get_drvdata(pdev); in db8500_thermal_resume() local
|
| /linux/net/netfilter/ |
| H A D | nf_synproxy_core.c | 30 const struct tcphdr *th, struct synproxy_options *opts) in synproxy_parse_options() 116 synproxy_build_options(struct tcphdr *th, const struct synproxy_options *opts) in synproxy_build_options() 187 struct tcphdr *th, struct nf_conn *ct, in synproxy_tstamp_adjust() 449 const struct sk_buff *skb, const struct tcphdr *th, in synproxy_send_client_synack() 492 const struct sk_buff *skb, const struct tcphdr *th, in synproxy_send_server_syn() 538 const struct sk_buff *skb, const struct tcphdr *th, in synproxy_send_server_ack() 576 const struct sk_buff *skb, const struct tcphdr *th, in synproxy_send_client_ack() 615 const struct sk_buff *skb, const struct tcphdr *th, in synproxy_recv_client_ack() 650 struct tcphdr *th, _th; in ipv4_synproxy_hook() local 862 const struct tcphdr *th, in synproxy_send_client_synack_ipv6() [all …]
|
| /linux/include/net/ |
| H A D | tcp_ecn.h | 95 static inline u8 tcp_accecn_ace(const struct tcphdr *th) in tcp_accecn_ace() 339 const struct tcphdr *th = (const struct tcphdr *)skb->data; in tcp_ecn_received_counters_payload() local 348 static inline bool cookie_accecn_ok(const struct tcphdr *th) in cookie_accecn_ok() 375 static inline bool tcp_accecn_syn_requested(const struct tcphdr *th) in tcp_accecn_syn_requested() 406 static inline void tcp_accecn_echo_syn_ect(struct tcphdr *th, u8 ect) in tcp_accecn_echo_syn_ect() 426 struct tcphdr *th) in tcp_accecn_set_ace() 491 const struct tcphdr *th, u8 ip_dsfield) in tcp_ecn_rcv_synack() 547 static inline void tcp_ecn_rcv_syn(struct sock *sk, const struct tcphdr *th, in tcp_ecn_rcv_syn() 569 const struct tcphdr *th) in tcp_ecn_rcv_ecn_echo() 645 tcp_ecn_make_synack(const struct request_sock *req, struct tcphdr *th, in tcp_ecn_make_synack()
|
| H A D | ip6_checksum.h | 58 struct tcphdr *th = tcp_hdr(skb); in __tcp_v6_send_check() local 68 struct tcphdr *th = tcp_hdr(skb); in tcp_v6_gso_csum_prep() local
|
| /linux/net/ceph/ |
| H A D | auth_x.c | 153 struct ceph_x_ticket_handler *th; in get_ticket_handler() local 179 struct ceph_x_ticket_handler *th) in remove_ticket_handler() 198 struct ceph_x_ticket_handler *th; in process_one_ticket() local 394 struct ceph_x_ticket_handler *th, in ceph_x_build_authorizer() 465 static int ceph_x_encode_ticket(struct ceph_x_ticket_handler *th, in ceph_x_encode_ticket() 486 static bool need_key(struct ceph_x_ticket_handler *th) in need_key() 494 static bool have_key(struct ceph_x_ticket_handler *th) in have_key() 514 struct ceph_x_ticket_handler *th; in ceph_x_validate_tickets() local 543 struct ceph_x_ticket_handler *th = in ceph_x_build_request() local 667 struct ceph_x_ticket_handler *th; in handle_auth_session_key() local [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_misc_tcp_hdr_options.c | 36 struct tcphdr th; in __check_active_hdr_in() member 132 struct tcphdr *th; in check_active_hdr_in() local 175 struct tcphdr *th; in write_active_opt() local
|
| H A D | test_btf_skc_cls_ingress.c | 24 struct tcphdr *th, struct tcp_sock *tp, in test_syncookie_helper() 74 struct tcphdr *th; in handle_ip_tcp() local
|
| /linux/tools/perf/util/ |
| H A D | threads.c | 67 struct thread *th, *res = NULL; in __threads_table_entry__get_last_match() local 78 struct thread *th) in __threads_table_entry__set_last_match() 85 struct thread *th) in threads_table_entry__set_last_match()
|
| /linux/tools/testing/selftests/net/lib/ |
| H A D | csum.c | 169 static uint16_t checksum(void *th, uint16_t proto, size_t len) in checksum() 258 struct tcphdr *th = _th; in build_packet_tcp() local 590 static int recv_verify_csum(void *th, int len, uint16_t sport, uint16_t csum_field) in recv_verify_csum() 616 static int recv_verify_packet_tcp(void *th, int len) in recv_verify_packet_tcp() 626 static int recv_verify_packet_udp_encap(void *th, int len) in recv_verify_packet_udp_encap() 636 static int recv_verify_packet_udp(void *th, int len) in recv_verify_packet_udp()
|
| /linux/net/netfilter/ipvs/ |
| H A D | ip_vs_app.c | 287 static inline void vs_fix_seq(const struct ip_vs_seq *vseq, struct tcphdr *th) in vs_fix_seq() 314 vs_fix_ack_seq(const struct ip_vs_seq *vseq, struct tcphdr *th) in vs_fix_ack_seq() 365 struct tcphdr *th; in app_tcp_pkt_out() local 442 struct tcphdr *th; in app_tcp_pkt_in() local
|
| H A D | ip_vs_proto_tcp.c | 41 struct tcphdr _tcph, *th; in tcp_conn_schedule() local 490 static inline int tcp_state_idx(struct tcphdr *th) in tcp_state_idx() 505 int direction, struct tcphdr *th) in set_tcp_state() 584 struct tcphdr _tcph, *th; in tcp_state_transition() local
|