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

123456

/freebsd-9.3-release/lib/libc/amd64/sys/
H A D__vdso_gettc.c37 __vdso_gettc_low(const struct vdso_timehands *th) argument
42 : "=a" (rv) : "c" (th->th_x86_shift) : "edx");
48 __vdso_gettc(const struct vdso_timehands *th) argument
51 return (th->th_x86_shift > 0 ? __vdso_gettc_low(th) : rdtsc32());
/freebsd-9.3-release/lib/libc/i386/sys/
H A D__vdso_gettc.c37 __vdso_gettc_low(const struct vdso_timehands *th) argument
42 : "=a" (rv) : "c" (th->th_x86_shift) : "edx");
48 __vdso_gettc(const struct vdso_timehands *th) argument
51 return (th->th_x86_shift > 0 ? __vdso_gettc_low(th) : rdtsc32());
/freebsd-9.3-release/sys/boot/ia64/common/
H A DMakefile35 FILES+= loader.4th support.4th loader.conf
36 FILES+= screen.4th frames.4th
37 FILES+= beastie.4th brand.4th check-password.4th color.4th delay.4th
38 FILES+= menu.4th men
[all...]
/freebsd-9.3-release/contrib/ntp/sntp/libevent/test/
H A Dregress_thread.h36 #define THREAD_JOIN(th) pthread_join(th, NULL)
45 #define THREAD_JOIN(th) WaitForSingleObject(th, INFINITE)
/freebsd-9.3-release/lib/libthread_db/
H A Dthread_db.c94 td_ta_map_id2thr(const td_thragent_t *ta, thread_t id, td_thrhandle_t *th) argument
96 return (ta->ta_ops->to_ta_map_id2thr(ta, id, th));
100 td_ta_map_lwp2thr(const td_thragent_t *ta, lwpid_t lwpid, td_thrhandle_t *th) argument
102 return (ta->ta_ops->to_ta_map_lwp2thr(ta, lwpid, th));
144 td_thr_clear_event(const td_thrhandle_t *th, td_thr_events_t *events) argument
146 const td_thragent_t *ta = th->th_ta;
147 return (ta->ta_ops->to_thr_clear_event(th, events));
151 td_thr_dbresume(const td_thrhandle_t *th) argument
153 const td_thragent_t *ta = th->th_ta;
154 return (ta->ta_ops->to_thr_dbresume(th));
158 td_thr_dbsuspend(const td_thrhandle_t *th) argument
165 td_thr_event_enable(const td_thrhandle_t *th, int en) argument
172 td_thr_event_getmsg(const td_thrhandle_t *th, td_event_msg_t *msg) argument
179 td_thr_old_get_info(const td_thrhandle_t *th, td_old_thrinfo_t *info) argument
187 td_thr_get_info(const td_thrhandle_t *th, td_thrinfo_t *info) argument
195 td_thr_getxmmregs(const td_thrhandle_t *th, char *fxsave) argument
204 td_thr_getfpregs(const td_thrhandle_t *th, prfpregset_t *fpregset) argument
211 td_thr_getgregs(const td_thrhandle_t *th, prgregset_t gregs) argument
218 td_thr_set_event(const td_thrhandle_t *th, td_thr_events_t *events) argument
226 td_thr_setxmmregs(const td_thrhandle_t *th, const char *fxsave) argument
234 td_thr_setfpregs(const td_thrhandle_t *th, const prfpregset_t *fpregs) argument
241 td_thr_setgregs(const td_thrhandle_t *th, const prgregset_t gregs) argument
248 td_thr_validate(const td_thrhandle_t *th) argument
255 td_thr_tls_get_addr(const td_thrhandle_t *th, psaddr_t linkmap, size_t offset, psaddr_t *address) argument
265 td_thr_sstep(const td_thrhandle_t *th, int step) argument
[all...]
H A Dlibthr_db.c76 static int pt_validate(const td_thrhandle_t *th);
202 pt_ta_map_id2thr(const td_thragent_t *ta, thread_t id, td_thrhandle_t *th) argument
229 th->th_ta = ta;
230 th->th_tid = id;
231 th->th_thread = pt;
236 pt_ta_map_lwp2thr(const td_thragent_t *ta, lwpid_t lwp, td_thrhandle_t *th) argument
238 return (pt_ta_map_id2thr(ta, lwp, th));
246 td_thrhandle_t th; local
261 th.th_ta = ta;
262 th
409 pt_dbsuspend(const td_thrhandle_t *th, int suspend) argument
428 pt_thr_dbresume(const td_thrhandle_t *th) argument
436 pt_thr_dbsuspend(const td_thrhandle_t *th) argument
444 pt_thr_validate(const td_thrhandle_t *th) argument
456 pt_thr_get_info_common(const td_thrhandle_t *th, td_thrinfo_t *info, int old) argument
512 pt_thr_old_get_info(const td_thrhandle_t *th, td_old_thrinfo_t *info) argument
519 pt_thr_get_info(const td_thrhandle_t *th, td_thrinfo_t *info) argument
527 pt_thr_getxmmregs(const td_thrhandle_t *th, char *fxsave) argument
544 pt_thr_getfpregs(const td_thrhandle_t *th, prfpregset_t *fpregs) argument
560 pt_thr_getgregs(const td_thrhandle_t *th, prgregset_t gregs) argument
577 pt_thr_setxmmregs(const td_thrhandle_t *th, const char *fxsave) argument
594 pt_thr_setfpregs(const td_thrhandle_t *th, const prfpregset_t *fpregs) argument
610 pt_thr_setgregs(const td_thrhandle_t *th, const prgregset_t gregs) argument
626 pt_thr_event_enable(const td_thrhandle_t *th, int en) argument
638 pt_thr_set_event(const td_thrhandle_t *th, td_thr_events_t *setp) argument
654 pt_thr_clear_event(const td_thrhandle_t *th, td_thr_events_t *setp) argument
670 pt_thr_event_getmsg(const td_thrhandle_t *th, td_event_msg_t *msg) argument
713 pt_thr_sstep(const td_thrhandle_t *th, int step __unused) argument
721 pt_validate(const td_thrhandle_t *th) argument
730 pt_thr_tls_get_addr(const td_thrhandle_t *th, psaddr_t _linkmap, size_t offset, psaddr_t *address) argument
[all...]
H A Dlibpthread_db.c47 static int pt_validate(const td_thrhandle_t *th);
220 pt_ta_map_id2thr(const td_thragent_t *ta, thread_t id, td_thrhandle_t *th) argument
287 th->th_ta = ta;
288 th->th_tid = id;
289 th->th_thread = pt;
294 pt_ta_map_lwp2thr(const td_thragent_t *ta, lwpid_t lwp, td_thrhandle_t *th) argument
314 th->th_ta = ta;
315 th->th_tid = pt_map_thread(ta, pt, PT_USER);
316 if (th->th_tid == -1)
319 th
337 td_thrhandle_t th; local
439 pt_dbsuspend(const td_thrhandle_t *th, int suspend) argument
544 pt_thr_dbresume(const td_thrhandle_t *th) argument
552 pt_thr_dbsuspend(const td_thrhandle_t *th) argument
560 pt_thr_validate(const td_thrhandle_t *th) argument
573 pt_thr_old_get_info(const td_thrhandle_t *th, td_old_thrinfo_t *info) argument
663 pt_thr_get_info(const td_thrhandle_t *th, td_thrinfo_t *info) argument
674 pt_thr_getxmmregs(const td_thrhandle_t *th, char *fxsave) argument
718 pt_thr_getfpregs(const td_thrhandle_t *th, prfpregset_t *fpregs) argument
759 pt_thr_getgregs(const td_thrhandle_t *th, prgregset_t gregs) argument
801 pt_thr_setxmmregs(const td_thrhandle_t *th, const char *fxsave) argument
851 pt_thr_setfpregs(const td_thrhandle_t *th, const prfpregset_t *fpregs) argument
898 pt_thr_setgregs(const td_thrhandle_t *th, const prgregset_t gregs) argument
976 pt_thr_sstep(const td_thrhandle_t *th, int step) argument
1061 pt_validate(const td_thrhandle_t *th) argument
1071 pt_thr_tls_get_addr(const td_thrhandle_t *th, psaddr_t _linkmap, size_t offset, psaddr_t *address) argument
[all...]
/freebsd-9.3-release/lib/libc/sys/
H A D__vdso_gettimeofday.c38 tc_delta(const struct vdso_timehands *th) argument
41 return ((__vdso_gettc(th) - th->th_offset_count) &
42 th->th_counter_mask);
48 struct vdso_timehands *th; local
63 th = &tk->tk_th[curr];
64 if (th->th_algo != VDSO_TH_ALGO_1)
66 gen = th->th_gen;
67 *bt = th->th_offset;
68 bintime_addx(bt, th
[all...]
/freebsd-9.3-release/sys/kern/
H A Dkern_tc.c155 tc_delta(struct timehands *th) argument
159 tc = th->th_counter;
160 return ((tc->tc_get_timecount(tc) - th->th_offset_count) &
173 struct timehands *th; local
177 th = timehands;
178 gen = th->th_generation;
179 *bt = th->th_offset;
180 bintime_addx(bt, th->th_scale * tc_delta(th));
181 } while (gen == 0 || gen != th
231 struct timehands *th; local
244 struct timehands *th; local
257 struct timehands *th; local
270 struct timehands *th; local
284 struct timehands *th; local
297 struct timehands *th; local
315 struct timehands *th; local
438 struct timehands *th, *tho; local
704 struct timehands *th; local
1009 struct timehands *th; local
1029 struct timehands *th; local
[all...]
/freebsd-9.3-release/usr.sbin/ppp/
H A Dslcompress.c166 register struct tcphdr *th; local
183 th = (struct tcphdr *) & ((int *) ip)[hlen];
184 if ((th->th_flags & (TH_SYN | TH_FIN | TH_RST | TH_ACK)) != TH_ACK) {
185 log_Printf(LogDEBUG, "??? 2 th_flags = %x\n", th->th_flags);
200 *(int *) th != ((int *) &cs->cs_ip)[cs->cs_ip.ip_hl]) {
221 && *(int *) th == ((int *) &cs->cs_ip)[cs->cs_ip.ip_hl])
234 #define THOFFSET(th) (th->th_off)
235 hlen += th->th_off;
260 * but costless). The 4th lin
435 register struct tcphdr *th; local
[all...]
/freebsd-9.3-release/sys/boot/i386/loader/
H A DMakefile100 FILES+= loader.help loader.4th support.4th loader.conf
101 FILES+= screen.4th frames.4th beastie.4th
102 FILES+= brand.4th check-password.4th color.4th delay.4th
103 FILES+= menu.4th men
[all...]
/freebsd-9.3-release/sys/boot/pc98/loader/
H A DMakefile88 FILES+= loader.help loader.4th support.4th loader.conf
89 FILES+= screen.4th frames.4th beastie.4th
90 FILES+= brand.4th check-password.4th color.4th delay.4th
91 FILES+= menu.4th men
[all...]
/freebsd-9.3-release/sys/boot/powerpc/ofw/
H A DMakefile105 FILES= loader.help loader.4th support.4th loader.conf
106 FILES+= screen.4th frames.4th
107 FILES+= beastie.4th brand.4th check-password.4th color.4th delay.4th
108 FILES+= menu.4th men
[all...]
/freebsd-9.3-release/sys/boot/sparc64/loader/
H A DMakefile99 FILES= loader.help loader.4th support.4th loader.conf
100 FILES+= screen.4th frames.4th
101 FILES+= beastie.4th brand.4th check-password.4th color.4th delay.4th
102 FILES+= menu.4th men
[all...]
/freebsd-9.3-release/sys/netinet/
H A Dtcp_input.c240 static void inline cc_ack_received(struct tcpcb *tp, struct tcphdr *th,
243 static void inline cc_post_recovery(struct tcpcb *tp, struct tcphdr *th);
245 struct tcphdr *th, struct tcpopt *to);
265 hhook_run_tcp_est_in(struct tcpcb *tp, struct tcphdr *th, struct tcpopt *to) argument
271 hhook_data.th = th;
283 cc_ack_received(struct tcpcb *tp, struct tcphdr *th, uint16_t type) argument
287 tp->ccv->bytes_this_ack = BYTES_THIS_ACK(tp, th);
309 tp->ccv->curack = th->th_ack;
386 cc_cong_signal(struct tcpcb *tp, struct tcphdr *th, uint32_ argument
438 cc_post_recovery(struct tcpcb *tp, struct tcphdr *th) argument
453 tcp_fields_to_host(struct tcphdr *th) argument
464 tcp_fields_to_net(struct tcphdr *th) argument
474 tcp_signature_verify_input(struct mbuf *m, int off0, int tlen, int optlen, struct tcpopt *to, struct tcphdr *th, u_int tcpbflag) argument
554 struct tcphdr *th = NULL; local
1457 tcp_do_segment(struct mbuf *m, struct tcphdr *th, struct socket *so, struct tcpcb *tp, int drop_hdrlen, int tlen, uint8_t iptos, int ti_locked) argument
3113 tcp_dropwithreset(struct mbuf *m, struct tcphdr *th, struct tcpcb *tp, int tlen, int rstreason) argument
3270 tcp_pulloutofband(struct socket *so, struct tcphdr *th, struct mbuf *m, int off) argument
3681 tcp_newreno_partial_ack(struct tcpcb *tp, struct tcphdr *th) argument
[all...]
H A Dtcp_debug.c98 struct tcphdr *th, int req)
142 if (th != NULL) {
146 td->td_ti.ti_t = *th;
151 td->td_ti6.th = *th;
170 if (ipgen == NULL || th == NULL)
172 seq = th->th_seq;
173 ack = th->th_ack;
190 printf("@%x, urp=%x", ack, th->th_urp);
191 flags = th
97 tcp_trace(short act, short ostate, struct tcpcb *tp, void *ipgen, struct tcphdr *th, int req) argument
[all...]
H A Dtcp_lro.c113 tcp_lro_csum_th(struct tcphdr *th) argument
118 ch = th->th_sum = 0x0000;
119 l = th->th_off;
120 p = (uint16_t *)th;
135 tcp_lro_rx_csum_fixup(struct lro_entry *le, void *l3hdr, struct tcphdr *th, argument
187 cs = ~tcp_lro_csum_th(th);
201 struct tcphdr *th; local
213 th = (struct tcphdr *)(ip6 + 1);
244 th = (struct tcphdr *)(ip4 + 1);
252 th
291 tcp_lro_rx_ipv6(struct lro_ctrl *lc, struct mbuf *m, struct ip6_hdr *ip6, struct tcphdr **th) argument
310 tcp_lro_rx_ipv4(struct lro_ctrl *lc, struct mbuf *m, struct ip *ip4, struct tcphdr **th) argument
360 struct tcphdr *th; local
[all...]
/freebsd-9.3-release/sys/net/
H A Dslcompress.c164 register struct tcphdr *th; local
179 th = (struct tcphdr *)&((int32_t *)ip)[hlen];
180 if ((th->th_flags & (TH_SYN|TH_FIN|TH_RST|TH_ACK)) != TH_ACK)
192 *(int32_t *)th != ((int32_t *)&cs->cs_ip)[cs->cs_ip.ip_hl]) {
213 && *(int32_t *)th ==
228 hlen += th->th_off;
252 * check is unnecessary but costless). The 4th line checks the TCP
253 * header length. The 5th line checks IP options, if any. The 6th
260 hlen += th
473 register struct tcphdr *th; local
[all...]
/freebsd-9.3-release/tools/regression/sockets/sendfile/
H A Dsendfile.c84 static int test_th(struct test_header *th, uint32_t *header_length,
92 static void init_th(struct test_header *th, uint32_t header_length,
100 test_th(struct test_header *th, uint32_t *header_length, uint32_t *offset, argument
104 if (th->th_magic != htonl(TEST_MAGIC))
106 *header_length = ntohl(th->th_header_length);
107 *offset = ntohl(th->th_offset);
108 *length = ntohl(th->th_length);
151 struct test_header th; local
157 len = read(accept_socket, &th, sizeof(th));
254 init_th(struct test_header *th, uint32_t header_length, uint32_t offset, uint32_t length) argument
269 struct test_header th; local
[all...]
/freebsd-9.3-release/lib/libstand/
H A Dbswap.c51 u_int32_t tl, th;
53 th = bswap32((u_int32_t)(x & 0x00000000ffffffffULL));
55 return ((u_int64_t)th << 32) | tl;
/freebsd-9.3-release/lib/libc/arm/sys/
H A D__vdso_gettc.c36 __vdso_gettc(const struct vdso_timehands *th) argument
/freebsd-9.3-release/lib/libc/ia64/sys/
H A D__vdso_gettc.c36 __vdso_gettc(const struct vdso_timehands *th) argument
/freebsd-9.3-release/lib/libc/mips/sys/
H A D__vdso_gettc.c36 __vdso_gettc(const struct vdso_timehands *th) argument
/freebsd-9.3-release/lib/libc/powerpc/sys/
H A D__vdso_gettc.c36 __vdso_gettc(const struct vdso_timehands *th) argument
/freebsd-9.3-release/lib/libc/powerpc64/sys/
H A D__vdso_gettc.c36 __vdso_gettc(const struct vdso_timehands *th) argument

Completed in 151 milliseconds

123456