Home
last modified time | relevance | path

Searched refs:gtime (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/cmd/auditreduce/
H A Dtime.c92 struct tm ltime, gtime; in local_to_gm() local
99 (void) memcpy((void *)&gtime, (void *)gmtime(&secs), sizeof (gtime)); in local_to_gm()
106 gsecs = tm_to_secs(&gtime); in local_to_gm()
473 struct tm gtime; in derive_str() local
475 (void) memcpy((void *) & gtime, (void *)gmtime(&clock), sizeof (gtime)); in derive_str()
477 (void) sprintf(buf, "%4d", gtime.tm_year + 1900); in derive_str()
478 (void) sprintf(buf + 4, "%.2d", gtime.tm_mon + 1); in derive_str()
479 (void) sprintf(buf + 6, "%.2d", gtime.tm_mday); in derive_str()
480 (void) sprintf(buf + 8, "%.2d", gtime.tm_hour); in derive_str()
481 (void) sprintf(buf + 10, "%.2d", gtime.tm_min); in derive_str()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dasn1_encode.c226 struct tm *gtime, gtimebuf; in asn1_encode_generaltime() local
251 gtime = gmtime(&gmt_time); in asn1_encode_generaltime()
252 if (gtime == NULL) in asn1_encode_generaltime()
254 memcpy(&gtimebuf, gtime, sizeof(gtimebuf)); in asn1_encode_generaltime()
256 gtime = &gtimebuf; in asn1_encode_generaltime()
258 if (gtime->tm_year > 8099 || gtime->tm_mon > 11 || in asn1_encode_generaltime()
259 gtime->tm_mday > 31 || gtime->tm_hour > 23 || in asn1_encode_generaltime()
260 gtime->tm_min > 59 || gtime->tm_sec > 59) in asn1_encode_generaltime()
263 1900+gtime->tm_year, gtime->tm_mon+1, in asn1_encode_generaltime()
264 gtime->tm_mday, gtime->tm_hour, in asn1_encode_generaltime()
[all …]
/illumos-gate/usr/src/uts/common/io/i40e/core/
H A Di40e_nvm.c92 u64 gtime, timeout; in i40e_acquire_nvm() local
103 gtime = rd32(hw, I40E_GLVFGEN_TIMER); in i40e_acquire_nvm()
106 hw->nvm.hw_semaphore_timeout = I40E_MS_TO_GTIME(time_left) + gtime; in i40e_acquire_nvm()
115 timeout = I40E_MS_TO_GTIME(I40E_MAX_NVM_TIMEOUT) + gtime; in i40e_acquire_nvm()
116 while ((gtime < timeout) && time_left) { in i40e_acquire_nvm()
118 gtime = rd32(hw, I40E_GLVFGEN_TIMER); in i40e_acquire_nvm()
125 I40E_MS_TO_GTIME(time_left) + gtime; in i40e_acquire_nvm()
1327 u32 gtime; in i40e_nvmupd_state_writing() local
1329 gtime = rd32(hw, I40E_GLVFGEN_TIMER); in i40e_nvmupd_state_writing()
1330 if (gtime >= hw->nvm.hw_semaphore_timeout) { in i40e_nvmupd_state_writing()
[all …]
/illumos-gate/usr/src/uts/common/syscall/
H A Dtime.c42 gtime(void) in gtime() function
H A DSYSCALL.README108 gtime scalls.c common/syscall/time.c
/illumos-gate/usr/src/ucbcmd/touch/
H A Dtouch.c68 gtime() in gtime() function
164 if ((tp = gtime()) == NULL) { in main()
/illumos-gate/usr/src/uts/sparc/os/
H A Dname_to_sysnum13 gtime 13
/illumos-gate/usr/src/uts/intel/os/
H A Dname_to_sysnum13 gtime 13
/illumos-gate/usr/src/cmd/cron/
H A Dat.c104 static time_t gtime(struct tm *);
339 when = gtime(&at); in main()
517 gtime(struct tm *tptr) in gtime() function
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dtmplout.c64 static long gtime( struct tm *tm );
956 gmttime = gtime( &t ); in time2text()
993 static long gtime ( struct tm *tm ) in gtime() function
/illumos-gate/usr/src/uts/common/os/
H A Dsysent.c87 time_t gtime();
452 /* 13 */ SYSENT_CL("time", gtime, 0),
833 /* 13 */ SYSENT_CI("time", gtime, 0),
/illumos-gate/usr/src/tools/smatch/src/smatch_data/
H A Dkernel.implicit_dependencies.no_structs243 …t task_struct)->utime, (struct task_struct)->stime, (struct task_struct)->gtime, (struct prev_cput…
244 …t task_struct)->utime, (struct task_struct)->stime, (struct task_struct)->gtime, (struct prev_cput…
266 …t task_struct)->utime, (struct task_struct)->stime, (struct task_struct)->gtime, (struct prev_cput…
267 …t task_struct)->utime, (struct task_struct)->stime, (struct task_struct)->gtime, (struct prev_cput…
268 …t task_struct)->utime, (struct task_struct)->stime, (struct task_struct)->gtime, (struct prev_cput…
269 …t task_struct)->utime, (struct task_struct)->stime, (struct task_struct)->gtime, (struct prev_cput…
276 …t task_struct)->utime, (struct task_struct)->stime, (struct task_struct)->gtime, (struct prev_cput…
277 …t task_struct)->utime, (struct task_struct)->stime, (struct task_struct)->gtime, (struct prev_cput…
278 …t task_struct)->utime, (struct task_struct)->stime, (struct task_struct)->gtime, (struct prev_cput…
279 …t task_struct)->utime, (struct task_struct)->stime, (struct task_struct)->gtime, (struct prev_cput…
[all …]