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

1234567891011>>

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/gdb/gdb/gdbserver/
H A Dwin32-i386-low.c40 i386_get_thread_context (win32_thread_info *th, DEBUG_EVENT* current_event) argument
42 th->context.ContextFlags = \
48 GetThreadContext (th->h, &th->context);
52 if (th->tid == current_event->dwThreadId)
55 dr[0] = th->context.Dr0;
56 dr[1] = th->context.Dr1;
57 dr[2] = th->context.Dr2;
58 dr[3] = th->context.Dr3;
59 dr[6] = th
65 i386_set_thread_context(win32_thread_info *th, DEBUG_EVENT* current_event) argument
82 i386_thread_added(win32_thread_info *th) argument
104 i386_single_step(win32_thread_info *th) argument
166 i386_fetch_inferior_register(win32_thread_info *th, int r) argument
187 i386_store_inferior_register(win32_thread_info *th, int r) argument
[all...]
H A Dwin32-low.h40 void (*get_thread_context) (win32_thread_info *th, DEBUG_EVENT *current_event);
43 void (*set_thread_context) (win32_thread_info *th, DEBUG_EVENT *current_event);
46 void (*thread_added) (win32_thread_info *th);
49 void (*fetch_inferior_register) (win32_thread_info *th, int r);
52 void (*store_inferior_register) (win32_thread_info *th, int r);
54 void (*single_step) (win32_thread_info *th);
H A Dwin32-arm-low.c26 arm_get_thread_context (win32_thread_info *th, DEBUG_EVENT* current_event) argument
28 th->context.ContextFlags = \
32 GetThreadContext (th->h, &th->context);
36 arm_set_thread_context (win32_thread_info *th, DEBUG_EVENT* current_event) argument
38 SetThreadContext (th->h, &th->context);
92 arm_fetch_inferior_register (win32_thread_info *th, int r) argument
94 char *context_offset = regptr (&th->context, r);
100 arm_store_inferior_register (win32_thread_info *th, in argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/gdb/gdb/gdbserver/
H A Dwin32-i386-low.c40 i386_get_thread_context (win32_thread_info *th, DEBUG_EVENT* current_event) argument
42 th->context.ContextFlags = \
48 GetThreadContext (th->h, &th->context);
52 if (th->tid == current_event->dwThreadId)
55 dr[0] = th->context.Dr0;
56 dr[1] = th->context.Dr1;
57 dr[2] = th->context.Dr2;
58 dr[3] = th->context.Dr3;
59 dr[6] = th
65 i386_set_thread_context(win32_thread_info *th, DEBUG_EVENT* current_event) argument
82 i386_thread_added(win32_thread_info *th) argument
104 i386_single_step(win32_thread_info *th) argument
166 i386_fetch_inferior_register(win32_thread_info *th, int r) argument
187 i386_store_inferior_register(win32_thread_info *th, int r) argument
[all...]
H A Dwin32-low.h40 void (*get_thread_context) (win32_thread_info *th, DEBUG_EVENT *current_event);
43 void (*set_thread_context) (win32_thread_info *th, DEBUG_EVENT *current_event);
46 void (*thread_added) (win32_thread_info *th);
49 void (*fetch_inferior_register) (win32_thread_info *th, int r);
52 void (*store_inferior_register) (win32_thread_info *th, int r);
54 void (*single_step) (win32_thread_info *th);
H A Dwin32-arm-low.c26 arm_get_thread_context (win32_thread_info *th, DEBUG_EVENT* current_event) argument
28 th->context.ContextFlags = \
32 GetThreadContext (th->h, &th->context);
36 arm_set_thread_context (win32_thread_info *th, DEBUG_EVENT* current_event) argument
38 SetThreadContext (th->h, &th->context);
92 arm_fetch_inferior_register (win32_thread_info *th, int r) argument
94 char *context_offset = regptr (&th->context, r);
100 arm_store_inferior_register (win32_thread_info *th, in argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/gdb/gdb/gdbserver/
H A Dwin32-i386-low.c40 i386_get_thread_context (win32_thread_info *th, DEBUG_EVENT* current_event) argument
42 th->context.ContextFlags = \
48 GetThreadContext (th->h, &th->context);
52 if (th->tid == current_event->dwThreadId)
55 dr[0] = th->context.Dr0;
56 dr[1] = th->context.Dr1;
57 dr[2] = th->context.Dr2;
58 dr[3] = th->context.Dr3;
59 dr[6] = th
65 i386_set_thread_context(win32_thread_info *th, DEBUG_EVENT* current_event) argument
82 i386_thread_added(win32_thread_info *th) argument
104 i386_single_step(win32_thread_info *th) argument
166 i386_fetch_inferior_register(win32_thread_info *th, int r) argument
187 i386_store_inferior_register(win32_thread_info *th, int r) argument
[all...]
H A Dwin32-low.h40 void (*get_thread_context) (win32_thread_info *th, DEBUG_EVENT *current_event);
43 void (*set_thread_context) (win32_thread_info *th, DEBUG_EVENT *current_event);
46 void (*thread_added) (win32_thread_info *th);
49 void (*fetch_inferior_register) (win32_thread_info *th, int r);
52 void (*store_inferior_register) (win32_thread_info *th, int r);
54 void (*single_step) (win32_thread_info *th);
H A Dwin32-arm-low.c26 arm_get_thread_context (win32_thread_info *th, DEBUG_EVENT* current_event) argument
28 th->context.ContextFlags = \
32 GetThreadContext (th->h, &th->context);
36 arm_set_thread_context (win32_thread_info *th, DEBUG_EVENT* current_event) argument
38 SetThreadContext (th->h, &th->context);
92 arm_fetch_inferior_register (win32_thread_info *th, int r) argument
94 char *context_offset = regptr (&th->context, r);
100 arm_store_inferior_register (win32_thread_info *th, in argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/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);
97 write_reg(struct thermostat* th, int reg, u8 data) argument
104 rc = i2c_master_send(th->clt, (const char *)tmp, 2);
113 read_reg(struct thermostat* th, int reg) argument
119 rc = i2c_master_send(th->clt, &reg_addr, 1);
124 rc = i2c_master_recv(th->clt, (char *)&data, 1);
163 struct thermostat *th = i2c_get_clientdata(client); local
174 th->limits[0], th
190 read_fan_speed(struct thermostat *th, u8 addr) argument
204 write_both_fan_speed(struct thermostat *th, int speed) argument
211 write_fan_speed(struct thermostat *th, int speed, int fan) argument
261 read_sensors(struct thermostat *th) argument
270 display_stats(struct thermostat *th) argument
289 update_fans_speed(struct thermostat *th) argument
346 struct thermostat* th = arg; local
372 set_limit(struct thermostat *th, int i) argument
385 struct thermostat* th; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/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);
97 write_reg(struct thermostat* th, int reg, u8 data) argument
104 rc = i2c_master_send(th->clt, (const char *)tmp, 2);
113 read_reg(struct thermostat* th, int reg) argument
119 rc = i2c_master_send(th->clt, &reg_addr, 1);
124 rc = i2c_master_recv(th->clt, (char *)&data, 1);
163 struct thermostat *th = i2c_get_clientdata(client); local
174 th->limits[0], th
190 read_fan_speed(struct thermostat *th, u8 addr) argument
204 write_both_fan_speed(struct thermostat *th, int speed) argument
211 write_fan_speed(struct thermostat *th, int speed, int fan) argument
261 read_sensors(struct thermostat *th) argument
270 display_stats(struct thermostat *th) argument
289 update_fans_speed(struct thermostat *th) argument
346 struct thermostat* th = arg; local
372 set_limit(struct thermostat *th, int i) argument
385 struct thermostat* th; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/sfi/
H A Dsfi_core.c166 struct sfi_table_header *th; local
170 th = sfi_map_memory(pa, sizeof(struct sfi_table_header));
172 th = (void *)syst_va + (pa - syst_pa);
175 if (TABLE_ON_PAGE(th, th, th->len))
176 return th;
179 length = th->len;
181 sfi_unmap_memory(th, sizeof(struct sfi_table_header));
192 void sfi_unmap_table(struct sfi_table_header *th) argument
199 sfi_table_check_key(struct sfi_table_header *th, struct sfi_table_key *key) argument
233 struct sfi_table_header *th; local
261 struct sfi_table_header *th; local
274 sfi_put_table(struct sfi_table_header *th) argument
395 struct sfi_table_header *th = NULL; local
421 struct sfi_table_header *th; local
[all...]
H A Dsfi_acpi.c83 struct acpi_table_header *th)
85 return (struct sfi_table_header *)th;
89 struct sfi_table_header *th)
91 return (struct acpi_table_header *)th;
99 static int __init sfi_acpi_parse_xsdt(struct sfi_table_header *th) argument
105 xsdt_va = (struct acpi_table_xsdt *)th;
183 struct acpi_table_header *th = NULL; local
191 th = sfi_acpi_get_table(&key);
192 if (!th)
196 th, t
82 acpi_to_sfi_th( struct acpi_table_header *th) argument
88 sfi_to_acpi_th( struct sfi_table_header *th) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/sfi/
H A Dsfi_core.c166 struct sfi_table_header *th; local
170 th = sfi_map_memory(pa, sizeof(struct sfi_table_header));
172 th = (void *)syst_va + (pa - syst_pa);
175 if (TABLE_ON_PAGE(th, th, th->len))
176 return th;
179 length = th->len;
181 sfi_unmap_memory(th, sizeof(struct sfi_table_header));
192 void sfi_unmap_table(struct sfi_table_header *th) argument
199 sfi_table_check_key(struct sfi_table_header *th, struct sfi_table_key *key) argument
233 struct sfi_table_header *th; local
261 struct sfi_table_header *th; local
274 sfi_put_table(struct sfi_table_header *th) argument
395 struct sfi_table_header *th = NULL; local
421 struct sfi_table_header *th; local
[all...]
H A Dsfi_acpi.c83 struct acpi_table_header *th)
85 return (struct sfi_table_header *)th;
89 struct sfi_table_header *th)
91 return (struct acpi_table_header *)th;
99 static int __init sfi_acpi_parse_xsdt(struct sfi_table_header *th) argument
105 xsdt_va = (struct acpi_table_xsdt *)th;
183 struct acpi_table_header *th = NULL; local
191 th = sfi_acpi_get_table(&key);
192 if (!th)
196 th, t
82 acpi_to_sfi_th( struct acpi_table_header *th) argument
88 sfi_to_acpi_th( struct sfi_table_header *th) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/fs/ceph/
H A Dauth_x.c93 struct ceph_x_ticket_handler *th; local
99 th = rb_entry(parent, struct ceph_x_ticket_handler, node);
100 if (service < th->service)
102 else if (service > th->service)
105 return th;
109 th = kzalloc(sizeof(*th), GFP_NOFS);
110 if (!th)
112 th->service = service;
113 rb_link_node(&th
118 remove_ticket_handler(struct ceph_auth_client *ac, struct ceph_x_ticket_handler *th) argument
161 struct ceph_x_ticket_handler *th; local
272 ceph_x_build_authorizer(struct ceph_auth_client *ac, struct ceph_x_ticket_handler *th, struct ceph_x_authorizer *au) argument
339 ceph_x_encode_ticket(struct ceph_x_ticket_handler *th, void **p, void *end) argument
369 struct ceph_x_ticket_handler *th; local
399 struct ceph_x_ticket_handler *th = local
476 struct ceph_x_ticket_handler *th; local
533 struct ceph_x_ticket_handler *th; local
562 struct ceph_x_ticket_handler *th; local
614 struct ceph_x_ticket_handler *th = local
629 struct ceph_x_ticket_handler *th; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/fs/ceph/
H A Dauth_x.c93 struct ceph_x_ticket_handler *th; local
99 th = rb_entry(parent, struct ceph_x_ticket_handler, node);
100 if (service < th->service)
102 else if (service > th->service)
105 return th;
109 th = kzalloc(sizeof(*th), GFP_NOFS);
110 if (!th)
112 th->service = service;
113 rb_link_node(&th
118 remove_ticket_handler(struct ceph_auth_client *ac, struct ceph_x_ticket_handler *th) argument
161 struct ceph_x_ticket_handler *th; local
272 ceph_x_build_authorizer(struct ceph_auth_client *ac, struct ceph_x_ticket_handler *th, struct ceph_x_authorizer *au) argument
339 ceph_x_encode_ticket(struct ceph_x_ticket_handler *th, void **p, void *end) argument
369 struct ceph_x_ticket_handler *th; local
399 struct ceph_x_ticket_handler *th = local
476 struct ceph_x_ticket_handler *th; local
533 struct ceph_x_ticket_handler *th; local
562 struct ceph_x_ticket_handler *th; local
614 struct ceph_x_ticket_handler *th = local
629 struct ceph_x_ticket_handler *th; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/net/netfilter/
H A Dxt_tcpmss.c31 const struct tcphdr *th; local
39 th = skb_header_pointer(skb, par->thoff, sizeof(_tcph), &_tcph);
40 if (th == NULL)
44 if (th->doff*4 < sizeof(*th))
47 optlen = th->doff*4 - sizeof(*th);
52 op = skb_header_pointer(skb, par->thoff + sizeof(*th), optlen, _opt);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/net/netfilter/
H A Dxt_tcpmss.c31 const struct tcphdr *th; local
39 th = skb_header_pointer(skb, par->thoff, sizeof(_tcph), &_tcph);
40 if (th == NULL)
44 if (th->doff*4 < sizeof(*th))
47 optlen = th->doff*4 - sizeof(*th);
52 op = skb_header_pointer(skb, par->thoff + sizeof(*th), optlen, _opt);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/pppd/modules/
H A Dvjcompress.c182 register struct tcphdr *th; local
197 th = (struct tcphdr *)&((int *)ip)[hlen];
198 if ((th->th_flags & (TH_SYN|TH_FIN|TH_RST|TH_ACK)) != TH_ACK)
210 *(int *)th != ((int *)&cs->cs_ip)[getip_hl(cs->cs_ip)]) {
231 && *(int *)th == ((int *)&cs->cs_ip)[getip_hl(cs->cs_ip)])
245 hlen += getth_off(*th);
269 * check is unnecessary but costless). The 4th line checks the TCP
270 * header length. The 5th line checks IP options, if any. The 6th
277 hlen += getth_off(*th);
484 register struct tcphdr *th; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/pppd/modules/
H A Dvjcompress.c182 register struct tcphdr *th; local
197 th = (struct tcphdr *)&((int *)ip)[hlen];
198 if ((th->th_flags & (TH_SYN|TH_FIN|TH_RST|TH_ACK)) != TH_ACK)
210 *(int *)th != ((int *)&cs->cs_ip)[getip_hl(cs->cs_ip)]) {
231 && *(int *)th == ((int *)&cs->cs_ip)[getip_hl(cs->cs_ip)])
245 hlen += getth_off(*th);
269 * check is unnecessary but costless). The 4th line checks the TCP
270 * header length. The 5th line checks IP options, if any. The 6th
277 hlen += getth_off(*th);
484 register struct tcphdr *th; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/pppd/modules/
H A Dvjcompress.c182 register struct tcphdr *th; local
197 th = (struct tcphdr *)&((int *)ip)[hlen];
198 if ((th->th_flags & (TH_SYN|TH_FIN|TH_RST|TH_ACK)) != TH_ACK)
210 *(int *)th != ((int *)&cs->cs_ip)[getip_hl(cs->cs_ip)]) {
231 && *(int *)th == ((int *)&cs->cs_ip)[getip_hl(cs->cs_ip)])
245 hlen += getth_off(*th);
269 * check is unnecessary but costless). The 4th line checks the TCP
270 * header length. The 5th line checks IP options, if any. The 6th
277 hlen += getth_off(*th);
484 register struct tcphdr *th; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/tools/perf/util/
H A Dthread.c108 struct thread *th; local
120 th = rb_entry(parent, struct thread, rb_node);
122 if (th->pid == pid) {
123 self->last_match = th;
124 return th;
127 if (pid < th->pid)
133 th = thread__new(pid);
134 if (th != NULL) {
135 rb_link_node(&th->rb_node, parent, p);
136 rb_insert_color(&th
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/tools/perf/util/
H A Dthread.c108 struct thread *th; local
120 th = rb_entry(parent, struct thread, rb_node);
122 if (th->pid == pid) {
123 self->last_match = th;
124 return th;
127 if (pid < th->pid)
133 th = thread__new(pid);
134 if (th != NULL) {
135 rb_link_node(&th->rb_node, parent, p);
136 rb_insert_color(&th
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/gdb/gdb/testsuite/gdb.threads/
H A Dthread_check.c51 pthread_t th[N]; local
54 if (pthread_create (&th[n], NULL, tf, (void *) (long int) n) != 0)
65 if (pthread_join (th[n], NULL) != 0)

Completed in 394 milliseconds

1234567891011>>