Searched refs:unixtime (Results 1 – 2 of 2) sorted by relevance
122 int64_t unixtime; in pc_tvtopct() local124 unixtime = (int64_t)tvp->tv_sec; in pc_tvtopct()125 unixtime -= YZ_SECS; in pc_tvtopct()126 unixtime -= pc_tz.secondswest; in pc_tvtopct()127 if (unixtime <= 0) { in pc_tvtopct()133 for (year = YEAR_ZERO; unixtime >= days_in_year(year) * 86400; in pc_tvtopct()135 unixtime -= 86400 * days_in_year(year); in pc_tvtopct()145 for (month = 1; unixtime >= 86400 * days_in_month(month, year); in pc_tvtopct()147 unixtime -= 86400 * days_in_month(month, year); in pc_tvtopct()151 day = (int)(unixtime / 86400); in pc_tvtopct()[all …]
578 int64_t unixtime; in pcfs_getattr() local648 pc_pcttotv(&pcp->pc_entry.pcd_mtime, &unixtime); in pcfs_getattr()650 if (unixtime > INT32_MAX) in pcfs_getattr()651 DTRACE_PROBE1(pcfs__mtimeclamped, int64_t, unixtime); in pcfs_getattr()652 unixtime = MIN(unixtime, INT32_MAX); in pcfs_getattr()653 } else if (unixtime > INT32_MAX && in pcfs_getattr()656 DTRACE_PROBE1(pcfs__mtimeoverflowed, int64_t, unixtime); in pcfs_getattr()660 vap->va_mtime.tv_sec = (time_t)unixtime; in pcfs_getattr()679 pc_pcttotv(&atime, &unixtime); in pcfs_getattr()681 if (unixtime > INT32_MAX) in pcfs_getattr()[all …]