FreeBSD/sys/fs/devfs/devfs_vnops.c
/*
 * Update devfs node timestamp.  Note that updates are unlocked and
 * stat(2) could see partially updated times.
 */
Update devfs node timestamp.  Note that updates are unlocked and
stat(2) could see partially updated times.
Update devfs node timestamp . Note that updates are unlocked and stat ( 2 ) could see partially updated times .
static void
devfs_timestamp(struct timespec *tsp)
{
	time_t ts;
	if (devfs_dotimes) {
		vfs_timestamp(tsp);
	} else {
		ts = time_second;
		if (tsp->tv_sec != ts) {
			tsp->tv_sec = ts;
			tsp->tv_nsec = 0;
		}
	}
}
static void devfs_timestamp ( struct timespec * tsp ) { time_t ts ; if ( devfs_dotimes ) { vfs_timestamp ( tsp ) ; } else { ts = time_second ; if ( tsp -> tv_sec != ts ) { tsp -> tv_sec = ts ; tsp -> tv_nsec = 0 ; } } }
Update devfs node timestamp.
Update devfs node timestamp .