Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/auditreduce/
H A Dtime.c94 struct tm ltime, gtime; in local_to_gm() local
101 (void) memcpy((void *)&gtime, (void *)gmtime(&secs), sizeof (gtime)); in local_to_gm()
108 gsecs = tm_to_secs(&gtime); in local_to_gm()
475 struct tm gtime; in derive_str() local
477 (void) memcpy((void *) & gtime, (void *)gmtime(&clock), sizeof (gtime)); in derive_str()
479 (void) sprintf(buf, "%4d", gtime.tm_year + 1900); in derive_str()
480 (void) sprintf(buf + 4, "%.2d", gtime.tm_mon + 1); in derive_str()
481 (void) sprintf(buf + 6, "%.2d", gtime.tm_mday); in derive_str()
482 (void) sprintf(buf + 8, "%.2d", gtime.tm_hour); in derive_str()
483 (void) sprintf(buf + 10, "%.2d", gtime.tm_min); in derive_str()
[all …]
/titanic_41/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 …]
/titanic_41/usr/src/uts/common/io/i40e/core/
H A Di40e_nvm.c104 u64 gtime, timeout; in i40e_acquire_nvm() local
115 gtime = rd32(hw, I40E_GLVFGEN_TIMER); in i40e_acquire_nvm()
118 hw->nvm.hw_semaphore_timeout = I40E_MS_TO_GTIME(time_left) + gtime; in i40e_acquire_nvm()
127 timeout = I40E_MS_TO_GTIME(I40E_MAX_NVM_TIMEOUT) + gtime; in i40e_acquire_nvm()
128 while ((gtime < timeout) && time_left) { in i40e_acquire_nvm()
130 gtime = rd32(hw, I40E_GLVFGEN_TIMER); in i40e_acquire_nvm()
137 I40E_MS_TO_GTIME(time_left) + gtime; in i40e_acquire_nvm()
1219 u32 gtime; in i40e_nvmupd_state_writing() local
1221 gtime = rd32(hw, I40E_GLVFGEN_TIMER); in i40e_nvmupd_state_writing()
1222 if (gtime >= hw->nvm.hw_semaphore_timeout) { in i40e_nvmupd_state_writing()
[all …]
/titanic_41/usr/src/uts/common/syscall/
H A Dtime.c45 gtime(void) in gtime() function
H A DSYSCALL.README108 gtime scalls.c common/syscall/time.c
/titanic_41/usr/src/ucbcmd/touch/
H A Dtouch.c72 gtime() in gtime() function
168 if ((tp = gtime()) == NULL) { in main()
/titanic_41/usr/src/uts/intel/os/
H A Dname_to_sysnum12 gtime 13
/titanic_41/usr/src/uts/sparc/os/
H A Dname_to_sysnum12 gtime 13
/titanic_41/usr/src/cmd/cron/
H A Dat.c103 static time_t gtime(struct tm *);
337 when = gtime(&at); in main()
516 gtime(tptr) in gtime() function
/titanic_41/usr/src/lib/libldap5/sources/ldap/common/
H A Dtmplout.c66 static long gtime( struct tm *tm );
960 gmttime = gtime( &t ); in time2text()
997 static long gtime ( struct tm *tm ) in gtime() function
/titanic_41/usr/src/uts/common/os/
H A Dsysent.c86 time_t gtime();
453 /* 13 */ SYSENT_CL("time", gtime, 0),
834 /* 13 */ SYSENT_CI("time", gtime, 0),