Lines Matching refs:snap
133 dtrace_hrestime_t snap; in dtrace_gethrestime() local
138 snap.dthr_lock = dtrace_hrestime[i].dthr_lock; in dtrace_gethrestime()
140 snap.dthr_hrestime = dtrace_hrestime[i].dthr_hrestime; in dtrace_gethrestime()
141 snap.dthr_hrtime = dtrace_hrestime[i].dthr_hrtime; in dtrace_gethrestime()
142 snap.dthr_adj = dtrace_hrestime[i].dthr_adj; in dtrace_gethrestime()
145 if ((snap.dthr_lock & ~1) == dtrace_hrestime[i].dthr_lock) in dtrace_gethrestime()
161 nslt = dtrace_gethrtime() - snap.dthr_hrtime; in dtrace_gethrestime()
164 now = ((hrtime_t)snap.dthr_hrestime.tv_sec * (hrtime_t)NANOSEC) + in dtrace_gethrestime()
165 snap.dthr_hrestime.tv_nsec; in dtrace_gethrestime()
167 if (snap.dthr_adj != 0) { in dtrace_gethrestime()
168 if (snap.dthr_adj > 0) { in dtrace_gethrestime()
170 if (adj > snap.dthr_adj) in dtrace_gethrestime()
171 adj = (int)snap.dthr_adj; in dtrace_gethrestime()
174 if (adj < snap.dthr_adj) in dtrace_gethrestime()
175 adj = (int)snap.dthr_adj; in dtrace_gethrestime()