/titanic_44/usr/src/lib/libc/port/sys/ |
H A D | utimesys.c | 36 futimens(int fd, const timespec_t times[2]) in futimens() 38 return (syscall(SYS_utimesys, 0, fd, times)); in futimens() 42 utimensat(int fd, const char *path, const timespec_t times[2], int flag) in utimensat() 44 return (syscall(SYS_utimesys, 1, fd, path, times, flag)); in utimensat() 49 utime(const char *path, const struct utimbuf *times) in utime() argument 55 if (times == NULL) { in utime() 59 if (uucopy(times, <imes, sizeof (ltimes)) != 0) in utime() 71 utimes(const char *path, const struct timeval times[2]) in utimes() 77 if (times == NULL) { in utimes() 81 if (uucopy(times, ltimes, sizeof (ltimes)) != 0) in utimes() [all …]
|
/titanic_44/usr/src/cmd/krb5/krb5kdc/ |
H A D | do_tgs_req.c | 157 authtime = header_ticket->enc_part2->times.authtime; in process_tgs_req() 288 enc_tkt_reply.times.starttime = 0; in process_tgs_req() 294 if (!(header_ticket->enc_part2->times.starttime)) in process_tgs_req() 295 header_ticket->enc_part2->times.starttime = in process_tgs_req() 296 header_ticket->enc_part2->times.authtime; in process_tgs_req() 340 enc_tkt_reply.times.starttime = request->from; in process_tgs_req() 342 enc_tkt_reply.times.starttime = kdc_time; in process_tgs_req() 360 old_life = enc_tkt_reply.times.endtime - enc_tkt_reply.times.starttime; in process_tgs_req() 362 enc_tkt_reply.times.starttime = kdc_time; in process_tgs_req() 363 enc_tkt_reply.times.endtime = in process_tgs_req() [all …]
|
H A D | do_as_req.c | 224 enc_tkt_reply.times.authtime = kdc_time; in process_as_req() 229 enc_tkt_reply.times.starttime = request->from; in process_as_req() 231 enc_tkt_reply.times.starttime = kdc_time; in process_as_req() 239 tmp_client_times = (long long) enc_tkt_reply.times.starttime + client.max_life; in process_as_req() 241 tmp_server_times = (long long) enc_tkt_reply.times.starttime + server.max_life; in process_as_req() 243 tmp_realm_times = (long long) enc_tkt_reply.times.starttime + max_life_for_realm; in process_as_req() 245 enc_tkt_reply.times.endtime = in process_as_req() 253 (enc_tkt_reply.times.endtime < request->till)) { in process_as_req() 268 tmp_client_times = (double) enc_tkt_reply.times.starttime + client.max_renewable_life; in process_as_req() 270 tmp_server_times = (double) enc_tkt_reply.times.starttime + server.max_renewable_life; in process_as_req() [all …]
|
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | gc_via_tkt.c | 70 (*ppcreds)->times = pkdcrep->enc_part2->times; in krb5_kdcrep2creds() 228 retval = krb5_send_tgs2(context, kdcoptions, &in_cred->times, enctypes, in krb5_get_cred_via_tkt() 336 t_err = krb5_timestamp_to_sfstring(tkt->times.starttime, in krb5_get_cred_via_tkt() 408 (in_cred->times.starttime != 0) && in krb5_get_cred_via_tkt() 409 (in_cred->times.starttime != dec_rep->enc_part2->times.starttime)) in krb5_get_cred_via_tkt() 412 if ((in_cred->times.endtime != 0) && in krb5_get_cred_via_tkt() 413 (dec_rep->enc_part2->times.endtime > in_cred->times.endtime)) in krb5_get_cred_via_tkt() 417 (in_cred->times.renew_till != 0) && in krb5_get_cred_via_tkt() 418 (dec_rep->enc_part2->times.renew_till > in_cred->times.renew_till)) in krb5_get_cred_via_tkt() 423 (in_cred->times.endtime != 0) && in krb5_get_cred_via_tkt() [all …]
|
H A D | valid_times.c | 39 krb5_validate_times(krb5_context context, krb5_ticket_times *times) in krb5_validate_times() argument 48 if (times->starttime != 0) in krb5_validate_times() 49 starttime = times->starttime; in krb5_validate_times() 51 starttime = times->authtime; in krb5_validate_times() 56 if ((currenttime - times->endtime) > context->clockskew) in krb5_validate_times()
|
H A D | get_in_tkt.c | 322 if (!as_reply->enc_part2->times.starttime) in verify_as_reply() 323 as_reply->enc_part2->times.starttime = in verify_as_reply() 324 as_reply->enc_part2->times.authtime; in verify_as_reply() 334 (request->from != as_reply->enc_part2->times.starttime)) in verify_as_reply() 336 (as_reply->enc_part2->times.endtime > request->till)) in verify_as_reply() 344 (as_reply->enc_part2->times.renew_till > request->rtime)) in verify_as_reply() 349 (as_reply->enc_part2->times.renew_till > request->till)) in verify_as_reply() 358 (as_reply->enc_part2->times.renew_till > max(request->till, in verify_as_reply() 365 as_reply->enc_part2->times.authtime, 0); in verify_as_reply() 370 (labs(as_reply->enc_part2->times.starttime - time_now) in verify_as_reply() [all …]
|
/titanic_44/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fake_xattr.c | 83 uint64_t *times = zero_times; in getxva_parse_nvl() local 122 if (nvpair_value_uint64_array(pair, ×, &nelems)) { in getxva_parse_nvl() 169 xoap->xoa_createtime.tv_sec = times[0]; in getxva_parse_nvl() 170 xoap->xoa_createtime.tv_nsec = times[1]; in getxva_parse_nvl() 205 uint64_t times[2]; in fop__setxvattr() local 241 times[0] = xoap->xoa_createtime.tv_sec; in fop__setxvattr() 242 times[1] = xoap->xoa_createtime.tv_nsec; in fop__setxvattr() 245 times, 2) == 0); in fop__setxvattr()
|
/titanic_44/usr/src/cmd/oamuser/user/ |
H A D | movedir.c | 60 struct utimbuf times; in move_dir() local 88 times.actime = statbuf.st_atime; in move_dir() 89 times.modtime = statbuf.st_mtime; in move_dir() 90 (void) utime(to, ×); in move_dir()
|
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ |
H A D | cc_retr.c | 185 times_match_exact(&mcreds->times, &creds->times)) in krb5int_cc_creds_match_request() 188 times_match(&mcreds->times, &creds->times)) in krb5int_cc_creds_match_request() 340 equal = (in_creds->times.authtime == in_compare_creds->times.authtime && in krb5_creds_compare() 341 in_creds->times.starttime == in_compare_creds->times.starttime && in krb5_creds_compare() 342 in_creds->times.endtime == in_compare_creds->times.endtime && in krb5_creds_compare() 343 in_creds->times.renew_till == in_compare_creds->times.renew_till); in krb5_creds_compare()
|
/titanic_44/usr/src/lib/libc/common/sys/ |
H A D | times.s | 37 ANSI_PRAGMA_WEAK(times,function) 41 SYSCALL_RVAL1(times) 43 SET_SIZE(times)
|
/titanic_44/usr/src/cmd/fcinfo/ |
H A D | fcadm-list.c | 429 int times = 0; in retrieveNPIVAttrs() local 440 times++ < 130) { in retrieveNPIVAttrs() 455 times = 0; in retrieveNPIVAttrs() 458 times++ < HBA_MAX_RETRIES) { in retrieveNPIVAttrs() 483 times = 0; in retrieveNPIVAttrs() 486 times++ < HBA_MAX_RETRIES) { in retrieveNPIVAttrs() 513 int times; in fc_util_delete_npivport() local 579 times = 0; in fc_util_delete_npivport() 582 times++ < HBA_MAX_RETRIES) { in fc_util_delete_npivport() 628 int times; in fc_util_create_npivport() local [all …]
|
H A D | fcinfo-list.c | 89 int times; in retrieveAttrs() local 101 times = 0; in retrieveAttrs() 104 times++ < HBA_MAX_RETRIES) { in retrieveAttrs() 289 int times = 0; in printHBANPIVPortInfo() local 297 if (times++ > HBA_MAX_RETRIES) { in printHBANPIVPortInfo() 324 int times = 0; in printHBANPIVPortInfo() local 332 if (times++ > HBA_MAX_RETRIES) { in printHBANPIVPortInfo() 445 int times = 0; in processRemotePort() local 459 if (times++ > HBA_MAX_RETRIES) { in processRemotePort() 775 int times = 0; in fc_util_list_hbaport() local [all …]
|
/titanic_44/usr/src/cmd/sgs/gprof/common/ |
H A D | gprof.callg.blurb | 21 called the number of times this function is called (other 24 self the number of times this function calls itself 45 called** the number of times this function is called by 50 total* the number of times this function was called by 72 called** the number of times this child is called by this 76 total* the number of times this child is called by all 91 the propagated times and propagation denominator
|
/titanic_44/usr/src/ucbcmd/touch/ |
H A D | touch.c | 200 struct timeval times[2]; local 234 times[0] = times[1] = timbuf; 236 timestruc_to_timeval(&stbuf.st_mtim, times + 1); 238 timestruc_to_timeval(&stbuf.st_atim, times); 255 if (utimes(filename, nflg ? NULL : times)) {
|
/titanic_44/usr/src/lib/libast/common/features/ |
H A D | time | 18 if sys times { 19 #include <sys/times.h> 29 extern clock_t times(struct tms*);
|
H A D | mmap | 11 #include <sys/times.h> 82 times(&stm); 86 times(&etm); 93 times(&stm); 112 times(&etm); 231 #include <sys/times.h> 272 times(&stm); 283 times(&etm); 287 times(&stm); 310 times(&etm);
|
/titanic_44/usr/src/cmd/touch/ |
H A D | touch.c | 81 timespec_t times[2]; in main() local 218 times[1].tv_nsec = UTIME_OMIT; in main() 221 times[1] = prstbuf.st_mtim; in main() 224 times[1].tv_nsec = UTIME_NOW; in main() 229 times[0].tv_nsec = UTIME_OMIT; in main() 232 times[0] = prstbuf.st_atim; in main() 235 times[0].tv_nsec = UTIME_NOW; in main() 238 tsp = times; in main()
|
/titanic_44/usr/src/cmd/svr4pkg/libinst/ |
H A D | copyf.c | 88 struct utimbuf times; in copyf() local 158 times.actime = srcStatbuf.st_atime; in copyf() 159 times.modtime = srcStatbuf.st_mtime; in copyf() 161 times.actime = a_mytime; in copyf() 162 times.modtime = a_mytime; in copyf() 167 if (utime(a_dstPath, ×) != 0) { in copyf()
|
/titanic_44/usr/src/lib/sun_fc/common/ |
H A D | FCHBA.cc | 414 for (int i = 0, times =0; i < pathList->numAdapters;) { in loadAdapters() local 421 if (times++ > EXCPT_RETRY_COUNT) { in loadAdapters() 423 times = 0; in loadAdapters() 428 if (times++ > EXCPT_RETRY_COUNT) { in loadAdapters() 430 times = 0; in loadAdapters() 435 if (times++ > EXCPT_RETRY_COUNT) { in loadAdapters() 437 times = 0; in loadAdapters() 442 times = 0; in loadAdapters()
|
/titanic_44/usr/src/lib/brand/solaris10/s10_brand/common/ |
H A D | s10_deleted.c | 336 s10_utime(sysret_t *rval, const char *path, const struct utimbuf *times) in s10_utime() argument 342 if (times == NULL) { in s10_utime() 345 if (brand_uucopy(times, <imes, sizeof (ltimes)) != 0) in s10_utime() 359 s10_utimes(sysret_t *rval, const char *path, const struct timeval times[2]) in s10_utimes() 365 if (times == NULL) { in s10_utimes() 368 if (brand_uucopy(times, ltimes, sizeof (ltimes)) != 0) in s10_utimes() 383 int fd, const char *path, const struct timeval times[2]) in s10_futimesat() 389 if (times == NULL) { in s10_futimesat() 392 if (brand_uucopy(times, ltimes, sizeof (ltimes)) != 0) in s10_futimesat()
|
/titanic_44/usr/src/lib/libbc/libc/gen/common/ |
H A D | clock.c | 39 extern long times(); 47 if (times(&buffer) == -1L) in clock()
|
/titanic_44/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | cppath.c | 98 struct utimbuf times; in cppath() local 216 times.actime = srcStatbuf.st_atime; in cppath() 217 times.modtime = srcStatbuf.st_mtime; in cppath() 219 if (utime(a_dstPath, ×) != 0) { in cppath()
|
/titanic_44/usr/src/uts/i86pc/os/ |
H A D | machdep.c | 1113 get_cpu_mstate(cpu_t *cpu, hrtime_t *times) in get_cpu_mstate() argument 1136 times[i] = cpu->cpu_acct[i]; in get_cpu_mstate() 1141 times[state] += now - start; in get_cpu_mstate() 1146 times[i] -= intracct[i]; in get_cpu_mstate() 1147 if (times[i] < 0) { in get_cpu_mstate() 1148 intracct[i] += times[i]; in get_cpu_mstate() 1149 times[i] = 0; in get_cpu_mstate() 1151 times[CMS_SYSTEM] += intracct[i]; in get_cpu_mstate() 1152 scalehrtime(×[i]); in get_cpu_mstate() 1154 scalehrtime(×[CMS_SYSTEM]); in get_cpu_mstate()
|
/titanic_44/usr/src/cmd/refer/ |
H A D | tick.c | 34 times(&tx); in tick() 49 times(&tx); in tock()
|
/titanic_44/usr/src/uts/sun4/os/ |
H A D | machdep.c | 762 get_cpu_mstate(cpu_t *cpu, hrtime_t *times) in get_cpu_mstate() argument 785 times[i] = cpu->cpu_acct[i]; in get_cpu_mstate() 790 times[state] += now - start; in get_cpu_mstate() 793 scalehrtime(×[i]); in get_cpu_mstate() 800 times[i] -= intracct[i]; in get_cpu_mstate() 801 if (times[i] < 0) { in get_cpu_mstate() 802 intracct[i] += times[i]; in get_cpu_mstate() 803 times[i] = 0; in get_cpu_mstate() 805 times[CMS_SYSTEM] += intracct[i]; in get_cpu_mstate()
|