Searched refs:timep (Results 1 – 6 of 6) sorted by relevance
213 static __be32 *xdr_encode_time(__be32 *p, const struct timespec64 *timep) in xdr_encode_time() argument215 *p++ = cpu_to_be32((u32)timep->tv_sec); in xdr_encode_time()216 if (timep->tv_nsec != 0) in xdr_encode_time()217 *p++ = cpu_to_be32(timep->tv_nsec / NSEC_PER_USEC); in xdr_encode_time()231 const struct timespec64 *timep) in xdr_encode_current_server_time() argument233 *p++ = cpu_to_be32(timep->tv_sec); in xdr_encode_current_server_time()238 static __be32 *xdr_decode_time(__be32 *p, struct timespec64 *timep) in xdr_decode_time() argument240 timep->tv_sec = be32_to_cpup(p++); in xdr_decode_time()241 timep->tv_nsec = be32_to_cpup(p++) * NSEC_PER_USEC; in xdr_decode_time()
462 static __be32 *xdr_encode_nfstime3(__be32 *p, const struct timespec64 *timep) in xdr_encode_nfstime3() argument464 *p++ = cpu_to_be32((u32)timep->tv_sec); in xdr_encode_nfstime3()465 *p++ = cpu_to_be32(timep->tv_nsec); in xdr_encode_nfstime3()469 static __be32 *xdr_decode_nfstime3(__be32 *p, struct timespec64 *timep) in xdr_decode_nfstime3() argument471 timep->tv_sec = be32_to_cpup(p++); in xdr_decode_nfstime3()472 timep->tv_nsec = be32_to_cpup(p++); in xdr_decode_nfstime3()
95 struct tm *gmtime_r(const time_t *timep, struct tm *result);97 struct tm *localtime_r(const time_t *timep, struct tm *result);
80 struct tm *gmtime_r(const time_t *timep, struct tm *result) in gmtime_r() argument82 struct tm *p = gmtime(timep); in gmtime_r()92 struct tm *localtime_r(const time_t *timep, struct tm *result) in localtime_r() argument94 struct tm *p = localtime(timep); in localtime_r()
631 time_t timep; in ipmiStorageGetSelTimeUtcOffset() local635 time(&timep); in ipmiStorageGetSelTimeUtcOffset()636 localTime = localtime(&timep); in ipmiStorageGetSelTimeUtcOffset()638 gmTime = gmtime(&timep); in ipmiStorageGetSelTimeUtcOffset()
58 svcxdr_decode_nfstime3(struct xdr_stream *xdr, struct timespec64 *timep) in svcxdr_decode_nfstime3() argument65 timep->tv_sec = be32_to_cpup(p++); in svcxdr_decode_nfstime3()66 timep->tv_nsec = be32_to_cpup(p); in svcxdr_decode_nfstime3()