Searched refs:tsb (Results 1 - 15 of 15) sorted by relevance

/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_clock_gettime.c88 struct timespec tsa, tsb, tsl, res; local
109 CL(clock_gettime(CLOCK_REALTIME, &tsb));
110 diff = 1000000000LL * (tsb.tv_sec - tsa.tv_sec)
111 + tsb.tv_nsec - tsa.tv_nsec;
121 (uintmax_t)tsb.tv_sec, (uintmax_t)tsb.tv_nsec, diff);
123 elapsed = 1000000000LL * (tsb.tv_sec - tsl.tv_sec)
124 + tsb.tv_nsec - tsl.tv_nsec;
128 tsl = tsb;
135 tsa.tv_sec = tsb
[all...]
/freebsd-11-stable/tools/tools/netrate/netreceive/
H A Dnetreceive.c77 timespec_add(struct timespec *tsa, struct timespec *tsb) argument
80 tsa->tv_sec += tsb->tv_sec;
81 tsa->tv_nsec += tsb->tv_nsec;
89 timespec_sub(struct timespec *tsa, struct timespec *tsb) argument
92 tsa->tv_sec -= tsb->tv_sec;
93 tsa->tv_nsec -= tsb->tv_nsec;
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/
H A Dt_sleep.c268 struct timespec tsa, tsb, tslp, tremain; local
294 clock_gettime(CLOCK_REALTIME, &tsb);
297 timespecsub(&tsb, &tsa, &tremain);
301 delta1 = (int64_t)tsb.tv_sec - (int64_t)tsa.tv_sec;
303 delta1 += (int64_t)tsb.tv_nsec - (int64_t)tsa.tv_nsec;
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_diff.c258 struct zfs_stat fsb, tsb; local
279 MAXPATHLEN, &tsb);
294 tmode = tsb.zs_mode & S_IFMT;
296 tsb.zs_links == 0)
299 change = tsb.zs_links - fsb.zs_links;
303 print_link_change(fp, di, change, tobjname, &tsb);
306 print_file(fp, di, ZDIFF_ADDED, tobjname, &tsb);
317 if (fmode != tmode && fsb.zs_gen == tsb.zs_gen)
318 tsb.zs_gen++; /* Force a generational difference */
321 if (fsb.zs_gen == tsb
[all...]
/freebsd-11-stable/bin/mv/
H A Dmv.c281 struct stat tsb; local
341 if (fstat(to_fd, &tsb) == 0) {
343 (tsb.st_flags & ~UF_ARCHIVE)) {
345 sbp->st_flags | (tsb.st_flags & UF_ARCHIVE)))
/freebsd-11-stable/tools/tools/netrate/netsend/
H A Dnetsend.c71 timespec_add(struct timespec *tsa, struct timespec *tsb) argument
74 tsa->tv_sec += tsb->tv_sec;
75 tsa->tv_nsec += tsb->tv_nsec;
/freebsd-11-stable/sys/sparc64/sparc64/
H A Ddump_machdep.c47 #include <machine/tsb.h>
H A Diommu.c394 uint64_t tsb; local
397 tsb = is->is_ptsb;
399 tsb |= is->is_tsbsize;
402 IOMMU_WRITE8(is, is_iommu, IMR_TSB, tsb);
H A Dtsb.c63 #include <machine/tsb.h>
193 * Traverse the tsb of a pmap, calling the callback function for any tte entry
198 * dimensions of the tsb size as an optimization.
H A Dtrap.c85 #include <machine/tsb.h>
H A Dmp_machdep.c93 #include <machine/tsb.h>
H A Dpmap.c97 #include <machine/tsb.h>
1280 CTR2(KTR_PMAP, "pmap_release: ctx=%#x tsb=%p",
H A Dexception.S72 #include <machine/tsb.h>
/freebsd-11-stable/usr.bin/xinstall/
H A Dxinstall.c752 struct timespec tsb[2]; local
894 tsb[0] = to_sb.st_atim;
895 tsb[1] = to_sb.st_mtim;
896 (void)utimensat(AT_FDCWD, tempfile, tsb, 0);
961 tsb[0] = from_sb.st_atim;
962 tsb[1] = from_sb.st_mtim;
963 (void)utimensat(AT_FDCWD, to_name, tsb, 0);
1032 metadata_log(to_name, "file", tsb, NULL, digestresult, to_sb.st_size);
/freebsd-11-stable/contrib/ntp/ntpd/
H A Dntpd.c1465 l_fp tsa, tsb; local
1509 get_systime(&tsb);
1510 L_SUB(&tsb, &tsa);
1512 collect_timing(NULL, "processing", bufcount, &tsb);
1513 DPRINTF(2, ("processing time for %d buffers %s\n", bufcount, lfptoa(&tsb, 9)));

Completed in 238 milliseconds