Lines Matching refs:dest
44 udf_disk_stamp_to_time(struct timespec64 *dest, struct timestamp src) in udf_disk_stamp_to_time() argument
60 dest->tv_sec = mktime64(year, src.month, src.day, src.hour, src.minute, in udf_disk_stamp_to_time()
62 dest->tv_sec -= offset * 60; in udf_disk_stamp_to_time()
63 dest->tv_nsec = 1000 * (src.centiseconds * 10000 + in udf_disk_stamp_to_time()
69 dest->tv_nsec %= NSEC_PER_SEC; in udf_disk_stamp_to_time()
73 udf_time_to_disk_stamp(struct timestamp *dest, struct timespec64 ts) in udf_time_to_disk_stamp() argument
81 dest->typeAndTimezone = cpu_to_le16(0x1000 | (offset & 0x0FFF)); in udf_time_to_disk_stamp()
85 dest->year = cpu_to_le16(tm.tm_year + 1900); in udf_time_to_disk_stamp()
86 dest->month = tm.tm_mon + 1; in udf_time_to_disk_stamp()
87 dest->day = tm.tm_mday; in udf_time_to_disk_stamp()
88 dest->hour = tm.tm_hour; in udf_time_to_disk_stamp()
89 dest->minute = tm.tm_min; in udf_time_to_disk_stamp()
90 dest->second = tm.tm_sec; in udf_time_to_disk_stamp()
91 dest->centiseconds = ts.tv_nsec / 10000000; in udf_time_to_disk_stamp()
92 dest->hundredsOfMicroseconds = (ts.tv_nsec / 1000 - in udf_time_to_disk_stamp()
93 dest->centiseconds * 10000) / 100; in udf_time_to_disk_stamp()
94 dest->microseconds = (ts.tv_nsec / 1000 - dest->centiseconds * 10000 - in udf_time_to_disk_stamp()
95 dest->hundredsOfMicroseconds * 100); in udf_time_to_disk_stamp()