Home
last modified time | relevance | path

Searched refs:ts (Results 1 – 25 of 296) sorted by relevance

12345678910>>...12

/titanic_51/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dgc_frm_kdc.c57 #define NXT_TGT_IS_CACHED(ts) \ argument
58 ((ts)->nxt_tgt == (ts)->cur_cc_tgt)
60 #define MARK_CUR_CC_TGT_CLEAN(ts) \ argument
62 (ts)->cc_tgts.dirty[(ts)->cc_tgts.cur] = 0; \
106 #define TR_DBG(ts, prog) tr_dbg(ts, prog) argument
107 #define TR_DBG_RET(ts, prog, ret) tr_dbg_ret(ts, pro argument
108 TR_DBG_RTREE(ts,prog,princ) global() argument
116 TR_DBG(ts,prog) global() argument
117 TR_DBG_RET(ts,prog,ret) global() argument
118 TR_DBG_RTREE(ts,prog,princ) global() argument
190 init_cc_tgts(struct tr_state * ts) init_cc_tgts() argument
207 shift_cc_tgts(struct tr_state * ts) shift_cc_tgts() argument
233 clean_cc_tgts(struct tr_state * ts) clean_cc_tgts() argument
252 tr_dbg(struct tr_state * ts,const char * prog) tr_dbg() argument
277 tr_dbg_ret(struct tr_state * ts,const char * prog,krb5_error_code ret) tr_dbg_ret() argument
284 tr_dbg_rtree(struct tr_state * ts,const char * prog,krb5_principal princ) tr_dbg_rtree() argument
338 init_rtree(struct tr_state * ts,krb5_principal client,krb5_principal server) init_rtree() argument
370 retr_local_tgt(struct tr_state * ts,krb5_principal client) retr_local_tgt() argument
399 try_ccache(struct tr_state * ts,krb5_creds * tgtq) try_ccache() argument
457 find_nxt_kdc(struct tr_state * ts) find_nxt_kdc() argument
532 try_kdc(struct tr_state * ts,krb5_creds * tgtq) try_kdc() argument
597 kdc_mcred(struct tr_state * ts,krb5_principal client,krb5_creds * mcreds) kdc_mcred() argument
630 next_closest_tgt(struct tr_state * ts,krb5_principal client) next_closest_tgt() argument
775 struct tr_state state, *ts; do_traversal() local
[all...]
/titanic_51/usr/src/cmd/dtrace/test/tst/common/printf/
H A Dtst.printcont.d39 uint64_t ts; variable
43 ts = 53114233149441;
44 printf("%u\n", ts);
45 printf("%u\n", ts);
46 printf("%u\n", ts);
47 printf("%u\n", ts);
48 printf("%u\n", ts);
49 printf("%u\n", ts);
50 printf("%u\n", ts);
51 printf("%u\n", ts);
[all...]
/titanic_51/usr/src/uts/common/os/
H A Dturnstile.c36 * ts = turnstile_lookup(lp);
38 * turnstile_block(ts, TS_READER_Q, lp, &foo_sobj_ops);
42 * ts = turnstile_lookup(lp);
46 * turnstile_wakeup(ts, TS_WRITER_Q, nwaiters, new_owner or NULL);
182 turnstile_pi_inherit(turnstile_t *ts, kthread_t *inheritor, pri_t epri) in turnstile_pi_inherit() argument
185 ASSERT(DISP_LOCK_HELD(&TURNSTILE_CHAIN(ts->ts_sobj).tc_lock)); in turnstile_pi_inherit()
190 if (ts->ts_inheritor == NULL) { in turnstile_pi_inherit()
191 ts->ts_inheritor = inheritor; in turnstile_pi_inherit()
192 ts->ts_epri = epri; in turnstile_pi_inherit()
194 ts in turnstile_pi_inherit()
216 turnstile_pi_tsdelete(turnstile_t * ts,kthread_t * inheritor) turnstile_pi_tsdelete() argument
240 turnstile_pi_waive(turnstile_t * ts) turnstile_pi_waive() argument
284 turnstile_t *ts; turnstile_lookup() local
406 turnstile_block(turnstile_t * ts,int qnum,void * sobj,sobj_ops_t * sobj_ops,kmutex_t * mp,lwp_timer_t * lwptp) turnstile_block() argument
660 turnstile_t *ts = t->t_ts; turnstile_dequeue() local
718 turnstile_wakeup(turnstile_t * ts,int qnum,int nthreads,kthread_t * owner) turnstile_wakeup() argument
[all...]
/titanic_51/usr/src/lib/libast/common/comp/
H A Dmktime.c50 mktime(struct tm* ts)
55 tm.tm_sec = ts->tm_sec;
56 tm.tm_min = ts->tm_min;
57 tm.tm_hour = ts->tm_hour;
58 tm.tm_mday = ts->tm_mday;
59 tm.tm_mon = ts->tm_mon;
60 tm.tm_year = ts->tm_year;
61 tm.tm_wday = ts->tm_wday;
62 tm.tm_yday = ts->tm_yday;
63 tm.tm_isdst = ts->tm_isdst;
[all …]
H A Dstrptime.c48 strptime(const char* s, const char* format, struct tm* ts)
56 tm.tm_sec = ts->tm_sec;
57 tm.tm_min = ts->tm_min;
58 tm.tm_hour = ts->tm_hour;
59 tm.tm_mday = ts->tm_mday;
60 tm.tm_mon = ts->tm_mon;
61 tm.tm_year = ts->tm_year;
62 tm.tm_wday = ts->tm_wday;
63 tm.tm_yday = ts->tm_yday;
64 tm.tm_isdst = ts->tm_isdst;
[all …]
H A Dgetdate.c61 static struct tm ts;
71 ts.tm_sec = tm->tm_sec;
72 ts.tm_min = tm->tm_min;
73 ts.tm_hour = tm->tm_hour;
74 ts.tm_mday = tm->tm_mday;
75 ts.tm_mon = tm->tm_mon;
76 ts.tm_year = tm->tm_year;
77 ts.tm_wday = tm->tm_wday;
78 ts.tm_yday = tm->tm_yday;
79 ts.tm_isdst = tm->tm_isdst;
[all …]
/titanic_51/usr/src/contrib/ast/src/lib/libast/comp/
H A Dmktime.c50 mktime(struct tm* ts)
55 tm.tm_sec = ts->tm_sec;
56 tm.tm_min = ts->tm_min;
57 tm.tm_hour = ts->tm_hour;
58 tm.tm_mday = ts->tm_mday;
59 tm.tm_mon = ts->tm_mon;
60 tm.tm_year = ts->tm_year;
61 tm.tm_wday = ts->tm_wday;
62 tm.tm_yday = ts->tm_yday;
63 tm.tm_isdst = ts
[all...]
H A Dstrptime.c48 strptime(const char* s, const char* format, struct tm* ts)
56 tm.tm_sec = ts->tm_sec;
57 tm.tm_min = ts->tm_min;
58 tm.tm_hour = ts->tm_hour;
59 tm.tm_mday = ts->tm_mday;
60 tm.tm_mon = ts->tm_mon;
61 tm.tm_year = ts->tm_year;
62 tm.tm_wday = ts->tm_wday;
63 tm.tm_yday = ts->tm_yday;
64 tm.tm_isdst = ts
[all...]
H A Dgetdate.c61 static struct tm ts;
71 ts.tm_sec = tm->tm_sec;
72 ts.tm_min = tm->tm_min;
73 ts.tm_hour = tm->tm_hour;
74 ts.tm_mday = tm->tm_mday;
75 ts.tm_mon = tm->tm_mon;
76 ts.tm_year = tm->tm_year;
77 ts.tm_wday = tm->tm_wday;
78 ts.tm_yday = tm->tm_yday;
79 ts
[all...]
/titanic_51/usr/src/lib/libc/port/sys/
H A Dutimesys.c52 timespec_t ts[2]; in utime() local
61 ts[0].tv_sec = ltimes.actime; in utime()
62 ts[0].tv_nsec = 0; in utime()
63 ts[1].tv_sec = ltimes.modtime; in utime()
64 ts[1].tv_nsec = 0; in utime()
65 tsp = ts; in utime()
74 timespec_t ts[2]; in utimes() local
83 ts[0].tv_sec = ltimes[0].tv_sec; in utimes()
84 ts[0].tv_nsec = ltimes[0].tv_usec * 1000; in utimes()
85 ts[ in utimes()
97 timespec_t ts[2]; futimesat() local
[all...]
/titanic_51/usr/src/contrib/ast/src/lib/libast/tm/
H A Dtvtouch.c96 struct timespec ts[2]; in tvtouch() local
112 ts[0].tv_sec = 0; in tvtouch()
113 ts[0].tv_nsec = UTIME_NOW; in tvtouch()
117 ts[0].tv_sec = 0; in tvtouch()
118 ts[0].tv_nsec = UTIME_OMIT; in tvtouch()
122 ts[0].tv_sec = av->tv_sec; in tvtouch()
123 ts[0].tv_nsec = NS(av->tv_nsec); in tvtouch()
127 ts[1].tv_sec = 0; in tvtouch()
128 ts[1].tv_nsec = UTIME_NOW; in tvtouch()
132 ts[ in tvtouch()
[all...]
/titanic_51/usr/src/lib/libast/common/tm/
H A Dtvtouch.c96 struct timespec ts[2]; in tvtouch() local
112 ts[0].tv_sec = 0; in tvtouch()
113 ts[0].tv_nsec = UTIME_NOW; in tvtouch()
117 ts[0].tv_sec = 0; in tvtouch()
118 ts[0].tv_nsec = UTIME_OMIT; in tvtouch()
122 ts[0].tv_sec = av->tv_sec; in tvtouch()
123 ts[0].tv_nsec = NS(av->tv_nsec); in tvtouch()
127 ts[1].tv_sec = 0; in tvtouch()
128 ts[1].tv_nsec = UTIME_NOW; in tvtouch()
132 ts[1].tv_sec = 0; in tvtouch()
[all …]
/titanic_51/usr/src/uts/common/syscall/
H A Dutime.c119 timespec_t ts[2]; in get_timespec_vattr() local
125 if (copyin(tsptr, ts, sizeof (ts))) in get_timespec_vattr()
132 TIMESPEC32_TO_TIMESPEC(&ts[0], &ts32[0]); in get_timespec_vattr()
133 TIMESPEC32_TO_TIMESPEC(&ts[1], &ts32[1]); in get_timespec_vattr()
135 if (ts[0].tv_nsec == UTIME_NOW || ts[1].tv_nsec == UTIME_NOW) in get_timespec_vattr()
138 if (ts[0].tv_nsec == UTIME_OMIT) { in get_timespec_vattr()
139 ts[0].tv_nsec = 0; in get_timespec_vattr()
142 if (ts[ in get_timespec_vattr()
[all...]
/titanic_51/usr/src/uts/i86pc/io/
H A Dhardclk.c57 tod_set(timestruc_t ts) in tod_set() argument
61 tod_set_prev(ts); /* for tod_validate() */ in tod_set()
62 TODOP_SET(tod_ops, ts); in tod_set()
74 timestruc_t ts; in tod_get() local
78 ts = TODOP_GET(tod_ops); in tod_get()
79 ts.tv_sec = tod_validate(ts.tv_sec); in tod_get()
80 return (ts); in tod_get()
126 timestruc_t ts; in rtcsync() local
129 ts in rtcsync()
[all...]
/titanic_51/usr/src/cmd/truss/
H A Dstat.c66 timestruc_t ts; in show_stat32() local
90 TIMESPEC32_TO_TIMESPEC(&ts, &statb.st_atim); in show_stat32()
91 prtimestruc(pri, "at = ", &ts); in show_stat32()
92 TIMESPEC32_TO_TIMESPEC(&ts, &statb.st_mtim); in show_stat32()
93 prtimestruc(pri, "mt = ", &ts); in show_stat32()
94 TIMESPEC32_TO_TIMESPEC(&ts, &statb.st_ctim); in show_stat32()
95 prtimestruc(pri, "ct = ", &ts); in show_stat32()
111 timestruc_t ts; in show_stat64_32() local
135 TIMESPEC32_TO_TIMESPEC(&ts, &statb.st_atim); in show_stat64_32()
136 prtimestruc(pri, "at = ", &ts); in show_stat64_32()
[all...]
/titanic_51/usr/src/uts/i86xpv/io/
H A Dxpvtod.c49 timestruc_t ts, wcts; in todxen_get() local
77 ts.tv_sec = (time_t)(now / NANOSEC); in todxen_get()
78 ts.tv_nsec = (long)(now % NANOSEC); in todxen_get()
83 ts.tv_sec += ggmtl(); in todxen_get()
88 tod = utc_to_tod(ts.tv_sec); in todxen_get()
111 ts.tv_sec = tod_to_utc(tod); in todxen_get()
114 return (ts); in todxen_get()
125 todxen_set(tod_ops_t *top, timestruc_t ts) in todxen_set() argument
131 TODOP_SET(top->tod_next, ts); in todxen_set()
135 op.u.settime.secs = ts in todxen_set()
[all...]
/titanic_51/usr/src/common/crypto/skein/
H A Dskein_block.c28 #define ts (kw + KW_TWK_BASE) macro
73 ts[0] = ctx->h.T[0]; in Skein_256_Process_Block()
74 ts[1] = ctx->h.T[1]; in Skein_256_Process_Block()
80 ts[0] += byteCntAdd; /* update processed length */ in Skein_256_Process_Block()
89 ts[2] = ts[0] ^ ts[1]; in Skein_256_Process_Block()
94 Skein_Show_Block(BLK_BITS, &ctx->h, ctx->X, blkPtr, w, ks, ts); in Skein_256_Process_Block()
97 X1 = w[1] + ks[1] + ts[0]; in Skein_256_Process_Block()
98 X2 = w[2] + ks[2] + ts[ in Skein_256_Process_Block()
[all...]
/titanic_51/usr/src/lib/libzonestat/common/
H A Dzonestat_impl.h60 #define TIMESTRUC_ADD_NANOSEC(ts, nsec) \ argument
62 (ts).tv_sec += (time_t)((nsec) / NANOSEC); \
63 (ts).tv_nsec += (long)((nsec) % NANOSEC); \
64 if ((ts).tv_nsec > NANOSEC) { \
65 (ts).tv_sec += (ts).tv_nsec / NANOSEC; \
66 (ts).tv_nsec = (ts).tv_nsec % NANOSEC; \
70 #define TIMESTRUC_ADD_TIMESTRUC(ts, add) \ argument
72 (ts)
[all...]
/titanic_51/usr/src/uts/common/sys/
H A Dtime_impl.h66 #define TIMESPEC32_TO_TIMESPEC(ts, ts32) { \ argument
67 (ts)->tv_sec = (time_t)(ts32)->tv_sec; \
68 (ts)->tv_nsec = (ts32)->tv_nsec; \
71 #define TIMESPEC_TO_TIMESPEC32(ts32, ts) { \ argument
72 (ts32)->tv_sec = (time32_t)(ts)->tv_sec; \
73 (ts32)->tv_nsec = (ts)->tv_nsec; \
76 #define TIMESPEC_OVERFLOW(ts) \ argument
77 ((ts)->tv_sec < TIME32_MIN || (ts)->tv_sec > TIME32_MAX)
/titanic_51/usr/src/cmd/fs.d/autofs/
H A Dnfs_cast.c137 struct tstamps *ts, *prev_ts; in nfs_cast() local
249 ts = (struct tstamps *) in nfs_cast()
250 malloc(sizeof (*ts)); in nfs_cast()
251 if (ts == NULL) { in nfs_cast()
256 (void) memset(ts, 0, sizeof (*ts)); in nfs_cast()
257 ts->ts_penalty = mfs->mfs_penalty; in nfs_cast()
259 a->addr_if_tstamps = ts; in nfs_cast()
261 prev_ts->ts_next = ts; in nfs_cast()
262 prev_ts = ts; in nfs_cast()
674 struct tstamps *ts, *tmpts = NULL; global() local
[all...]
/titanic_51/usr/src/cmd/mdb/common/modules/sppp/
H A Dsppp.c586 tun_state_read(void *ptr, union tun_state *ts) in tun_state_read() argument
592 if (mdb_vread(&ts->tunflags, sizeof (ts->tunflags), (uintptr_t)ptr) == in tun_state_read()
593 sizeof (ts->tunflags)) { in tun_state_read()
594 if (ts->tunflags & TCLF_ISCLIENT) { in tun_state_read()
595 if (mdb_vread(&ts->tcl, sizeof (ts->tcl), in tun_state_read()
596 (uintptr_t)ptr) == sizeof (ts->tcl)) { in tun_state_read()
600 if (mdb_vread(&ts->tll, sizeof (ts in tun_state_read()
612 union tun_state ts; sppptun_qinfo() local
627 union tun_state ts; sppptun_rnext() local
643 union tun_state ts; sppptun_wnext() local
[all...]
/titanic_51/usr/src/test/libc-tests/tests/
H A Dc11_threads.c204 struct timespec ts; in cthr_test_sleep() local
208 ts.tv_sec = 1; in cthr_test_sleep()
209 ts.tv_nsec = -1; in cthr_test_sleep()
211 VERIFY3S(thrd_sleep(&ts, NULL), <, -1); in cthr_test_sleep()
213 ts.tv_sec = 0; in cthr_test_sleep()
214 ts.tv_nsec = stime; in cthr_test_sleep()
216 VERIFY3S(thrd_sleep(&ts, NULL), ==, 0); in cthr_test_sleep()
305 struct timespec ts; in cthr_test_cndtime() local
307 ts.tv_sec = 0; in cthr_test_cndtime()
308 ts in cthr_test_cndtime()
324 struct timespec ts; cthr_test_mtx_selftime() local
339 struct timespec ts; cthr_test_mtx_busy_thr() local
[all...]
H A Dtimespec_get.c44 struct timespec ts, pre, post; in main() local
46 VERIFY0(timespec_get(&ts, TIME_UTC + 1)); in main()
47 VERIFY0(timespec_get(&ts, TIME_UTC - 1)); in main()
48 VERIFY0(timespec_get(&ts, UINT16_MAX)); in main()
51 VERIFY3S(timespec_get(&ts, TIME_UTC), ==, TIME_UTC); in main()
55 VERIFY3S(timespec_cmp(&pre, &ts), ==, 1); in main()
56 VERIFY3S(timespec_cmp(&ts, &post), ==, 1); in main()
/titanic_51/usr/src/uts/sun4v/io/
H A Dhardclk.c146 timestruc_t ts; in tod_get() local
170 ts.tv_nsec = 0; in tod_get()
184 ts.tv_sec = tod_validate(hrestime.tv_sec); in tod_get()
188 ts.tv_sec = 0; in tod_get()
192 ts.tv_sec = tod_validate(seconds); in tod_get()
195 return (ts); in tod_get()
202 tod_set(timestruc_t ts) in tod_set() argument
208 tod_set_prev(ts); in tod_set()
211 ret = hv_tod_set(ts.tv_sec); in tod_set()
/titanic_51/usr/src/boot/sys/sys/
H A Dtimespec.h41 #define TIMEVAL_TO_TIMESPEC(tv, ts) \ argument
43 (ts)->tv_sec = (tv)->tv_sec; \
44 (ts)->tv_nsec = (tv)->tv_usec * 1000; \
46 #define TIMESPEC_TO_TIMEVAL(tv, ts) \ argument
48 (tv)->tv_sec = (ts)->tv_sec; \
49 (tv)->tv_usec = (ts)->tv_nsec / 1000; \

12345678910>>...12