Lines Matching defs:stat
26 struct stat stat;
30 stat.st_atim.tv_sec = times[0].tv_sec;
31 stat.st_atim.tv_nsec = times[0].tv_usec * 1000;
33 stat.st_mtim.tv_sec = times[1].tv_sec;
34 stat.st_mtim.tv_nsec = times[1].tv_usec * 1000;
37 stat.st_atim.tv_sec = stat.st_mtim.tv_sec = now / 1000000;
38 stat.st_atim.tv_nsec = stat.st_mtim.tv_nsec = (now % 1000000) * 1000;
42 status = _kern_write_stat(-1, path, traverseLink, &stat,
43 sizeof(struct stat), B_STAT_MODIFICATION_TIME | B_STAT_ACCESS_TIME);
59 struct stat stat;
63 // Init the stat time fields to the current time, if at least one time is
68 stat.st_atim.tv_sec = stat.st_mtim.tv_sec = now / 1000000;
69 stat.st_atim.tv_nsec = stat.st_mtim.tv_nsec = (now % 1000000) * 1000;
82 stat.st_atim = times[0];
94 stat.st_mtim = times[1];
102 &stat, sizeof(struct stat), mask);