/illumos-gate/usr/src/cmd/auditreduce/ |
H A D | time.c | 92 struct tm ltime, gtime; in local_to_gm() local 99 (void) memcpy((void *)>ime, (void *)gmtime(&secs), sizeof (gtime)); in local_to_gm() 106 gsecs = tm_to_secs(>ime); 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 D | asn1_encode.c | 226 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(>imebuf, gtime, sizeof(gtimebuf)); in asn1_encode_generaltime() 256 gtime = >imebuf; 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 D | i40e_nvm.c | 92 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 D | time.c | 42 gtime(void) in gtime() function
|
H A D | SYSCALL.README | 108 gtime scalls.c common/syscall/time.c
|
/illumos-gate/usr/src/ucbcmd/touch/ |
H A D | touch.c | 68 gtime() in gtime() function 164 if ((tp = gtime()) == NULL) { in main()
|
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | name_to_sysnum | 13 gtime 13
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | name_to_sysnum | 13 gtime 13
|
/illumos-gate/usr/src/cmd/cron/ |
H A D | at.c | 104 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 D | tmplout.c | 64 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 D | sysent.c | 87 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 D | kernel.implicit_dependencies.no_structs | 243 …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 …]
|