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

123456789

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/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...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/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...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/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...]
/netgear-R7000-V1.0.7.12_1.2.5/src/router/misc/
H A Dstats.pl86 [th('Board type').td($query->param('boardtype')),
87 th('Board number').td($query->param('boardnum')),
88 th('CPU clock').td($query->param('clkfreq')),
89 th('OS name').td($query->param('os_name')),
90 th('OS version').td($query->param('os_version')),
91 th('Uptime').td($query->param('uptime')),
93 th('WAN MAC address').td($query->param('wan_hwaddr')),
94 th('WAN IP address').td($query->param('wan_ipaddr')),
95 th('WAN protocol').td($query->param('wan_proto')),
96 th('WA
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/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);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ppp-2.4.4/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...]
/netgear-R7000-V1.0.7.12_1.2.5/src/router/ppp/modules/
H A Dvjcompress.c178 register struct tcphdr *th; local
193 th = (struct tcphdr *)&((int *)ip)[hlen];
194 if ((th->th_flags & (TH_SYN|TH_FIN|TH_RST|TH_ACK)) != TH_ACK)
206 *(int *)th != ((int *)&cs->cs_ip)[getip_hl(cs->cs_ip)]) {
227 && *(int *)th == ((int *)&cs->cs_ip)[getip_hl(cs->cs_ip)])
241 hlen += getth_off(*th);
265 * check is unnecessary but costless). The 4th line checks the TCP
266 * header length. The 5th line checks IP options, if any. The 6th
273 hlen += getth_off(*th);
480 register struct tcphdr *th; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/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...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/libvorbis-1.2.3/vq/
H A Dmake_residue_books.pl89 my$th;
94 $th=$2;
99 if(defined($th)){
101 $thlist.="-$th";
107 if(defined($th)){
109 $thlist.="$th";
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/misc/sgi-gru/
H A Dgrulib.h62 #define CONTEXT_WINDOW_BYTES(th) (GRU_GSEG_PAGESIZE * (th))
63 #define THREAD_POINTER(p, th) (p + GRU_GSEG_PAGESIZE * (th))
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/security/apparmor/
H A Dmatch.c38 struct table_header th; local
47 th.td_id = be16_to_cpu(*(u16 *) (blob)) - 1;
48 th.td_flags = be16_to_cpu(*(u16 *) (blob + 2));
49 th.td_lolen = be32_to_cpu(*(u32 *) (blob + 8));
52 if (!(th.td_flags == YYTD_DATA16 || th.td_flags == YYTD_DATA32 ||
53 th.td_flags == YYTD_DATA8))
56 tsize = table_size(th.td_lolen, th.td_flags);
62 *table = th;
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv4/netfilter/
H A Dipt_ecn.c36 const struct tcphdr *th; local
41 th = skb_header_pointer(skb, ip_hdrlen(skb), sizeof(_tcph), &_tcph);
42 if (th == NULL) {
49 if (th->ece == 1)
52 if (th->ece == 0)
59 if (th->cwr == 1)
62 if (th->cwr == 0)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/reiserfs/
H A Dinode.c34 struct reiserfs_transaction_handle th; local
51 if (journal_begin(&th, inode->i_sb, jbegin_count))
55 reiserfs_discard_prealloc(&th, inode);
57 err = reiserfs_delete_object(&th, inode);
65 if (journal_end(&th, inode->i_sb, jbegin_count))
225 static int restart_transaction(struct reiserfs_transaction_handle *th, argument
228 struct super_block *s = th->t_super;
229 int len = th->t_blocks_allocated;
232 BUG_ON(!th->t_trans_id);
233 BUG_ON(!th
577 _allocate_block(struct reiserfs_transaction_handle *th, sector_t block, struct inode *inode, b_blocknr_t * allocated_block_nr, struct treepath *path, int flags) argument
609 struct reiserfs_transaction_handle *th = NULL; local
1314 reiserfs_update_sd_size(struct reiserfs_transaction_handle *th, struct inode *inode, loff_t size) argument
1616 struct reiserfs_transaction_handle th; local
1639 reiserfs_new_directory(struct reiserfs_transaction_handle *th, struct inode *inode, struct item_head *ih, struct treepath *path, struct inode *dir) argument
1698 reiserfs_new_symlink(struct reiserfs_transaction_handle *th, struct inode *inode, struct item_head *ih, struct treepath *path, const char *symname, int item_len) argument
1745 reiserfs_new_inode(struct reiserfs_transaction_handle *th, struct inode *dir, int mode, const char *symname, loff_t i_size, struct dentry *dentry, struct inode *inode, struct reiserfs_security_handle *security) argument
2067 struct reiserfs_transaction_handle th; local
2165 struct reiserfs_transaction_handle th; local
2328 struct reiserfs_transaction_handle th; local
2573 struct reiserfs_transaction_handle *th; local
2583 struct reiserfs_transaction_handle *th = current->journal_info; local
2629 struct reiserfs_transaction_handle *th; local
2640 struct reiserfs_transaction_handle *th = current->journal_info; local
2680 struct reiserfs_transaction_handle *th; local
2781 struct reiserfs_transaction_handle *th = NULL; local
3105 struct reiserfs_transaction_handle th; local
3135 struct reiserfs_transaction_handle th; local
[all...]
H A Dnamei.c186 // take bits from 7-th to 30-th including both bounds
403 static int reiserfs_add_entry(struct reiserfs_transaction_handle *th, argument
419 BUG_ON(!th->t_trans_id);
504 PROC_INFO_MAX(th->t_super, max_hash_collisions, gen_number);
522 reiserfs_paste_into_item(th, &path, &entry_key, dir, buffer,
535 reiserfs_update_sd(th, dir);
583 struct reiserfs_transaction_handle th; local
602 retval = journal_begin(&th, dir->i_sb, jbegin_count);
609 reiserfs_new_inode(&th, di
649 struct reiserfs_transaction_handle th; local
725 struct reiserfs_transaction_handle th; local
826 struct reiserfs_transaction_handle th; local
916 struct reiserfs_transaction_handle th; local
1014 struct reiserfs_transaction_handle th; local
1106 struct reiserfs_transaction_handle th; local
1218 struct reiserfs_transaction_handle th; local
[all...]
H A Dbitmap.c135 static int scan_bitmap_block(struct reiserfs_transaction_handle *th, argument
139 struct super_block *s = th->t_super;
145 BUG_ON(!th->t_trans_id);
226 journal_mark_dirty(th, s, bh);
233 journal_mark_dirty(th, s, SB_BUFFER_WITH_SB(s));
311 static int scan_bitmap(struct reiserfs_transaction_handle *th, argument
316 struct super_block *s = th->t_super;
324 BUG_ON(!th->t_trans_id);
356 scan_bitmap_block(th, bm, &off, off_max,
367 scan_bitmap_block(th, b
381 _reiserfs_free_block(struct reiserfs_transaction_handle *th, struct inode *inode, b_blocknr_t block, int for_unformatted) argument
431 reiserfs_free_block(struct reiserfs_transaction_handle *th, struct inode *inode, b_blocknr_t block, int for_unformatted) argument
455 reiserfs_free_prealloc_block(struct reiserfs_transaction_handle *th, struct inode *inode, b_blocknr_t block) argument
466 __discard_prealloc(struct reiserfs_transaction_handle *th, struct reiserfs_inode_info *ei) argument
490 reiserfs_discard_prealloc(struct reiserfs_transaction_handle *th, struct inode *inode) argument
499 reiserfs_discard_all_prealloc(struct reiserfs_transaction_handle *th) argument
[all...]
H A Dstree.c501 // 'level'-th level
984 static char prepare_for_delete_or_cut(struct reiserfs_transaction_handle *th, struct inode *inode, struct treepath *path, const struct cpu_key *item_key, int *removed, /* Number of unformatted nodes which were removed argument
993 BUG_ON(!th->t_trans_id);
1047 reiserfs_transaction_free_space(th) < JOURNAL_FOR_FREE_BLOCK_AND_UPDATE_SD)
1056 journal_mark_dirty(th, sb, bh);
1057 reiserfs_free_block(th, inode, block, 1);
1118 static void init_tb_struct(struct reiserfs_transaction_handle *th, argument
1124 BUG_ON(!th->t_trans_id);
1127 tb->transaction_handle = th;
1172 * th
1178 reiserfs_delete_item(struct reiserfs_transaction_handle *th, struct treepath *path, const struct cpu_key *item_key, struct inode *inode, struct buffer_head *un_bh) argument
1320 reiserfs_delete_solid_item(struct reiserfs_transaction_handle *th, struct inode *inode, struct reiserfs_key *key) argument
1397 reiserfs_delete_object(struct reiserfs_transaction_handle *th, struct inode *inode) argument
1458 maybe_indirect_to_direct(struct reiserfs_transaction_handle *th, struct inode *inode, struct page *page, struct treepath *path, const struct cpu_key *item_key, loff_t new_file_size, char *mode) argument
1496 indirect_to_direct_roll_back(struct reiserfs_transaction_handle *th, struct inode *inode, struct treepath *path) argument
1539 reiserfs_cut_from_item(struct reiserfs_transaction_handle *th, struct treepath *path, struct cpu_key *item_key, struct inode *inode, struct page *page, loff_t new_file_size) argument
1733 truncate_directory(struct reiserfs_transaction_handle *th, struct inode *inode) argument
1750 reiserfs_do_truncate(struct reiserfs_transaction_handle *th, struct inode *inode, struct page *page, int update_timestamps ) argument
1942 reiserfs_paste_into_item(struct reiserfs_transaction_handle *th, struct treepath *search_path, const struct cpu_key *key, struct inode *inode, const char *body, int pasted_size) argument
2030 reiserfs_insert_item(struct reiserfs_transaction_handle *th, struct treepath *path, const struct cpu_key *key, struct item_head *ih, struct inode *inode, const char *body) argument
[all...]
H A Dobjectid.c47 __u32 reiserfs_get_unused_objectid(struct reiserfs_transaction_handle *th) argument
49 struct super_block *s = th->t_super;
54 BUG_ON(!th->t_trans_id);
86 journal_mark_dirty(th, s, SB_BUFFER_WITH_SB(s));
91 void reiserfs_release_objectid(struct reiserfs_transaction_handle *th, argument
94 struct super_block *s = th->t_super;
99 BUG_ON(!th->t_trans_id);
104 journal_mark_dirty(th, s, SB_BUFFER_WITH_SB(s));
H A Dfile.c35 struct reiserfs_transaction_handle th; local
65 err = journal_begin(&th, inode->i_sb, 1);
72 err = journal_join_abort(&th, inode->i_sb, 1);
93 reiserfs_discard_prealloc(&th, inode);
95 err = journal_end(&th, inode->i_sb, 1);
171 struct reiserfs_transaction_handle th; local
174 th.t_trans_id = 0;
179 ret = journal_begin(&th, s, bh_per_page + 1);
198 journal_mark_dirty(&th, s, bh);
212 ret = journal_end(&th,
264 struct reiserfs_transaction_handle th; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/char/
H A Dds1620.c336 struct therm th; local
339 ds1620_read_state(&th);
344 th.hi >> 1, th.hi & 1 ? 5 : 0,
345 th.lo >> 1, th.lo & 1 ? 5 : 0,
371 struct therm th, th_start; local
385 ds1620_read_state(&th);
392 ds1620_write_state(&th);
406 ds1620_read_state(&th);
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv4/
H A Dsyncookies.c165 const struct tcphdr *th = tcp_hdr(skb); local
179 th->source, th->dest, ntohl(th->seq),
197 const struct tcphdr *th = tcp_hdr(skb); local
198 __u32 seq = ntohl(th->seq) - 1;
200 th->source, th->dest, seq,
272 const struct tcphdr *th = tcp_hdr(skb); local
273 __u32 cookie = ntohl(th
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/parisc/hpux/
H A Dgate.S29 ldw -64(%r30), %r29 ;! 8th argument
30 ldw -60(%r30), %r19 ;! 7th argument
31 ldw -56(%r30), %r20 ;! 6th argument
32 ldw -52(%r30), %r21 ;! 5th argument
64 STREG %r19, TASK_PT_GR19(%r1) /* 7th argument */
65 STREG %r20, TASK_PT_GR20(%r1) /* 6th argument */
66 STREG %r21, TASK_PT_GR21(%r1) /* 5th argument */
68 STREG %r23, TASK_PT_GR23(%r1) /* 4th argument */
75 STREG %r29, TASK_PT_GR29(%r1) /* 8th argument */
86 stw %r21, -52(%r30) ;! 5th argumen
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/usbip/
H A Dusbip_event.c87 struct task_struct *th; local
94 th = kthread_run(usbip_thread, (void *)eh, "usbip");
95 if (IS_ERR(th)) {
98 return PTR_ERR(th);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iproute2/misc/
H A Dlnstat.c156 static struct table_hdr th; local
160 th.hdr[i] = malloc(HDR_LINE_LENGTH);
161 memset(th.hdr[i], 0, sizeof(th.hdr[i]));
171 snprintf(th.hdr[0]+ofs, width+2, fmt,
177 snprintf(th.hdr[h]+ofs, width+2, fmt, "");
179 th.num_lines = h+1;
180 snprintf(th.hdr[h]+ofs, width+2, fmt, cname);
187 for (h = 1; h <= th.num_lines; h++) {
189 if (th
197 print_hdr(FILE *of, struct table_hdr *th) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv6/
H A Dsyncookies.c120 const struct tcphdr *th = tcp_hdr(skb); local
134 return secure_tcp_syn_cookie(&iph->saddr, &iph->daddr, th->source,
135 th->dest, ntohl(th->seq),
142 const struct tcphdr *th = tcp_hdr(skb); local
143 __u32 seq = ntohl(th->seq) - 1;
145 th->source, th->dest, seq,
160 const struct tcphdr *th = tcp_hdr(skb); local
161 __u32 cookie = ntohl(th
[all...]

Completed in 176 milliseconds

123456789