Lines Matching refs:dest
30 udf_disk_stamp_to_time(struct timespec64 *dest, struct timestamp src) in udf_disk_stamp_to_time() argument
46 dest->tv_sec = mktime64(year, src.month, src.day, src.hour, src.minute, in udf_disk_stamp_to_time()
48 dest->tv_sec -= offset * 60; in udf_disk_stamp_to_time()
56 dest->tv_nsec = 1000 * (src.centiseconds * 10000 + in udf_disk_stamp_to_time()
59 dest->tv_nsec = 0; in udf_disk_stamp_to_time()
64 udf_time_to_disk_stamp(struct timestamp *dest, struct timespec64 ts) in udf_time_to_disk_stamp() argument
72 dest->typeAndTimezone = cpu_to_le16(0x1000 | (offset & 0x0FFF)); in udf_time_to_disk_stamp()
76 dest->year = cpu_to_le16(tm.tm_year + 1900); in udf_time_to_disk_stamp()
77 dest->month = tm.tm_mon + 1; in udf_time_to_disk_stamp()
78 dest->day = tm.tm_mday; in udf_time_to_disk_stamp()
79 dest->hour = tm.tm_hour; in udf_time_to_disk_stamp()
80 dest->minute = tm.tm_min; in udf_time_to_disk_stamp()
81 dest->second = tm.tm_sec; in udf_time_to_disk_stamp()
82 dest->centiseconds = ts.tv_nsec / 10000000; in udf_time_to_disk_stamp()
83 dest->hundredsOfMicroseconds = (ts.tv_nsec / 1000 - in udf_time_to_disk_stamp()
84 dest->centiseconds * 10000) / 100; in udf_time_to_disk_stamp()
85 dest->microseconds = (ts.tv_nsec / 1000 - dest->centiseconds * 10000 - in udf_time_to_disk_stamp()
86 dest->hundredsOfMicroseconds * 100); in udf_time_to_disk_stamp()