Searched refs:nsec (Results 1 - 25 of 67) sorted by relevance

123

/illumos-gate/usr/src/cmd/dtrace/test/tst/common/profile-n/
H A Derr.D_PDESC_ZEROonensec.d32 * Call profile-1nsec; less than 200 micro seconds.
40 profile-1nsec
42 printf("Call profile-1nsec; less than 200 micro seconds\n");
H A Dtst.profilensec.d32 * Simple profile-nsec simple test.
41 profile-2000000000nsec
43 printf("This test is a simple profile-nsec provider test");
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/tick-n/
H A Derr.D_PDESC_ZEROonensec.d32 * Call profile-1nsec; less than 200 micro seconds.
40 profile-1nsec
42 printf("Call profile-1nsec; less than 200 micro seconds\n");
H A Dtst.ticknsec.d32 * tick-nsec simple test.
41 tick-20000000nsec
43 printf("This test is a simple tick-nsec provider test\n");
/illumos-gate/usr/src/lib/libast/common/tm/
H A Dtmsleep.c35 tmsleep(time_t sec, time_t nsec) argument
40 tv.tv_nsec = nsec;
H A Dtmxscan.c40 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/uts/i86pc/sys/
H A Dmachclock.h67 #define TODOP_SETWD(top, nsec) ((top)->tod_set_watchdog_timer(top, nsec))
69 #define TODOP_SETWAKE(top, nsec) ((top)->tod_set_wake_alarm(top, nsec))
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dutil.h64 #define NSEC_TO_SEC(nsec) (nsec) / (long)NANOSEC
65 #define NSEC_TO_FRACNSEC(nsec) (nsec) % (long)NANOSEC
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dtime_util.c42 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 Dfmd_filter.c85 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/os/
H A Dtimers.c91 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/cmd/svc/common/
H A Dr.manifest88 while [ ${nsec:=0} -lt $wait_time ]; do
97 nsec=`expr ${nsec} + 1`
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/safety/
H A Dtst.copyin.d46 #pragma D option statusrate=1nsec
/illumos-gate/usr/src/cmd/fm/modules/sun4u/datapath-retire/
H A Dcda_main.c189 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/uts/common/sys/fm/
H A Dutil.h69 uint64_t nsec; /* nanoseconds past ed_tod_base.sec */ member in struct:erpt_dump::__anon7830
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dbios.c33 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/libsmbfs/smb/
H A Dsubr.c258 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/sa/
H A Dtimex.c45 #define NSEC_TO_TICK(nsec) ((nsec) / nsec_per_tick)
46 #define NSEC_TO_TICK_ROUNDUP(nsec) NSEC_TO_TICK((nsec) + \
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_time.c119 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;
/illumos-gate/usr/src/uts/common/sys/
H A Dtime.h273 * Macros to convert from common units of time (sec, msec, usec, nsec,
294 #define NSEC_TO_TICK(nsec) ((nsec) / nsec_per_tick)
295 #define NSEC_TO_TICK_ROUNDUP(nsec) \
296 ((nsec) == 0 ? 0 : NSEC_TO_TICK((nsec) - 1) + 1)
/illumos-gate/usr/src/grub/grub-0.97/grub/
H A Dasmstub.c934 unsigned long long sector, int nsec, int segment)
973 if (sector == 0 && nsec > 1)
982 nsec--;
985 if (nread (fd, buf, nsec * SECTOR_SIZE) != nsec * SECTOR_SIZE)
994 nsec, sector, drive, device_map[drive]);
995 hex_dump (buf, nsec * SECTOR_SIZE);
998 if (nwrite (fd, buf, nsec * SECTOR_SIZE) != nsec * SECTOR_SIZE)
933 biosdisk(int subfunc, int drive, struct geometry *geometry, unsigned long long sector, int nsec, int segment) argument
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_subr.h193 void smb_time_NT2local(uint64_t nsec, struct timespec *tsp);
194 void smb_time_local2NT(struct timespec *tsp, uint64_t *nsec);
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dmachclock.h200 #define TODOP_SETWD(top, nsec) ((top).tod_set_watchdog_timer(nsec))
/illumos-gate/usr/src/lib/libzonestat/common/
H A Dzonestat_impl.h60 #define TIMESTRUC_ADD_NANOSEC(ts, nsec) \
62 (ts).tv_sec += (time_t)((nsec) / NANOSEC); \
63 (ts).tv_nsec += (long)((nsec) % NANOSEC); \
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfpkrd.c168 long nsec = tm < 0 ? 0 : (tm+999)/1000; local
169 while(nsec > 0 && r < 0)
185 if(r < 0 && nsec-- > 0)

Completed in 146 milliseconds

123