Home
last modified time | relevance | path

Searched refs:th (Results 1 - 25 of 364) sorted by relevance

12345678910>>...15

/kernel/linux/linux-5.10/drivers/macintosh/
H A Dtherm_adt746x.c91 static void write_both_fan_speed(struct thermostat *th, int speed);
92 static void write_fan_speed(struct thermostat *th, int speed, int fan);
95 write_reg(struct thermostat* th, int reg, u8 data) in write_reg() argument
102 rc = i2c_master_send(th->clt, (const char *)tmp, 2); in write_reg()
111 read_reg(struct thermostat* th, int reg) in read_reg() argument
117 rc = i2c_master_send(th->clt, &reg_addr, 1); in read_reg()
122 rc = i2c_master_recv(th->clt, (char *)&data, 1); in read_reg()
128 static int read_fan_speed(struct thermostat *th, u8 addr) in read_fan_speed() argument
134 tmp[1] = read_reg(th, addr); in read_fan_speed()
135 tmp[0] = read_reg(th, add in read_fan_speed()
142 write_both_fan_speed(struct thermostat *th, int speed) write_both_fan_speed() argument
149 write_fan_speed(struct thermostat *th, int speed, int fan) write_fan_speed() argument
199 read_sensors(struct thermostat *th) read_sensors() argument
208 display_stats(struct thermostat *th) display_stats() argument
227 update_fans_speed(struct thermostat *th) update_fans_speed() argument
284 struct thermostat* th = arg; monitor_task() local
310 set_limit(struct thermostat *th, int i) set_limit() argument
415 thermostat_create_files(struct thermostat *th) thermostat_create_files() argument
446 thermostat_remove_files(struct thermostat *th) thermostat_remove_files() argument
472 struct thermostat* th; probe_thermostat() local
569 struct thermostat *th = i2c_get_clientdata(client); remove_thermostat() local
[all...]
/kernel/linux/linux-6.6/drivers/macintosh/
H A Dtherm_adt746x.c92 static void write_both_fan_speed(struct thermostat *th, int speed);
93 static void write_fan_speed(struct thermostat *th, int speed, int fan);
96 write_reg(struct thermostat* th, int reg, u8 data) in write_reg() argument
103 rc = i2c_master_send(th->clt, (const char *)tmp, 2); in write_reg()
112 read_reg(struct thermostat* th, int reg) in read_reg() argument
118 rc = i2c_master_send(th->clt, &reg_addr, 1); in read_reg()
123 rc = i2c_master_recv(th->clt, (char *)&data, 1); in read_reg()
129 static int read_fan_speed(struct thermostat *th, u8 addr) in read_fan_speed() argument
135 tmp[1] = read_reg(th, addr); in read_fan_speed()
136 tmp[0] = read_reg(th, add in read_fan_speed()
143 write_both_fan_speed(struct thermostat *th, int speed) write_both_fan_speed() argument
150 write_fan_speed(struct thermostat *th, int speed, int fan) write_fan_speed() argument
200 read_sensors(struct thermostat *th) read_sensors() argument
209 display_stats(struct thermostat *th) display_stats() argument
228 update_fans_speed(struct thermostat *th) update_fans_speed() argument
285 struct thermostat* th = arg; monitor_task() local
311 set_limit(struct thermostat *th, int i) set_limit() argument
416 thermostat_create_files(struct thermostat *th) thermostat_create_files() argument
447 thermostat_remove_files(struct thermostat *th) thermostat_remove_files() argument
473 struct thermostat* th; probe_thermostat() local
570 struct thermostat *th = i2c_get_clientdata(client); remove_thermostat() local
[all...]
/kernel/linux/linux-5.10/drivers/thermal/
H A Ddb8500_thermal.c64 struct db8500_thermal_zone *th = data; in db8500_thermal_get_temp() local
71 *temp = th->interpolated_temp; in db8500_thermal_get_temp()
79 struct db8500_thermal_zone *th = data; in db8500_thermal_get_trend() local
81 *trend = th->trend; in db8500_thermal_get_trend()
91 static void db8500_thermal_update_config(struct db8500_thermal_zone *th, in db8500_thermal_update_config() argument
99 th->cur_index = idx; in db8500_thermal_update_config()
100 th->interpolated_temp = (next_low + next_high)/2; in db8500_thermal_update_config()
101 th->trend = trend; in db8500_thermal_update_config()
113 struct db8500_thermal_zone *th = irq_data; in prcmu_low_irq_handler() local
114 unsigned int idx = th in prcmu_low_irq_handler()
142 struct db8500_thermal_zone *th = irq_data; prcmu_high_irq_handler() local
168 struct db8500_thermal_zone *th = NULL; db8500_thermal_probe() local
232 struct db8500_thermal_zone *th = platform_get_drvdata(pdev); db8500_thermal_resume() local
[all...]
/kernel/linux/linux-5.10/drivers/hwtracing/intel_th/
H A Dcore.c106 struct intel_th *th = to_intel_th(hub); in intel_th_remove() local
119 for (i = 0, lowest = -1; i < th->num_thdevs; i++) { in intel_th_remove()
122 * th->thdev[] array to lower positions to maintain in intel_th_remove()
125 if (th->thdev[i]->type != INTEL_TH_OUTPUT) { in intel_th_remove()
127 th->thdev[lowest] = th->thdev[i]; in intel_th_remove()
128 th->thdev[i] = NULL; in intel_th_remove()
138 intel_th_device_remove(th->thdev[i]); in intel_th_remove()
139 th->thdev[i] = NULL; in intel_th_remove()
143 th in intel_th_remove()
192 struct intel_th *th = to_intel_th(thdev); intel_th_output_devnode() local
238 struct intel_th *th = to_intel_th(thdev); intel_th_output_activate() local
280 struct intel_th *th = to_intel_th(thdev); intel_th_output_deactivate() local
372 intel_th_device_alloc(struct intel_th *th, unsigned int type, const char *name, int id) intel_th_device_alloc() argument
586 struct intel_th *th = container_of(work, struct intel_th, __intel_th_request_hub_module() local
592 intel_th_request_hub_module(struct intel_th *th) intel_th_request_hub_module() argument
600 intel_th_request_hub_module_flush(struct intel_th *th) intel_th_request_hub_module_flush() argument
605 intel_th_request_hub_module(struct intel_th *th) intel_th_request_hub_module() argument
610 intel_th_request_hub_module_flush(struct intel_th *th) intel_th_request_hub_module_flush() argument
616 intel_th_subdevice_alloc(struct intel_th *th, const struct intel_th_subdevice *subdev) intel_th_subdevice_alloc() argument
715 intel_th_output_enable(struct intel_th *th, unsigned int otype) intel_th_output_enable() argument
766 intel_th_populate(struct intel_th *th) intel_th_populate() argument
840 struct intel_th *th = data; intel_th_irq() local
868 struct intel_th *th; intel_th_alloc() local
943 intel_th_free(struct intel_th *th) intel_th_free() argument
[all...]
/kernel/linux/linux-6.6/drivers/hwtracing/intel_th/
H A Dcore.c105 struct intel_th *th = to_intel_th(hub); in intel_th_remove() local
121 for (i = 0, lowest = -1; i < th->num_thdevs; i++) { in intel_th_remove()
124 * th->thdev[] array to lower positions to maintain in intel_th_remove()
127 if (th->thdev[i]->type != INTEL_TH_OUTPUT) { in intel_th_remove()
129 th->thdev[lowest] = th->thdev[i]; in intel_th_remove()
130 th->thdev[i] = NULL; in intel_th_remove()
140 intel_th_device_remove(th->thdev[i]); in intel_th_remove()
141 th->thdev[i] = NULL; in intel_th_remove()
145 th in intel_th_remove()
192 const struct intel_th *th = to_intel_th(thdev); intel_th_output_devnode() local
238 struct intel_th *th = to_intel_th(thdev); intel_th_output_activate() local
280 struct intel_th *th = to_intel_th(thdev); intel_th_output_deactivate() local
372 intel_th_device_alloc(struct intel_th *th, unsigned int type, const char *name, int id) intel_th_device_alloc() argument
586 struct intel_th *th = container_of(work, struct intel_th, __intel_th_request_hub_module() local
592 intel_th_request_hub_module(struct intel_th *th) intel_th_request_hub_module() argument
600 intel_th_request_hub_module_flush(struct intel_th *th) intel_th_request_hub_module_flush() argument
605 intel_th_request_hub_module(struct intel_th *th) intel_th_request_hub_module() argument
610 intel_th_request_hub_module_flush(struct intel_th *th) intel_th_request_hub_module_flush() argument
616 intel_th_subdevice_alloc(struct intel_th *th, const struct intel_th_subdevice *subdev) intel_th_subdevice_alloc() argument
715 intel_th_output_enable(struct intel_th *th, unsigned int otype) intel_th_output_enable() argument
766 intel_th_populate(struct intel_th *th) intel_th_populate() argument
840 struct intel_th *th = data; intel_th_irq() local
868 struct intel_th *th; intel_th_alloc() local
943 intel_th_free(struct intel_th *th) intel_th_free() argument
[all...]
/kernel/linux/linux-6.6/tools/lib/thermal/
H A Dsampling.c17 struct thermal_handler *th = thp->th; in handle_thermal_sample() local
24 return th->ops->sampling.tz_temp( in handle_thermal_sample()
32 thermal_error_t thermal_sampling_handle(struct thermal_handler *th, void *arg) in thermal_sampling_handle() argument
34 struct thermal_handler_param thp = { .th = th, .arg = arg }; in thermal_sampling_handle()
36 if (!th) in thermal_sampling_handle()
39 if (nl_cb_set(th->cb_sampling, NL_CB_VALID, NL_CB_CUSTOM, in thermal_sampling_handle()
43 return nl_recvmsgs(th->sk_sampling, th in thermal_sampling_handle()
46 thermal_sampling_fd(struct thermal_handler *th) thermal_sampling_fd() argument
54 thermal_sampling_exit(struct thermal_handler *th) thermal_sampling_exit() argument
65 thermal_sampling_init(struct thermal_handler *th) thermal_sampling_init() argument
[all...]
H A Dthermal.c78 static int __thermal_zone_discover(struct thermal_zone *tz, void *th) in __thermal_zone_discover() argument
80 if (thermal_cmd_get_trip(th, tz) < 0) in __thermal_zone_discover()
83 if (thermal_cmd_get_governor(th, tz)) in __thermal_zone_discover()
89 struct thermal_zone *thermal_zone_discover(struct thermal_handler *th) in thermal_zone_discover() argument
93 if (thermal_cmd_get_tz(th, &tz) < 0) in thermal_zone_discover()
96 if (for_each_thermal_zone(tz, __thermal_zone_discover, th)) in thermal_zone_discover()
102 void thermal_exit(struct thermal_handler *th) in thermal_exit() argument
104 thermal_cmd_exit(th); in thermal_exit()
105 thermal_events_exit(th); in thermal_exit()
106 thermal_sampling_exit(th); in thermal_exit()
113 struct thermal_handler *th; thermal_init() local
[all...]
H A Devents.c27 struct thermal_events_ops *ops = &thp->th->ops->events; in handle_thermal_event()
119 thermal_error_t thermal_events_handle(struct thermal_handler *th, void *arg) in thermal_events_handle() argument
121 struct thermal_handler_param thp = { .th = th, .arg = arg }; in thermal_events_handle()
123 if (!th) in thermal_events_handle()
126 if (nl_cb_set(th->cb_event, NL_CB_VALID, NL_CB_CUSTOM, in thermal_events_handle()
130 return nl_recvmsgs(th->sk_event, th->cb_event); in thermal_events_handle()
133 int thermal_events_fd(struct thermal_handler *th) in thermal_events_fd() argument
135 if (!th) in thermal_events_fd()
141 thermal_events_exit(struct thermal_handler *th) thermal_events_exit() argument
152 thermal_events_init(struct thermal_handler *th) thermal_events_init() argument
[all...]
/kernel/linux/linux-5.10/drivers/sfi/
H A Dsfi_core.c167 struct sfi_table_header *th; in sfi_map_table() local
171 th = sfi_map_memory(pa, sizeof(struct sfi_table_header)); in sfi_map_table()
173 th = (void *)syst_va + (pa - syst_pa); in sfi_map_table()
176 if (TABLE_ON_PAGE(th, th, th->len)) in sfi_map_table()
177 return th; in sfi_map_table()
180 length = th->len; in sfi_map_table()
182 sfi_unmap_memory(th, sizeof(struct sfi_table_header)); in sfi_map_table()
193 static void sfi_unmap_table(struct sfi_table_header *th) in sfi_unmap_table() argument
200 sfi_table_check_key(struct sfi_table_header *th, struct sfi_table_key *key) sfi_table_check_key() argument
234 struct sfi_table_header *th; sfi_check_table() local
262 struct sfi_table_header *th; sfi_get_table() local
275 sfi_put_table(struct sfi_table_header *th) sfi_put_table() argument
396 struct sfi_table_header *th = NULL; sfi_table_show() local
422 struct sfi_table_header *th; sfi_sysfs_install_table() local
[all...]
/kernel/linux/linux-6.6/drivers/thermal/
H A Ddb8500_thermal.c64 struct db8500_thermal_zone *th = thermal_zone_device_priv(tz); in db8500_thermal_get_temp() local
71 *temp = th->interpolated_temp; in db8500_thermal_get_temp()
80 static void db8500_thermal_update_config(struct db8500_thermal_zone *th, in db8500_thermal_update_config() argument
87 th->cur_index = idx; in db8500_thermal_update_config()
88 th->interpolated_temp = (next_low + next_high)/2; in db8500_thermal_update_config()
100 struct db8500_thermal_zone *th = irq_data; in prcmu_low_irq_handler() local
101 unsigned int idx = th->cur_index; in prcmu_low_irq_handler()
117 db8500_thermal_update_config(th, idx, next_low, next_high); in prcmu_low_irq_handler()
118 dev_dbg(th->dev, in prcmu_low_irq_handler()
121 thermal_zone_device_update(th in prcmu_low_irq_handler()
128 struct db8500_thermal_zone *th = irq_data; prcmu_high_irq_handler() local
153 struct db8500_thermal_zone *th = NULL; db8500_thermal_probe() local
214 struct db8500_thermal_zone *th = platform_get_drvdata(pdev); db8500_thermal_resume() local
[all...]
/kernel/linux/linux-5.10/net/ipv4/
H A Dtcp_offload.c40 struct tcphdr *th = tcp_hdr(skb); in tcp4_gso_segment() local
46 th->check = 0; in tcp4_gso_segment()
59 struct tcphdr *th; in tcp_gso_segment() local
69 th = tcp_hdr(skb); in tcp_gso_segment()
70 thlen = th->doff * 4; in tcp_gso_segment()
71 if (thlen < sizeof(*th)) in tcp_gso_segment()
115 th = tcp_hdr(skb); in tcp_gso_segment()
116 seq = ntohl(th->seq); in tcp_gso_segment()
121 newcheck = ~csum_fold((__force __wsum)((__force u32)th->check + in tcp_gso_segment()
125 th in tcp_gso_segment()
184 struct tcphdr *th; tcp_gro_receive() local
290 struct tcphdr *th = tcp_hdr(skb); tcp_gro_complete() local
325 struct tcphdr *th = tcp_hdr(skb); tcp4_gro_complete() local
[all...]
/kernel/linux/linux-5.10/net/ceph/
H A Dauth_x.c119 struct ceph_x_ticket_handler *th; in get_ticket_handler() local
125 th = rb_entry(parent, struct ceph_x_ticket_handler, node); in get_ticket_handler()
126 if (service < th->service) in get_ticket_handler()
128 else if (service > th->service) in get_ticket_handler()
131 return th; in get_ticket_handler()
135 th = kzalloc(sizeof(*th), GFP_NOFS); in get_ticket_handler()
136 if (!th) in get_ticket_handler()
138 th->service = service; in get_ticket_handler()
139 rb_link_node(&th in get_ticket_handler()
144 remove_ticket_handler(struct ceph_auth_client *ac, struct ceph_x_ticket_handler *th) remove_ticket_handler() argument
164 struct ceph_x_ticket_handler *th; process_one_ticket() local
348 ceph_x_build_authorizer(struct ceph_auth_client *ac, struct ceph_x_ticket_handler *th, struct ceph_x_authorizer *au) ceph_x_build_authorizer() argument
414 ceph_x_encode_ticket(struct ceph_x_ticket_handler *th, void **p, void *end) ceph_x_encode_ticket() argument
435 need_key(struct ceph_x_ticket_handler *th) need_key() argument
443 have_key(struct ceph_x_ticket_handler *th) have_key() argument
462 struct ceph_x_ticket_handler *th; ceph_x_validate_tickets() local
490 struct ceph_x_ticket_handler *th = ceph_x_build_request() local
568 struct ceph_x_ticket_handler *th; ceph_x_handle_reply() local
631 struct ceph_x_ticket_handler *th; ceph_x_create_authorizer() local
666 struct ceph_x_ticket_handler *th; ceph_x_update_authorizer() local
772 struct ceph_x_ticket_handler *th = ceph_x_destroy() local
785 struct ceph_x_ticket_handler *th; invalidate_ticket() local
[all...]
/kernel/linux/linux-6.6/net/ceph/
H A Dauth_x.c122 struct ceph_x_ticket_handler *th; in get_ticket_handler() local
128 th = rb_entry(parent, struct ceph_x_ticket_handler, node); in get_ticket_handler()
129 if (service < th->service) in get_ticket_handler()
131 else if (service > th->service) in get_ticket_handler()
134 return th; in get_ticket_handler()
138 th = kzalloc(sizeof(*th), GFP_NOFS); in get_ticket_handler()
139 if (!th) in get_ticket_handler()
141 th->service = service; in get_ticket_handler()
142 rb_link_node(&th in get_ticket_handler()
147 remove_ticket_handler(struct ceph_auth_client *ac, struct ceph_x_ticket_handler *th) remove_ticket_handler() argument
167 struct ceph_x_ticket_handler *th; process_one_ticket() local
351 ceph_x_build_authorizer(struct ceph_auth_client *ac, struct ceph_x_ticket_handler *th, struct ceph_x_authorizer *au) ceph_x_build_authorizer() argument
418 ceph_x_encode_ticket(struct ceph_x_ticket_handler *th, void **p, void *end) ceph_x_encode_ticket() argument
439 need_key(struct ceph_x_ticket_handler *th) need_key() argument
447 have_key(struct ceph_x_ticket_handler *th) have_key() argument
467 struct ceph_x_ticket_handler *th; ceph_x_validate_tickets() local
496 struct ceph_x_ticket_handler *th = ceph_x_build_request() local
606 struct ceph_x_ticket_handler *th; handle_auth_session_key() local
671 struct ceph_x_ticket_handler *th; ceph_x_handle_reply() local
739 struct ceph_x_ticket_handler *th; ceph_x_create_authorizer() local
774 struct ceph_x_ticket_handler *th; ceph_x_update_authorizer() local
922 struct ceph_x_ticket_handler *th = ceph_x_destroy() local
935 struct ceph_x_ticket_handler *th; invalidate_ticket() local
[all...]
/kernel/linux/linux-5.10/net/netfilter/
H A Dnf_synproxy_core.c29 const struct tcphdr *th, struct synproxy_options *opts) in synproxy_parse_options()
31 int length = (th->doff * 4) - sizeof(*th); in synproxy_parse_options()
37 ptr = skb_header_pointer(skb, doff + sizeof(*th), length, buf); in synproxy_parse_options()
115 synproxy_build_options(struct tcphdr *th, const struct synproxy_options *opts) in synproxy_build_options() argument
117 __be32 *ptr = (__be32 *)(th + 1); in synproxy_build_options()
186 struct tcphdr *th, struct nf_conn *ct, in synproxy_tstamp_adjust()
197 optend = protoff + th->doff * 4; in synproxy_tstamp_adjust()
229 inet_proto_csum_replace4(&th->check, skb, in synproxy_tstamp_adjust()
471 const struct sk_buff *skb, const struct tcphdr *th, in synproxy_send_client_synack()
28 synproxy_parse_options(const struct sk_buff *skb, unsigned int doff, const struct tcphdr *th, struct synproxy_options *opts) synproxy_parse_options() argument
185 synproxy_tstamp_adjust(struct sk_buff *skb, unsigned int protoff, struct tcphdr *th, struct nf_conn *ct, enum ip_conntrack_info ctinfo, const struct nf_conn_synproxy *synproxy) synproxy_tstamp_adjust() argument
470 synproxy_send_client_synack(struct net *net, const struct sk_buff *skb, const struct tcphdr *th, const struct synproxy_options *opts) synproxy_send_client_synack() argument
513 synproxy_send_server_syn(struct net *net, const struct sk_buff *skb, const struct tcphdr *th, const struct synproxy_options *opts, u32 recv_seq) synproxy_send_server_syn() argument
558 synproxy_send_server_ack(struct net *net, const struct ip_ct_tcp *state, const struct sk_buff *skb, const struct tcphdr *th, const struct synproxy_options *opts) synproxy_send_server_ack() argument
597 synproxy_send_client_ack(struct net *net, const struct sk_buff *skb, const struct tcphdr *th, const struct synproxy_options *opts) synproxy_send_client_ack() argument
636 synproxy_recv_client_ack(struct net *net, const struct sk_buff *skb, const struct tcphdr *th, struct synproxy_options *opts, u32 recv_seq) synproxy_recv_client_ack() argument
672 struct tcphdr *th, _th; ipv4_synproxy_hook() local
882 synproxy_send_client_synack_ipv6(struct net *net, const struct sk_buff *skb, const struct tcphdr *th, const struct synproxy_options *opts) synproxy_send_client_synack_ipv6() argument
927 synproxy_send_server_syn_ipv6(struct net *net, const struct sk_buff *skb, const struct tcphdr *th, const struct synproxy_options *opts, u32 recv_seq) synproxy_send_server_syn_ipv6() argument
972 synproxy_send_server_ack_ipv6(struct net *net, const struct ip_ct_tcp *state, const struct sk_buff *skb, const struct tcphdr *th, const struct synproxy_options *opts) synproxy_send_server_ack_ipv6() argument
1012 synproxy_send_client_ack_ipv6(struct net *net, const struct sk_buff *skb, const struct tcphdr *th, const struct synproxy_options *opts) synproxy_send_client_ack_ipv6() argument
1052 synproxy_recv_client_ack_ipv6(struct net *net, const struct sk_buff *skb, const struct tcphdr *th, struct synproxy_options *opts, u32 recv_seq) synproxy_recv_client_ack_ipv6() argument
1089 struct tcphdr *th, _th; ipv6_synproxy_hook() local
[all...]
H A Dnf_log_common.c58 const struct tcphdr *th; in nf_log_dump_tcp_header() local
67 th = skb_header_pointer(skb, offset, sizeof(_tcph), &_tcph); in nf_log_dump_tcp_header()
68 if (th == NULL) { in nf_log_dump_tcp_header()
75 ntohs(th->source), ntohs(th->dest)); in nf_log_dump_tcp_header()
79 ntohl(th->seq), ntohl(th->ack_seq)); in nf_log_dump_tcp_header()
83 nf_log_buf_add(m, "WINDOW=%u ", ntohs(th->window)); in nf_log_dump_tcp_header()
85 nf_log_buf_add(m, "RES=0x%02x ", (u_int8_t)(ntohl(tcp_flag_word(th) & in nf_log_dump_tcp_header()
88 if (th in nf_log_dump_tcp_header()
[all...]
/kernel/linux/linux-6.6/net/netfilter/
H A Dnf_synproxy_core.c29 const struct tcphdr *th, struct synproxy_options *opts) in synproxy_parse_options()
31 int length = (th->doff * 4) - sizeof(*th); in synproxy_parse_options()
37 ptr = skb_header_pointer(skb, doff + sizeof(*th), length, buf); in synproxy_parse_options()
115 synproxy_build_options(struct tcphdr *th, const struct synproxy_options *opts) in synproxy_build_options() argument
117 __be32 *ptr = (__be32 *)(th + 1); in synproxy_build_options()
186 struct tcphdr *th, struct nf_conn *ct, in synproxy_tstamp_adjust()
197 optend = protoff + th->doff * 4; in synproxy_tstamp_adjust()
229 inet_proto_csum_replace4(&th->check, skb, in synproxy_tstamp_adjust()
448 const struct sk_buff *skb, const struct tcphdr *th, in synproxy_send_client_synack()
28 synproxy_parse_options(const struct sk_buff *skb, unsigned int doff, const struct tcphdr *th, struct synproxy_options *opts) synproxy_parse_options() argument
185 synproxy_tstamp_adjust(struct sk_buff *skb, unsigned int protoff, struct tcphdr *th, struct nf_conn *ct, enum ip_conntrack_info ctinfo, const struct nf_conn_synproxy *synproxy) synproxy_tstamp_adjust() argument
447 synproxy_send_client_synack(struct net *net, const struct sk_buff *skb, const struct tcphdr *th, const struct synproxy_options *opts) synproxy_send_client_synack() argument
490 synproxy_send_server_syn(struct net *net, const struct sk_buff *skb, const struct tcphdr *th, const struct synproxy_options *opts, u32 recv_seq) synproxy_send_server_syn() argument
535 synproxy_send_server_ack(struct net *net, const struct ip_ct_tcp *state, const struct sk_buff *skb, const struct tcphdr *th, const struct synproxy_options *opts) synproxy_send_server_ack() argument
574 synproxy_send_client_ack(struct net *net, const struct sk_buff *skb, const struct tcphdr *th, const struct synproxy_options *opts) synproxy_send_client_ack() argument
613 synproxy_recv_client_ack(struct net *net, const struct sk_buff *skb, const struct tcphdr *th, struct synproxy_options *opts, u32 recv_seq) synproxy_recv_client_ack() argument
649 struct tcphdr *th, _th; ipv4_synproxy_hook() local
859 synproxy_send_client_synack_ipv6(struct net *net, const struct sk_buff *skb, const struct tcphdr *th, const struct synproxy_options *opts) synproxy_send_client_synack_ipv6() argument
904 synproxy_send_server_syn_ipv6(struct net *net, const struct sk_buff *skb, const struct tcphdr *th, const struct synproxy_options *opts, u32 recv_seq) synproxy_send_server_syn_ipv6() argument
949 synproxy_send_server_ack_ipv6(struct net *net, const struct ip_ct_tcp *state, const struct sk_buff *skb, const struct tcphdr *th, const struct synproxy_options *opts) synproxy_send_server_ack_ipv6() argument
989 synproxy_send_client_ack_ipv6(struct net *net, const struct sk_buff *skb, const struct tcphdr *th, const struct synproxy_options *opts) synproxy_send_client_ack_ipv6() argument
1029 synproxy_recv_client_ack_ipv6(struct net *net, const struct sk_buff *skb, const struct tcphdr *th, struct synproxy_options *opts, u32 recv_seq) synproxy_recv_client_ack_ipv6() argument
1066 struct tcphdr *th, _th; ipv6_synproxy_hook() local
[all...]
/kernel/linux/linux-5.10/net/ipv4/netfilter/
H A Dipt_SYNPROXY.c19 struct tcphdr *th, _th; in synproxy_tg4() local
24 th = skb_header_pointer(skb, par->thoff, sizeof(_th), &_th); in synproxy_tg4()
25 if (th == NULL) in synproxy_tg4()
28 if (!synproxy_parse_options(skb, par->thoff, th, &opts)) in synproxy_tg4()
31 if (th->syn && !(th->ack || th->fin || th->rst)) { in synproxy_tg4()
35 if (th->ece && th in synproxy_tg4()
[all...]
/kernel/linux/linux-5.10/net/ipv6/netfilter/
H A Dip6t_SYNPROXY.c19 struct tcphdr *th, _th; in synproxy_tg6() local
24 th = skb_header_pointer(skb, par->thoff, sizeof(_th), &_th); in synproxy_tg6()
25 if (th == NULL) in synproxy_tg6()
28 if (!synproxy_parse_options(skb, par->thoff, th, &opts)) in synproxy_tg6()
31 if (th->syn && !(th->ack || th->fin || th->rst)) { in synproxy_tg6()
35 if (th->ece && th in synproxy_tg6()
[all...]
/kernel/linux/linux-6.6/tools/lib/thermal/include/
H A Dthermal.h88 LIBTHERMAL_API struct thermal_zone *thermal_zone_discover(struct thermal_handler *th);
92 LIBTHERMAL_API void thermal_exit(struct thermal_handler *th);
97 LIBTHERMAL_API thermal_error_t thermal_events_exit(struct thermal_handler *th);
99 LIBTHERMAL_API thermal_error_t thermal_events_init(struct thermal_handler *th);
101 LIBTHERMAL_API thermal_error_t thermal_events_handle(struct thermal_handler *th, void *arg);
103 LIBTHERMAL_API int thermal_events_fd(struct thermal_handler *th);
108 LIBTHERMAL_API thermal_error_t thermal_cmd_exit(struct thermal_handler *th);
110 LIBTHERMAL_API thermal_error_t thermal_cmd_init(struct thermal_handler *th);
112 LIBTHERMAL_API thermal_error_t thermal_cmd_get_tz(struct thermal_handler *th,
115 LIBTHERMAL_API thermal_error_t thermal_cmd_get_cdev(struct thermal_handler *th,
[all...]
/kernel/linux/linux-6.6/net/ipv4/netfilter/
H A Dipt_SYNPROXY.c19 struct tcphdr *th, _th; in synproxy_tg4() local
24 th = skb_header_pointer(skb, par->thoff, sizeof(_th), &_th); in synproxy_tg4()
25 if (th == NULL) in synproxy_tg4()
28 if (!synproxy_parse_options(skb, par->thoff, th, &opts)) in synproxy_tg4()
31 if (th->syn && !(th->ack || th->fin || th->rst)) { in synproxy_tg4()
35 if (th->ece && th in synproxy_tg4()
[all...]
/kernel/linux/linux-6.6/net/ipv6/netfilter/
H A Dip6t_SYNPROXY.c19 struct tcphdr *th, _th; in synproxy_tg6() local
24 th = skb_header_pointer(skb, par->thoff, sizeof(_th), &_th); in synproxy_tg6()
25 if (th == NULL) in synproxy_tg6()
28 if (!synproxy_parse_options(skb, par->thoff, th, &opts)) in synproxy_tg6()
31 if (th->syn && !(th->ack || th->fin || th->rst)) { in synproxy_tg6()
35 if (th->ece && th in synproxy_tg6()
[all...]
/kernel/linux/linux-6.6/net/ipv4/
H A Dtcp_offload.c42 struct tcphdr *th = tcp_hdr(skb); in tcp4_gso_segment() local
48 th->check = 0; in tcp4_gso_segment()
61 struct tcphdr *th; in tcp_gso_segment() local
71 th = tcp_hdr(skb); in tcp_gso_segment()
72 thlen = th->doff * 4; in tcp_gso_segment()
73 if (thlen < sizeof(*th)) in tcp_gso_segment()
117 th = tcp_hdr(skb); in tcp_gso_segment()
118 seq = ntohl(th->seq); in tcp_gso_segment()
123 newcheck = ~csum_fold(csum_add(csum_unfold(th->check), delta)); in tcp_gso_segment()
126 th in tcp_gso_segment()
185 struct tcphdr *th; tcp_gro_receive() local
301 struct tcphdr *th = tcp_hdr(skb); tcp_gro_complete() local
334 struct tcphdr *th = tcp_hdr(skb); tcp4_gro_complete() local
[all...]
/kernel/linux/linux-5.10/fs/reiserfs/
H A Dnamei.c197 /* take bits from 7-th to 30-th including both bounds */ in get_third_component()
432 static int reiserfs_add_entry(struct reiserfs_transaction_handle *th, in reiserfs_add_entry() argument
453 BUG_ON(!th->t_trans_id); in reiserfs_add_entry()
547 PROC_INFO_MAX(th->t_super, max_hash_collisions, gen_number); in reiserfs_add_entry()
566 reiserfs_paste_into_item(th, &path, &entry_key, dir, buffer, in reiserfs_add_entry()
579 reiserfs_update_sd(th, dir); in reiserfs_add_entry()
635 struct reiserfs_transaction_handle th; in reiserfs_create() local
660 retval = journal_begin(&th, dir->i_sb, jbegin_count); in reiserfs_create()
667 reiserfs_new_inode(&th, di in reiserfs_create()
707 struct reiserfs_transaction_handle th; reiserfs_mknod() local
790 struct reiserfs_transaction_handle th; reiserfs_mkdir() local
904 struct reiserfs_transaction_handle th; reiserfs_rmdir() local
1003 struct reiserfs_transaction_handle th; reiserfs_unlink() local
1107 struct reiserfs_transaction_handle th; reiserfs_symlink() local
1206 struct reiserfs_transaction_handle th; reiserfs_link() local
1322 struct reiserfs_transaction_handle th; reiserfs_rename() local
[all...]
/kernel/linux/linux-6.6/fs/reiserfs/
H A Dnamei.c198 /* take bits from 7-th to 30-th including both bounds */ in get_third_component()
431 static int reiserfs_add_entry(struct reiserfs_transaction_handle *th, in reiserfs_add_entry() argument
452 BUG_ON(!th->t_trans_id); in reiserfs_add_entry()
546 PROC_INFO_MAX(th->t_super, max_hash_collisions, gen_number); in reiserfs_add_entry()
565 reiserfs_paste_into_item(th, &path, &entry_key, dir, buffer, in reiserfs_add_entry()
578 reiserfs_update_sd(th, dir); in reiserfs_add_entry()
634 struct reiserfs_transaction_handle th; in reiserfs_create() local
659 retval = journal_begin(&th, dir->i_sb, jbegin_count); in reiserfs_create()
666 reiserfs_new_inode(&th, di in reiserfs_create()
706 struct reiserfs_transaction_handle th; reiserfs_mknod() local
790 struct reiserfs_transaction_handle th; reiserfs_mkdir() local
904 struct reiserfs_transaction_handle th; reiserfs_rmdir() local
1004 struct reiserfs_transaction_handle th; reiserfs_unlink() local
1109 struct reiserfs_transaction_handle th; reiserfs_symlink() local
1208 struct reiserfs_transaction_handle th; reiserfs_link() local
1325 struct reiserfs_transaction_handle th; reiserfs_rename() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dtest_btf_skc_cls_ingress.c27 static void test_syncookie_helper(struct ipv6hdr *ip6h, struct tcphdr *th, in test_syncookie_helper() argument
31 if (th->syn) { in test_syncookie_helper()
37 if (th->doff * 4 != 40) { in test_syncookie_helper()
42 if ((void *)th + 40 > data_end) { in test_syncookie_helper()
48 th, 40); in test_syncookie_helper()
58 th, sizeof(*th)); in test_syncookie_helper()
64 recv_cookie = bpf_ntohl(th->ack_seq) - 1; in test_syncookie_helper()
74 struct tcphdr *th; in handle_ip6_tcp() local
79 th in handle_ip6_tcp()
[all...]

Completed in 14 milliseconds

12345678910>>...15