Home
last modified time | relevance | path

Searched refs:th (Results 1 – 25 of 447) sorted by relevance

12345678910>>...18

/openbmc/linux/drivers/macintosh/
H A Dtherm_adt746x.c211 if (th->temps[0] != th->cached_temp[0] in display_stats()
212 || th->temps[1] != th->cached_temp[1] in display_stats()
213 || th->temps[2] != th->cached_temp[2]) { in display_stats()
218 th->temps[0], th->temps[1], th->temps[2], in display_stats()
219 th->limits[0], th->limits[1], th->limits[2], in display_stats()
222 th->cached_temp[0] = th->temps[0]; in display_stats()
223 th->cached_temp[1] = th->temps[1]; in display_stats()
224 th->cached_temp[2] = th->temps[2]; in display_stats()
237 int var = th->temps[i] - th->limits[i]; in update_fans_speed()
535 th->initial_limits[2], th->limits[0], th->limits[1], in probe_thermostat()
[all …]
/openbmc/obmc-console/
H A Dtty-handler.c55 th->fd_flags = flags; in tty_set_fd_blocking()
79 if (th->blocked) { in tty_set_blocked()
83 console_poller_set_events(th->console, th->poller, events); in tty_set_blocked()
152 console_poller_unregister(th->console, th->poller); in tty_ringbuffer_poll()
187 th->poller = NULL; in tty_poll()
188 close(th->fd); in tty_poll()
260 if (th->fd < 0) { in tty_init()
267 th->fd_flags = fcntl(th->fd, F_GETFL, 0); in tty_init()
301 if (th->poller) { in tty_fini()
302 console_poller_unregister(th->console, th->poller); in tty_fini()
[all …]
/openbmc/linux/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()
34 struct thermal_handler_param thp = { .th = th, .arg = arg }; in thermal_sampling_handle()
36 if (!th) in thermal_sampling_handle()
43 return nl_recvmsgs(th->sk_sampling, th->cb_sampling); in thermal_sampling_handle()
48 if (!th) in thermal_sampling_fd()
51 return nl_socket_get_fd(th->sk_sampling); in thermal_sampling_fd()
56 if (nl_unsubscribe_thermal(th->sk_sampling, th->cb_sampling, in thermal_sampling_exit()
60 nl_thermal_disconnect(th->sk_sampling, th->cb_sampling); in thermal_sampling_exit()
67 if (nl_thermal_connect(&th->sk_sampling, &th->cb_sampling)) in thermal_sampling_init()
[all …]
H A Dthermal.c104 thermal_cmd_exit(th); in thermal_exit()
105 thermal_events_exit(th); in thermal_exit()
106 thermal_sampling_exit(th); in thermal_exit()
108 free(th); in thermal_exit()
113 struct thermal_handler *th; in thermal_init() local
115 th = malloc(sizeof(*th)); in thermal_init()
116 if (!th) in thermal_init()
118 th->ops = ops; in thermal_init()
126 if (thermal_cmd_init(th)) in thermal_init()
129 return th; in thermal_init()
[all …]
H A Devents.c121 struct thermal_handler_param thp = { .th = th, .arg = arg }; in thermal_events_handle()
123 if (!th) 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()
138 return nl_socket_get_fd(th->sk_event); in thermal_events_fd()
143 if (nl_unsubscribe_thermal(th->sk_event, th->cb_event, in thermal_events_exit()
147 nl_thermal_disconnect(th->sk_event, th->cb_event); in thermal_events_exit()
154 thermal_events_ops_init(&th->ops->events); in thermal_events_init()
156 if (nl_thermal_connect(&th->sk_event, &th->cb_event)) in thermal_events_init()
[all …]
H A Dcommands.c282 if (nl_send_msg(th->sk_cmd, th->cb_cmd, msg, genl_handle_msg, arg)) in thermal_genl_auto()
292 return thermal_genl_auto(th, -1, THERMAL_GENL_CMD_TZ_GET_ID, in thermal_cmd_get_tz()
298 return thermal_genl_auto(th, -1, THERMAL_GENL_CMD_CDEV_GET, in thermal_cmd_get_cdev()
304 return thermal_genl_auto(th, tz->id, THERMAL_GENL_CMD_TZ_GET_TRIP, in thermal_cmd_get_trip()
310 return thermal_genl_auto(th, tz->id, THERMAL_GENL_CMD_TZ_GET_GOV, 0, tz); in thermal_cmd_get_governor()
318 thermal_error_t thermal_cmd_exit(struct thermal_handler *th) in thermal_cmd_exit() argument
323 nl_thermal_disconnect(th->sk_cmd, th->cb_cmd); in thermal_cmd_exit()
328 thermal_error_t thermal_cmd_init(struct thermal_handler *th) in thermal_cmd_init() argument
333 if (nl_thermal_connect(&th->sk_cmd, &th->cb_cmd)) in thermal_cmd_init()
340 ret = genl_ops_resolve(th->sk_cmd, &thermal_cmd_ops); in thermal_cmd_init()
[all …]
/openbmc/linux/drivers/thermal/
H A Ddb8500_thermal.c87 th->cur_index = idx; in db8500_thermal_update_config()
118 dev_dbg(th->dev, in prcmu_low_irq_handler()
140 dev_dbg(th->dev, in prcmu_high_irq_handler()
157 th = devm_kzalloc(dev, sizeof(*th), GFP_KERNEL); in db8500_thermal_probe()
158 if (!th) in db8500_thermal_probe()
161 th->dev = dev; in db8500_thermal_probe()
169 "dbx500_temp_low", th); in db8500_thermal_probe()
181 "dbx500_temp_high", th); in db8500_thermal_probe()
188 th->tz = devm_thermal_of_zone_register(dev, 0, th, &thdev_ops); in db8500_thermal_probe()
189 if (IS_ERR(th->tz)) { in db8500_thermal_probe()
[all …]
/openbmc/linux/drivers/hwtracing/intel_th/
H A Dcore.c129 th->thdev[lowest] = th->thdev[i]; in intel_th_remove()
250 ret = th->activate(th); in intel_th_output_activate()
267 th->deactivate(th); in intel_th_output_activate()
291 th->deactivate(th); in intel_th_output_deactivate()
760 th->thdev[th->num_thdevs++] = thdev; in intel_th_output_enable()
799 th->thdev[th->num_thdevs++] = thdev; in intel_th_populate()
870 th = kzalloc(sizeof(*th), GFP_KERNEL); in intel_th_alloc()
871 if (!th) in intel_th_alloc()
927 return th; in intel_th_alloc()
951 if (th->thdev[i] != th->hub) in intel_th_free()
[all …]
H A Dacpi.c42 struct intel_th *th; in intel_th_acpi_probe() local
54 th = intel_th_alloc(&pdev->dev, (void *)id->driver_data, resource, r); in intel_th_acpi_probe()
55 if (IS_ERR(th)) in intel_th_acpi_probe()
56 return PTR_ERR(th); in intel_th_acpi_probe()
58 adev->driver_data = th; in intel_th_acpi_probe()
65 struct intel_th *th = platform_get_drvdata(pdev); in intel_th_acpi_remove() local
67 intel_th_free(th); in intel_th_acpi_remove()
/openbmc/linux/net/ceph/
H A Dauth_x.c134 return th; in get_ticket_handler()
138 th = kzalloc(sizeof(*th), GFP_NOFS); in get_ticket_handler()
139 if (!th) in get_ticket_handler()
144 return th; in get_ticket_handler()
152 dout("remove_ticket_handler %p %d\n", th, th->service); in remove_ticket_handler()
157 kfree(th); in remove_ticket_handler()
360 (th->ticket_blob ? th->ticket_blob->vec.iov_len : 0); in ceph_x_build_authorizer()
399 dout(" th %p secret_id %lld %lld\n", th, th->secret_id, in ceph_x_build_authorizer()
451 ceph_entity_type_name(th->service), th->secret_id); in have_key()
499 if (IS_ERR(th)) in ceph_x_build_request()
[all …]
/openbmc/linux/net/ipv4/
H A Dtcp_offload.c48 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()
117 th = tcp_hdr(skb); in tcp_gso_segment()
126 th->fin = th->psh = 0; in tcp_gso_segment()
132 th->check = gso_make_checksum(skb, ~th->check); in tcp_gso_segment()
144 th->cwr = 0; in tcp_gso_segment()
172 th->check = ~csum_fold(csum_add(csum_unfold(th->check), delta)); in tcp_gso_segment()
176 th->check = gso_make_checksum(skb, ~th->check); in tcp_gso_segment()
185 struct tcphdr *th; in tcp_gro_receive() local
[all …]
/openbmc/linux/net/netfilter/
H A Dnf_synproxy_core.c31 int length = (th->doff * 4) - sizeof(*th); in synproxy_parse_options()
620 mss = __cookie_v4_check(ip_hdr(skb), th, ntohl(th->ack_seq) - 1); in synproxy_recv_client_ack()
666 if (!th) in ipv4_synproxy_hook()
678 if (!th->syn || th->ack || in ipv4_synproxy_hook()
694 if (!th->syn && th->ack && in ipv4_synproxy_hook()
717 if (!th->syn || !th->ack) in ipv4_synproxy_hook()
1037 mss = nf_cookie_v6_check(ipv6_hdr(skb), th, ntohl(th->ack_seq) - 1); in synproxy_recv_client_ack_ipv6()
1089 if (!th) in ipv6_synproxy_hook()
1101 if (!th->syn || th->ack || in ipv6_synproxy_hook()
1117 if (!th->syn && th->ack && in ipv6_synproxy_hook()
[all …]
H A Dxt_tcpmss.c28 const struct tcphdr *th; in tcpmss_mt() local
36 th = skb_header_pointer(skb, par->thoff, sizeof(_tcph), &_tcph); in tcpmss_mt()
37 if (th == NULL) in tcpmss_mt()
41 if (th->doff*4 < sizeof(*th)) in tcpmss_mt()
44 optlen = th->doff*4 - sizeof(*th); in tcpmss_mt()
49 op = skb_header_pointer(skb, par->thoff + sizeof(*th), optlen, _opt); in tcpmss_mt()
/openbmc/linux/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->cwr) in synproxy_tg4()
48 synproxy_send_client_synack(net, skb, th, &opts); in synproxy_tg4()
51 } else if (th->ack && !(th->fin || th->rst || th->syn)) { in synproxy_tg4()
53 if (synproxy_recv_client_ack(net, skb, th, &opts, ntohl(th->seq))) { in synproxy_tg4()
/openbmc/linux/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->cwr) in synproxy_tg6()
48 synproxy_send_client_synack_ipv6(net, skb, th, &opts); in synproxy_tg6()
52 } else if (th->ack && !(th->fin || th->rst || th->syn)) { in synproxy_tg6()
54 if (synproxy_recv_client_ack_ipv6(net, skb, th, &opts, in synproxy_tg6()
55 ntohl(th->seq))) { in synproxy_tg6()
/openbmc/linux/tools/lib/thermal/include/
H A Dthermal.h92 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);
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,
118 LIBTHERMAL_API thermal_error_t thermal_cmd_get_trip(struct thermal_handler *th,
124 LIBTHERMAL_API thermal_error_t thermal_cmd_get_temp(struct thermal_handler *th,
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_btf_skc_cls_ingress.c31 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 = (struct tcphdr *)(ip6h + 1); in handle_ip6_tcp()
80 if (th + 1 > data_end) in handle_ip6_tcp()
84 if (th->dest != srv_sa6.sin6_port) in handle_ip6_tcp()
[all …]
/openbmc/linux/fs/reiserfs/
H A Dnamei.c452 BUG_ON(!th->t_trans_id); in reiserfs_add_entry()
682 err = journal_end(&th); in reiserfs_create()
768 err = journal_end(&th); in reiserfs_mknod()
867 err = journal_end(&th); in reiserfs_mkdir()
993 err = journal_end(&th); in reiserfs_rmdir()
1092 err = journal_end(&th); in reiserfs_unlink()
1187 err = journal_end(&th); in reiserfs_symlink()
1249 err = journal_end(&th); in reiserfs_link()
1459 journal_end(&th); in reiserfs_rename()
1483 journal_end(&th); in reiserfs_rename()
[all …]
H A Dinode.c725 if (!th) { in reiserfs_get_block()
750 if (!th) { in reiserfs_get_block()
831 if (!th) { in reiserfs_get_block()
914 (th); in reiserfs_get_block()
938 if (th) in reiserfs_get_block()
1141 if (th && (!dangle || (retval && !th->t_trans_id))) { in reiserfs_get_block()
2885 th = NULL; in reiserfs_write_end()
2936 if (th) { in reiserfs_write_end()
2962 if (th) { in reiserfs_write_end()
3025 if (th) { in reiserfs_commit_write()
[all …]
H A Dstree.c1053 BUG_ON(!th->t_trans_id); in prepare_for_delete_or_cut()
1196 BUG_ON(!th->t_trans_id); in init_tb_struct()
1267 BUG_ON(!th->t_trans_id); in reiserfs_delete_item()
1414 BUG_ON(!th->t_trans_id); in reiserfs_delete_solid_item()
1448 init_tb_struct(th, &tb, th->t_super, &path, in reiserfs_delete_solid_item()
1497 BUG_ON(!th->t_trans_id); in reiserfs_delete_object()
1565 BUG_ON(!th->t_trans_id); in maybe_indirect_to_direct()
1601 BUG_ON(!th->t_trans_id); in indirect_to_direct_roll_back()
1662 BUG_ON(!th->t_trans_id); in reiserfs_cut_from_item()
2116 init_tb_struct(th, &s_paste_balance, th->t_super, search_path, in reiserfs_paste_into_item()
[all …]
H A Dbitmap.c153 BUG_ON(!th->t_trans_id); in scan_bitmap_block()
258 journal_mark_dirty(th, bh); in scan_bitmap_block()
357 BUG_ON(!th->t_trans_id); in scan_bitmap()
426 BUG_ON(!th->t_trans_id); in _reiserfs_free_block()
459 journal_mark_dirty(th, sbh); in _reiserfs_free_block()
473 BUG_ON(!th->t_trans_id); in reiserfs_free_block()
494 BUG_ON(!th->t_trans_id); in reiserfs_free_prealloc_block()
495 RFALSE(!th->t_super, in reiserfs_free_prealloc_block()
509 BUG_ON(!th->t_trans_id); in __discard_prealloc()
541 BUG_ON(!th->t_trans_id); in reiserfs_discard_prealloc()
[all …]
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/css/
H A Djquery.dataTables-1.13.8.min.css1th.sorting,table.dataTable thead>tr>th.sorting_asc,table.dataTable thead>tr>th.sorting_desc,table.…
/openbmc/linux/net/ipv6/
H A Dsyncookies.c93 const struct tcphdr *th, __u16 *mssp) in __cookie_v6_init_sequence() argument
105 th->dest, ntohl(th->seq), mssind); in __cookie_v6_init_sequence()
112 const struct tcphdr *th = tcp_hdr(skb); in cookie_v6_init_sequence() local
120 __u32 seq = ntohl(th->seq) - 1; in __cookie_v6_check()
122 th->source, th->dest, seq); in __cookie_v6_check()
135 const struct tcphdr *th = tcp_hdr(skb); in cookie_v6_check() local
136 __u32 cookie = ntohl(th->ack_seq) - 1; in cookie_v6_check()
145 !th->ack || th->rst) in cookie_v6_check()
184 ireq->ir_rmt_port = th->source; in cookie_v6_check()
185 ireq->ir_num = ntohs(th->dest); in cookie_v6_check()
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dsharedbuffer_configuration.py36 def _get_static_size(self, th): argument
49 th = random.randint(3, 16)
51 return th
82 th = self._get_th(pool)
84 return (pool_n, th)
89 th = self._get_th(pool)
90 return (th,)
237 def dl_set(self, pool, th): argument
271 tcbind.dl_set(pool, th)
311 def dl_set(self, th): argument
[all …]
/openbmc/linux/drivers/net/slip/
H A Dslhc.c239 struct tcphdr *th, *oth; in slhc_compress() local
270 hlen = nlen + th->doff * 4; in slhc_compress()
276 if(hlen > isize || th->syn || th->fin || th->rst || in slhc_compress()
277 ! (th->ack)){ in slhc_compress()
359 || (th->doff > 5 && memcmp(th+1,cs->cs_tcpopt,((th->doff)-5)*4) != 0)){ in slhc_compress()
369 if(th->urg){ in slhc_compress()
436 if(th->psh) in slhc_compress()
441 csum = th->check; in slhc_compress()
443 memcpy(&cs->cs_tcp,th,20); in slhc_compress()
480 if (th->doff > 5) in slhc_compress()
[all …]

12345678910>>...18