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

123

/barrelfish-master/lib/libc/sys/
H A D__vdso_gettimeofday.c38 tc_delta(const struct vdso_timehands *th, u_int *delta) argument
43 error = __vdso_gettc(th, &tc);
45 *delta = (tc - th->th_offset_count) & th->th_counter_mask;
61 struct vdso_timehands *th; local
71 th = &tk->tk_th[curr];
72 gen = atomic_load_acq_32(&th->th_gen);
73 *bt = th->th_offset;
74 error = tc_delta(th, &delta);
79 bintime_addx(bt, th
[all...]
H A Dtrivial-vdso_tc.c36 __vdso_gettc(const struct vdso_timehands *th, u_int *tc) argument
/barrelfish-master/lib/libc/aarch64/sys/
H A D__vdso_gettc.c60 __vdso_gettc(const struct vdso_timehands *th, u_int *tc) argument
63 if (th->th_algo != VDSO_TH_ALGO_ARM_GENTIM)
66 *tc = th->th_physical == 0 ? cp15_cntvct_get() : cp15_cntpct_get();
/barrelfish-master/lib/libc/arm/sys/
H A D__vdso_gettc.c63 __vdso_gettc(const struct vdso_timehands *th, u_int *tc) argument
66 if (th->th_algo != VDSO_TH_ALGO_ARM_GENTIM)
75 *tc = th->th_physical == 0 ? cp15_cntvct_get() : cp15_cntpct_get();
/barrelfish-master/lib/libc/x86/sys/
H A D__vdso_gettc.c96 __vdso_gettc_rdtsc_low(const struct vdso_timehands *th) argument
102 : "=a" (rv) : "c" (th->th_x86_shift) : "edx");
149 __vdso_gettc(const struct vdso_timehands *th, u_int *tc) argument
153 switch (th->th_algo) {
155 *tc = th->th_x86_shift > 0 ? __vdso_gettc_rdtsc_low(th) :
159 tmp = th->th_x86_hpet_idx;
/barrelfish-master/lib/lwip2/src/netif/ppp/
H A Dvj.c168 struct tcp_hdr *th; local
190 th = (struct tcp_hdr *)&((struct vj_u32_t*)ip)[ilen];
191 if ((TCPH_FLAGS(th) & (TCP_SYN|TCP_FIN|TCP_RST|TCP_ACK)) != TCP_ACK) {
196 hlen = ilen + TCPH_HDRLEN(th);
228 || (*(struct vj_u32_t*)th).v != (((struct vj_u32_t*)&cs->cs_ip)[IPH_HL(&cs->cs_ip)]).v) {
249 && (*(struct vj_u32_t*)th).v == (((struct vj_u32_t*)&cs->cs_ip)[IPH_HL(&cs->cs_ip)]).v) {
287 * check is unnecessary but costless). The 4th line checks the TCP
288 * header length. The 5th line checks IP options, if any. The 6th
296 || TCPH_HDRLEN(th) !
504 struct tcp_hdr *th; local
[all...]
/barrelfish-master/include/lwip2/netif/ppp/
H A Dvj.c168 struct tcp_hdr *th; local
190 th = (struct tcp_hdr *)&((struct vj_u32_t*)ip)[ilen];
191 if ((TCPH_FLAGS(th) & (TCP_SYN|TCP_FIN|TCP_RST|TCP_ACK)) != TCP_ACK) {
196 hlen = ilen + TCPH_HDRLEN(th);
228 || (*(struct vj_u32_t*)th).v != (((struct vj_u32_t*)&cs->cs_ip)[IPH_HL(&cs->cs_ip)]).v) {
249 && (*(struct vj_u32_t*)th).v == (((struct vj_u32_t*)&cs->cs_ip)[IPH_HL(&cs->cs_ip)]).v) {
287 * check is unnecessary but costless). The 4th line checks the TCP
288 * header length. The 5th line checks IP options, if any. The 6th
296 || TCPH_HDRLEN(th) !
504 struct tcp_hdr *th; local
[all...]
/barrelfish-master/usr/eclipseclp/documents/libman/
H A Dicsymbolic.tex52 ?- local domain(weekday(mo,tu,we,th,fr,sa,su)).
63 X = X{[mo, tu, we, th, fr, sa, su]}
69 X = X{[mo, tu, we, th, fr, sa, su]}
70 Y = Y{[mo, tu, we, th, fr, sa, su]}
71 Z = Z{[mo, tu, we, th, fr, sa, su]}
116 X = X{[mo, tu, we, th, fr, sa]}
117 Y = Y{[tu, we, th, fr, sa, su]}
161 X = X{[mo, tu, we, th, fr, sa, su]}
167 X = X{[mo, tu, th, fr, sa, su]}
/barrelfish-master/lib/lua/src/
H A Dlstate.h193 struct lua_State th; /* thread */ member in union:GCObject
212 #define gco2th(o) check_exp((o)->gch.tt == LUA_TTHREAD, &((o)->th))
H A Dlgc.c495 static lu_mem traversestack (global_State *g, lua_State *th) { argument
497 StkId o = th->stack;
500 for (; o < th->top; o++) /* mark live elements in the stack */
503 StkId lim = th->stack + th->stacksize; /* real end of stack */
509 for (ci = &th->base_ci; ci != th->ci; ci = ci->next)
512 return sizeof(lua_State) + sizeof(TValue) * th->stacksize +
546 lua_State *th = gco2th(o); local
547 g->gray = th
[all...]
H A Dlstate.c241 L1 = &luaC_newobj(L, LUA_TTHREAD, sizeof(LX), NULL, offsetof(LX, l))->th;
/barrelfish-master/usr/acpi/
H A Dacpi_ec.c312 ACPI_TABLE_HEADER *th; local
315 as = AcpiGetTable("ECDT", 1, (ACPI_TABLE_HEADER **)&th);
320 ecdt = (ACPI_TABLE_ECDT*)th;
/barrelfish-master/usr/eclipseclp/Kernel/src/
H A Dhandlers.c246 p_get_event_handler(value vn, type tn, value vh, type th, value vm, type tm),
248 p_get_interrupt_handler(value vn, type tn, value vh, type th, value vm, type tm),
1121 p_get_interrupt_handler(value vn, type tn, value vh, type th, value vm, type tm) argument
1131 if (!IsRef(th)) {
1132 Check_Structure(th);
1183 Request_Unify_Structure(vh, th, pw);
1200 p_get_event_handler(value vn, type tn, value vh, type th, value vm, type tm) argument
1207 if (!IsRef(th)) {
1208 Check_Structure(th);
1237 Request_Unify_Structure(vh, th, p
[all...]
H A Dbip_misc.c119 p_local_time(value vy, type ty, value vm, type tm, value vd, type td, value vh, type th, value vmin, type tmin, value vsec, type tsec, value vdst, type tdst, value vunixtime, type tunixtime),
478 p_local_time(value vy, type ty, value vm, type tm, value vd, type td, value vh, type th, value vmin, type tmin, value vsec, type tsec, value vdst, type tdst, value vunixtime, type tunixtime) argument
489 Check_Integer(th);
521 Request_Unify_Integer(vh, th, time_here.tm_hour);
/barrelfish-master/usr/eclipseclp/ecrc_solvers/grace/
H A Dmatrix_util.pl85 % Get the rest of the list from the I-th element
97 % Get the I-th list element
114 % Instantiate the I-th list element to 1 and others to 0
295 % Get the (I,J)-th matrix element
/barrelfish-master/lib/openssl-1.0.0d/crypto/bn/
H A Dbn_asm.c241 BN_ULONG dh,dl,q,ret=0,th,tl,t; local
267 th=q*dh;
271 t=h-th;
278 th-=dh;
283 th+=t;
285 if (l < tl) th++;
287 if (h < th)
292 h-=th;
/barrelfish-master/usr/eclipseclp/Kernel/lib/
H A Dcalendar.pl198 week number (where week 1 is the week containing January 4th).
208 (where week 1 is the week containing January 4th). Note that
423 mjd_to_dow(Jan4th, monday, Jan4thW), % Week 1 contains Jan 4th
565 What day of the week was the 29th of December 1959?
579 How many days are there in the 20th century?
H A Dqueues.pl23 % Updated: Friday November 18th, 1983, 8:09:31 pm
61 :- comment(date, "Friday November 18th, 1983, 8:09:31 pm").
/barrelfish-master/usr/eclipseclp/Contrib/
H A Dtrees.pl52 % treats the tree as an array of N elements and returns the Index-th.
114 % same elements except that the Index-th one is Label. Unlike the
/barrelfish-master/usr/eclipseclp/documents/userman/
H A Dumscalendar.tex90 What day of the week was the 29th of December 1959?
104 How many days are there in the 20th century?
/barrelfish-master/lib/barrelfish/
H A Ddomain.c943 struct thread *th = NULL; local
945 th = thread_create(start_func, arg);
947 th = thread_create_varstack(start_func, arg, stacksize);
949 if (th != NULL) {
951 *newthread = th;
/barrelfish-master/usr/eclipseclp/documents/embedding/
H A Dembsumcxx.tex211 return the {\eclipse} term referred to by the i'th reference.
214 assign the term new to the i'th reference.
239 i'th argument of the call.
H A Dembexdr.tex151 Index'th S-encoded string that occurred in the EXDR term earlier.
H A Dembfunc.tex40 returns the i'th argument of the predicate call.
/barrelfish-master/lib/openssl-1.0.0d/crypto/bn/asm/
H A Dpa-risc2W.s851 ADD,L %r31,%r26,%r31 ;th += t;
853 LDO 1(%r31),%r31 ; th++;
854 CMPB,*<<=,N %r31,%r4,$00000036 ;if (n < th) (forward)
860 SUB %r4,%r31,%r24 ; h -= th;

Completed in 390 milliseconds

123