/illumos-gate/usr/src/lib/libast/common/tm/ |
H A D | tmsleep.c | 35 tmsleep(time_t sec, time_t nsec) argument 40 tv.tv_nsec = nsec;
|
H A D | tmxscan.c | 40 int32_t nsec; member in struct:__anon2675 55 #define CLEAR(s) (s.year=s.mon=s.week=s.weektype=s.yday=s.mday=s.wday=s.hour=s.min=s.sec=s.meridian=(-1),s.nsec=1000000000L,s.zone=TM_LOCALZONE) 123 if (set->nsec < 1000000000L) 124 tm->tm_nsec = set->nsec; 152 if (set->nsec < 1000000000L) 159 tm->tm_nsec = set->nsec; 307 set.nsec = n;
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | time_util.c | 42 uint32_t sec, nsec, tmp; local 56 nsec = (uint32_t)hrt - (tmp << 9); 57 while (nsec >= NANOSEC) { 58 nsec -= NANOSEC; 62 tsp->tv_nsec = nsec;
|
/illumos-gate/usr/src/lib/fm/libfmd_log/common/ |
H A D | fmd_filter.c | 85 uint64_t nsec = ((struct timeval *)arg)->tv_usec * (NANOSEC / MICROSEC); local 86 return (rp->rec_sec == sec ? rp->rec_nsec <= nsec : rp->rec_sec <= sec); 94 uint64_t nsec = ((struct timeval *)arg)->tv_usec * (NANOSEC / MICROSEC); local 95 return (rp->rec_sec == sec ? rp->rec_nsec >= nsec : rp->rec_sec >= sec);
|
/illumos-gate/usr/src/uts/common/sys/fm/ |
H A D | util.h | 69 uint64_t nsec; /* nanoseconds past ed_tod_base.sec */ member in struct:erpt_dump::__anon7830
|
/illumos-gate/usr/src/lib/libast/common/sfio/ |
H A D | sfpkrd.c | 168 long nsec = tm < 0 ? 0 : (tm+999)/1000; local 169 while(nsec > 0 && r < 0) 185 if(r < 0 && nsec-- > 0)
|
/illumos-gate/usr/src/cmd/fm/modules/sun4u/datapath-retire/ |
H A D | cda_main.c | 189 hrtime_t nsec; local 207 nsec = fmd_prop_get_int64(hdl, "cpu_delay"); 208 cda.cda_cpu_delay.tv_sec = nsec / NANOSEC; 209 cda.cda_cpu_delay.tv_nsec = nsec % NANOSEC;
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | subr.c | 258 smb_time_NT2local(uint64_t nsec, int tzoff, struct timeval *tsp) argument 260 smb_time_server2local(nsec / 10000000 - DIFF1970TO1601, 0, tsp); 265 smb_time_local2NT(struct timeval *tsp, int tzoff, uint64_t *nsec) argument 270 *nsec = (((uint64_t)(seconds) & ~1) + DIFF1970TO1601) *
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_time.c | 119 uint32_t sec, nsec, tmp; local 133 nsec = (uint32_t)hrt - (tmp << 9); 135 while (nsec >= NANOSEC) { 136 nsec -= NANOSEC; 141 ftv->ftv_nsec = nsec;
|
H A D | fmd_rpc_adm.c | 726 hrtime_t nsec = 0; local 752 (void) fmd_conf_getprop(fmd.d_conf, "log.waitrotate", &nsec); 754 tv.tv_sec = nsec / NANOSEC; 755 tv.tv_nsec = nsec % NANOSEC;
|
/illumos-gate/usr/src/cmd/fm/modules/common/cpumem-retire/ |
H A D | cma_main.c | 602 hrtime_t nsec; local 646 nsec = fmd_prop_get_int64(hdl, "cpu_delay"); 647 cma.cma_cpu_delay.tv_sec = nsec / NANOSEC; 648 cma.cma_cpu_delay.tv_nsec = nsec % NANOSEC;
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | msacct.c | 527 cpu_decay(uint32_t pct, hrtime_t nsec) argument 529 uint64_t delta = (uint64_t)nsec; 540 cpu_grow(uint32_t pct, hrtime_t nsec) argument 542 return (LSI_ONE - cpu_decay(LSI_ONE - pct, nsec));
|
H A D | timers.c | 91 int usec, nsec; local 100 * Fast algorithm to convert nsec to usec -- see hrt2ts() 103 nsec = ts.tv_nsec; 104 usec = nsec + (nsec >> 2); 105 usec = nsec + (usec >> 1); 106 usec = nsec + (usec >> 2); 107 usec = nsec + (usec >> 4); 108 usec = nsec - (usec >> 3); 109 usec = nsec 899 int nsec; local 945 int64_t nsec; local 1175 uint32_t sec, nsec, tmp; local 1249 uint32_t sec, nsec, tmp; local [all...] |
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | bios.c | 33 int nsec, int segment); 55 unsigned long long sector, int nsec, int segment) 83 dap.blocks = nsec; 93 if (err == 0 && dap.blocks != nsec) 107 return biosdisk (read, drive, geometry, sector, nsec, segment); 128 nsec, segment); 52 biosdisk(int read, int drive, struct geometry *geometry, unsigned long long sector, int nsec, int segment) argument
|
/illumos-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | ev_timers.c | 65 evConsTime(time_t sec, long nsec) { argument 69 x.tv_nsec = nsec;
|
/illumos-gate/usr/src/common/fs/ |
H A D | pcfs.c | 597 readblock(int sector, int nsec) argument 599 if (sector >= nsec_start && sector + nsec <= nsec_start + nsec_cache) 604 head->fi_count = nsec * SECSIZ; 607 printf("failed to %d sectors at %d\n", nsec, sector);
|
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | esclex.c | 132 const unsigned long long nsec; member in struct:__anon453 136 { "nsec", 1ULL }, 263 stable(Timesuffix[i].suffix), &Timesuffix[i].nsec);
|
H A D | literals.h | 77 L_DECL(nsec); variable
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | timestamp.c | 405 tsc_unscalehrtime(hrtime_t nsec) argument 410 TSC_CONVERT(nsec, tsc, nsec_unscale); 413 return ((uint64_t)nsec);
|
/illumos-gate/usr/src/lib/nsswitch/mdns/common/ |
H A D | mdns_common.c | 554 int32_t nsec; local 570 &nsec)); 571 ptv->tv_usec = nsec / 1000;
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | events.c | 578 nwamd_event_dequeue(long nsec) argument 584 if (event == NULL && nsec == 0) { 592 if (nsec != 0) { 594 waitcap.tv_nsec += nsec; 604 (nsec == 0 || !in_past(waitcap))) { 613 if (nsec == 0) { 627 * Note that if the event is NULL then nsec is
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/ |
H A D | rdsib_ib.c | 1738 hrtime_t nsec; local 1763 nsec = gethrtime(); 1764 rand1 = (nsec & 0xF); 1765 rand2 = (nsec >> 4) & 0xF;
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | main.c | 696 const size_t nsec = sizeof(sections)/sizeof(sections[0]); local 711 } else for (isec = 0; isec < nsec; isec++)
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_display.c | 612 time_t sec, nsec; local 615 nsec = getxdr_long(); 619 return (format_time(sec, nsec)); 626 format_time(int64_t sec, uint32_t nsec) argument 636 (void) sprintf(buff, "%lld.%06d", sec, nsec); 642 (void) sprintf(buff, "%lld.%06d", sec, nsec); 650 (void) sprintf(p, "%09d GMT", nsec);
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | leaky.c | 154 hrtime_t nsec = ts % (hrtime_t)NANOSEC; local 170 30, "elapsed wall time", sec, (nsec * 10)/(hrtime_t)NANOSEC);
|