/illumos-gate/usr/src/lib/libbc/libc/compat/4.1/ |
H A D | times.c | 31 #include <sys/times.h> 35 times(tmsp) function
|
/illumos-gate/usr/src/lib/libbc/libc/compat/sys5/ |
H A D | times.c | 31 #include <sys/times.h> 34 times(tmsp) function
|
/illumos-gate/usr/src/ucblib/libucb/port/gen/ |
H A D | times.c | 47 #include <sys/times.h> 51 * Backwards compatible times. 52 * BSD times() returns 0 if successful, vs sys5's times() 53 * whih returns the elapsed real times in ticks. 63 times(struct tms *tmsp) function
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | valid_times.c | 39 krb5_validate_times(krb5_context context, krb5_ticket_times *times) argument 48 if (times->starttime != 0) 49 starttime = times->starttime; 51 starttime = times->authtime; 56 if ((currenttime - times->endtime) > context->clockskew)
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | times.c | 38 #include <sys/times.h> 43 * Return system and user times. 47 times(struct tms *tp) function
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | utimesys.c | 36 futimens(int fd, const timespec_t times[2]) argument 38 return (syscall(SYS_utimesys, 0, fd, times)); 42 utimensat(int fd, const char *path, const timespec_t times[2], int flag) argument 44 return (syscall(SYS_utimesys, 1, fd, path, times, flag)); 49 utime(const char *path, const struct utimbuf *times) argument 55 if (times == NULL) { 59 if (uucopy(times, <imes, sizeof (ltimes)) != 0) 71 utimes(const char *path, const struct timeval times[2]) argument 77 if (times == NULL) { 81 if (uucopy(times, ltime 94 futimesat(int fd, const char *path, const struct timeval times[2]) argument [all...] |
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fake_xattr.c | 83 uint64_t *times = zero_times; local 122 if (nvpair_value_uint64_array(pair, ×, &nelems)) { 169 xoap->xoa_createtime.tv_sec = times[0]; 170 xoap->xoa_createtime.tv_nsec = times[1]; 205 uint64_t times[2]; local 241 times[0] = xoap->xoa_createtime.tv_sec; 242 times[1] = xoap->xoa_createtime.tv_nsec; 245 times, 2) == 0);
|
/illumos-gate/usr/src/cmd/oamuser/user/ |
H A D | movedir.c | 59 struct utimbuf times; local 87 times.actime = statbuf.st_atime; 88 times.modtime = statbuf.st_mtime; 89 (void) utime(to, ×);
|
/illumos-gate/usr/src/lib/sun_fc/common/ |
H A D | FCHBANPIVPort.cc | 110 int times = 0; local 115 if (times++ > 20) {
|
H A D | FCHBAPort.cc | 1221 int times = 0; local 1226 if (times++ > 10) {
|
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | cppath.c | 98 struct utimbuf times; local 214 /* set access/modification times for target */ 216 times.actime = srcStatbuf.st_atime; 217 times.modtime = srcStatbuf.st_mtime; 219 if (utime(a_dstPath, ×) != 0) {
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | copyf.c | 76 * time_t a_mytime: control setting of access/modification times: 77 * == 0 - replicate source file access/modification times 78 * != 0 - use specified time for access/modification times 88 struct utimbuf times; local 152 * determine how to set access/modification times for target: 153 * -- a_mytime == 0: replicate source file access/modification times 154 * -- otherwise: use a_mytime for file access/modification times 158 times.actime = srcStatbuf.st_atime; 159 times.modtime = srcStatbuf.st_mtime; 161 times [all...] |
/illumos-gate/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); 242 * Since utime() allows the owner to change file times without 255 if (utimes(filename, nflg ? NULL : times)) { 264 (void) fprintf(stderr,"%s: cannot change times on ", prog);
|
/illumos-gate/usr/src/cmd/sgs/yacc/common/ |
H A D | y3.c | 206 int i, j, k, best, count, cbest, times; local 214 times = 0; 226 if (count > times) { 228 times = count; 233 zzgobest += (times-1);
|
/illumos-gate/usr/src/cmd/touch/ |
H A D | touch.c | 81 timespec_t times[2]; local 218 times[1].tv_nsec = UTIME_OMIT; 221 times[1] = prstbuf.st_mtim; 224 times[1].tv_nsec = UTIME_NOW; 229 times[0].tv_nsec = UTIME_OMIT; 232 times[0] = prstbuf.st_atim; 235 times[0].tv_nsec = UTIME_NOW; 238 tsp = times; 244 gettext("%s: cannot change times on %s: %s\n"),
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | verify.c | 127 * NOTE: modification and creation times can be repaired; the contents 148 struct utimbuf times; local 172 /* reset times on the file */ 173 times.actime = cinfo->modtime; 174 times.modtime = cinfo->modtime; 175 if (utime(path, ×)) { 857 /* pcfs doesn't support modification times */
|
/illumos-gate/usr/src/cmd/fcinfo/ |
H A D | fcadm-list.c | 429 int times = 0; local 440 times++ < 130) { 455 times = 0; 458 times++ < HBA_MAX_RETRIES) { 483 times = 0; 486 times++ < HBA_MAX_RETRIES) { 513 int times; local 579 times = 0; 582 times++ < HBA_MAX_RETRIES) { 628 int times; local 785 int times = 0; local [all...] |
H A D | fcinfo-list.c | 89 int times; local 101 times = 0; 104 times++ < HBA_MAX_RETRIES) { 289 int times = 0; local 297 if (times++ > HBA_MAX_RETRIES) { 324 int times = 0; local 332 if (times++ > HBA_MAX_RETRIES) { 445 int times = 0; local 459 if (times++ > HBA_MAX_RETRIES) { 775 int times local 865 int times = 0; local 1297 int times; local [all...] |
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | method.c | 1047 int times = 0; local 1058 if (times < 20) { 1060 times++;
|
/illumos-gate/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) argument 342 if (times == NULL) { 345 if (brand_uucopy(times, <imes, sizeof (ltimes)) != 0) 359 s10_utimes(sysret_t *rval, const char *path, const struct timeval times[2]) argument 365 if (times == NULL) { 368 if (brand_uucopy(times, ltimes, sizeof (ltimes)) != 0) 383 int fd, const char *path, const struct timeval times[2]) 389 if (times == NULL) { 392 if (brand_uucopy(times, ltimes, sizeof (ltimes)) != 0) 382 s10_futimesat(sysret_t *rval, int fd, const char *path, const struct timeval times[2]) argument
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | perfstat.c | 62 * an action and CPU consumption to perform an action. These times will 131 * Xfer times is the time to transfer the data, close the file, and 175 typedef struct timeMark /* Holds times for an event. */ 251 * This function uses times(2) to obtain the current real time and CPU 256 * markptr - Address of structure to save times. 269 markptr->tm_real = times(&markptr->tm_cycles); 461 * This function is used to convert the real, user, and system times from 463 * the dest string. If any of the times are NOTIME, they will be reported 473 * dest - String to receive Ascii times. 497 * This function takes the output from two calls to times( 1050 times(tmsp) function [all...] |
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/ |
H A D | hash_page.c | 1363 int times; member in struct:__anon2567 1377 list[last].times = inout; 1381 list[i].times = inout; 1382 if (list[i].times == 0) { 1387 for (i = 0; i < last; i++, list[i].times++) 1388 if (list[i].times > 20 && !is_bitmap_pgno(hashp, list[i].pgno)) 1391 "Warning: pg %d has been out for %d times\n"), 1392 list[i].pgno, list[i].times);
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | machdep.c | 721 * No guarantee is made that the returned values in times[] will 734 * difference to times[cpu_mstate]. 762 get_cpu_mstate(cpu_t *cpu, hrtime_t *times) argument 785 times[i] = cpu->cpu_acct[i]; 790 times[state] += now - start; 793 scalehrtime(×[i]); 800 times[i] -= intracct[i]; 801 if (times[i] < 0) { 802 intracct[i] += times[i]; 803 times[ [all...] |
/illumos-gate/usr/src/cmd/logadm/ |
H A D | main.c | 178 /* we only print times into the timestamps file, so make them uniform */ 1108 struct utimbuf times; local 1246 /* keep times from original file */ 1247 times.actime = s.st_atime; 1248 times.modtime = s.st_mtime; 1249 (void) utime(file_copy, ×);
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | iso9660.h | 201 iso_date_t times[0]; member in struct:rock_ridge::__anon2191::TF
|