Home
last modified time | relevance | path

Searched refs:times (Results 1 – 25 of 249) sorted by relevance

12345678910

/illumos-gate/usr/src/lib/libc/port/sys/
H A Dutimesys.c40 futimens(int fd, const timespec_t times[2]) in futimens()
42 return (syscall(SYS_utimesys, 0, fd, times)); in futimens()
59 if (times == NULL) { in utime()
63 if (uucopy(times, &ltimes, sizeof (ltimes)) != 0) in utime()
81 if (times == NULL) { in utimes_impl()
85 if (uucopy(times, ltimes, sizeof (ltimes)) != 0) in utimes_impl()
99 return (utimes_impl(path, times, 0)); in utimes()
116 if (times == NULL) { in futimesat()
120 if (uucopy(times, ltimes, sizeof (ltimes)) != 0) in futimesat()
136 futimes(int fd, const struct timeval *times) in futimes() argument
[all …]
/illumos-gate/usr/src/cmd/krb5/krb5kdc/
H A Ddo_tgs_req.c360 old_life = enc_tkt_reply.times.endtime - enc_tkt_reply.times.starttime; in process_tgs_req()
363 enc_tkt_reply.times.endtime = in process_tgs_req()
409 enc_tkt_reply.times.renew_till = in process_tgs_req()
414 enc_tkt_reply.times.renew_till = 0; in process_tgs_req()
420 enc_tkt_reply.times.authtime = header_ticket->enc_part2->times.authtime; in process_tgs_req()
433 if (enc_tkt_reply.times.starttime == enc_tkt_reply.times.authtime) in process_tgs_req()
434 enc_tkt_reply.times.starttime = 0; in process_tgs_req()
651 reply_encpart.times = enc_tkt_reply.times; in process_tgs_req()
652 reply_encpart.times.authtime = header_ticket->enc_part2->times.authtime; in process_tgs_req()
656 if (enc_tkt_reply.times.starttime == enc_tkt_reply.times.authtime) in process_tgs_req()
[all …]
H A Ddo_as_req.c224 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()
245 enc_tkt_reply.times.endtime = in process_as_req()
253 (enc_tkt_reply.times.endtime < request->till)) { in process_as_req()
274 enc_tkt_reply.times.renew_till = in process_as_req()
279 enc_tkt_reply.times.renew_till = 0; /* XXX */ in process_as_req()
283 if (enc_tkt_reply.times.starttime == enc_tkt_reply.times.authtime) in process_as_req()
284 enc_tkt_reply.times.starttime = 0; in process_as_req()
418 reply_encpart.times = enc_tkt_reply.times; in process_as_req()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dgc_via_tkt.c70 (*ppcreds)->times = pkdcrep->enc_part2->times; in krb5_kdcrep2creds()
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()
424 (dec_rep->enc_part2->times.renew_till > in_cred->times.endtime)) in krb5_get_cred_via_tkt()
430 if (!in_cred->times.starttime && in krb5_get_cred_via_tkt()
[all …]
H A Dvalid_times.c39 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 Dget_in_tkt.c330 if (!as_reply->enc_part2->times.starttime) in verify_as_reply()
331 as_reply->enc_part2->times.starttime = in verify_as_reply()
332 as_reply->enc_part2->times.authtime; in verify_as_reply()
342 (request->from != as_reply->enc_part2->times.starttime)) in verify_as_reply()
344 (as_reply->enc_part2->times.endtime > request->till)) in verify_as_reply()
373 as_reply->enc_part2->times.authtime, 0); in verify_as_reply()
378 (labs(as_reply->enc_part2->times.starttime - time_now) in verify_as_reply()
417 creds->times = as_reply->enc_part2->times; in stash_as_reply()
589 request.from = creds->times.starttime; in krb5_get_in_tkt()
590 request.till = creds->times.endtime; in krb5_get_in_tkt()
[all …]
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_xattr.c83 uint64_t *times = zero_times; in getxva_parse_nvl() local
122 if (nvpair_value_uint64_array(pair, &times, &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()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dcc_retr.c185 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()
/illumos-gate/usr/src/cmd/oamuser/user/
H A Dmovedir.c59 struct utimbuf times; in move_dir() local
87 times.actime = statbuf.st_atime; in move_dir()
88 times.modtime = statbuf.st_mtime; in move_dir()
89 (void) utime(to, &times); in move_dir()
/illumos-gate/usr/src/lib/libc/common/sys/
H A Dtimes.S37 ANSI_PRAGMA_WEAK(times,function)
41 SYSCALL_RVAL1(times)
43 SET_SIZE(times)
/illumos-gate/usr/src/cmd/fcinfo/
H A Dfcadm-list.c429 int times = 0; in retrieveNPIVAttrs() local
440 times++ < 130) { in retrieveNPIVAttrs()
455 times = 0; 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()
628 int times; in fc_util_create_npivport() local
736 times = 0; in fc_util_create_npivport()
785 int times = 0; in create_npivport() local
[all …]
H A Dfcinfo-list.c89 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
445 int times = 0; in processRemotePort() local
775 int times = 0; in fc_util_list_hbaport() local
865 int times = 0; in fc_util_list_hbaport() local
1297 int times; in fc_util_list_logicalunit() local
[all …]
/illumos-gate/usr/src/cmd/sgs/gprof/common/
H A Dgprof.callg.blurb21 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
/illumos-gate/usr/src/ucbcmd/touch/
H A Dtouch.c196 struct timeval times[2]; local
230 times[0] = times[1] = timbuf;
232 timestruc_to_timeval(&stbuf.st_mtim, times + 1);
234 timestruc_to_timeval(&stbuf.st_atim, times);
251 if (utimes(filename, nflg ? NULL : times)) {
/illumos-gate/usr/src/cmd/touch/
H A Dtouch.c81 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()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dtime18 if sys times {
19 #include <sys/times.h>
29 extern clock_t times(struct tms*);
H A Dmmap11 #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);
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dcopyf.c88 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, &times) != 0) { in copyf()
/illumos-gate/usr/src/lib/sun_fc/common/
H A DFCHBA.cc414 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()
/illumos-gate/usr/src/lib/brand/solaris10/s10_brand/common/
H A Ds10_deleted.c336 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, &ltimes, 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()
/illumos-gate/usr/src/uts/i86pc/os/
H A Dmachdep.c1122 get_cpu_mstate(cpu_t *cpu, hrtime_t *times) in get_cpu_mstate() argument
1145 times[i] = cpu->cpu_acct[i]; in get_cpu_mstate()
1150 times[state] += now - start; in get_cpu_mstate()
1155 times[i] -= intracct[i]; in get_cpu_mstate()
1156 if (times[i] < 0) { in get_cpu_mstate()
1157 intracct[i] += times[i]; in get_cpu_mstate()
1158 times[i] = 0; in get_cpu_mstate()
1160 times[CMS_SYSTEM] += intracct[i]; in get_cpu_mstate()
1161 scalehrtime(&times[i]); in get_cpu_mstate()
1163 scalehrtime(&times[CMS_SYSTEM]); in get_cpu_mstate()
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Dcppath.c98 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, &times) != 0) { in cppath()
/illumos-gate/usr/src/uts/sun4/os/
H A Dmachdep.c768 get_cpu_mstate(cpu_t *cpu, hrtime_t *times) in get_cpu_mstate() argument
791 times[i] = cpu->cpu_acct[i]; in get_cpu_mstate()
796 times[state] += now - start; in get_cpu_mstate()
799 scalehrtime(&times[i]); in get_cpu_mstate()
806 times[i] -= intracct[i]; in get_cpu_mstate()
807 if (times[i] < 0) { in get_cpu_mstate()
808 intracct[i] += times[i]; in get_cpu_mstate()
809 times[i] = 0; in get_cpu_mstate()
811 times[CMS_SYSTEM] += intracct[i]; in get_cpu_mstate()
/illumos-gate/usr/src/cmd/refer/
H A Dtick.c32 times(&tx); in tick()
47 times(&tx); in tock()
/illumos-gate/usr/src/cmd/krb5/klist/
H A Dklist.c489 creds.times.endtime > now)
614 if (!cred->times.starttime)
615 cred->times.starttime = cred->times.authtime;
617 printtime(cred->times.starttime);
619 printtime(cred->times.endtime);
629 if (cred->times.renew_till) {
635 printtime(cred->times.renew_till);

12345678910