Home
last modified time | relevance | path

Searched refs:timep (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/kernel/fs/nfs/
H A Dnfs2xdr.c212 static __be32 *xdr_encode_time(__be32 *p, const struct timespec64 *timep) in xdr_encode_time() argument
214 *p++ = cpu_to_be32((u32)timep->tv_sec); in xdr_encode_time()
215 if (timep->tv_nsec != 0) in xdr_encode_time()
216 *p++ = cpu_to_be32(timep->tv_nsec / NSEC_PER_USEC); in xdr_encode_time()
230 const struct timespec64 *timep) in xdr_encode_current_server_time() argument
232 *p++ = cpu_to_be32(timep->tv_sec); in xdr_encode_current_server_time()
237 static __be32 *xdr_decode_time(__be32 *p, struct timespec64 *timep) in xdr_decode_time() argument
239 timep->tv_sec = be32_to_cpup(p++); in xdr_decode_time()
240 timep->tv_nsec = be32_to_cpup(p++) * NSEC_PER_USEC; in xdr_decode_time()
H A Dnfs3xdr.c460 static __be32 *xdr_encode_nfstime3(__be32 *p, const struct timespec64 *timep) in xdr_encode_nfstime3() argument
462 *p++ = cpu_to_be32((u32)timep->tv_sec); in xdr_encode_nfstime3()
463 *p++ = cpu_to_be32(timep->tv_nsec); in xdr_encode_nfstime3()
467 static __be32 *xdr_decode_nfstime3(__be32 *p, struct timespec64 *timep) in xdr_decode_nfstime3() argument
469 timep->tv_sec = be32_to_cpup(p++); in xdr_decode_nfstime3()
470 timep->tv_nsec = be32_to_cpup(p++); in xdr_decode_nfstime3()
/OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/
H A Drtc_test.c89 time_t timep; in get_system_time() local
92 ret = read_rtc(&timep); in get_system_time()
97 p = localtime(&timep); in get_system_time()
/OK3568_Linux_fs/u-boot/common/
H A Dlrz.c2628 struct utimbuf timep; local
2629 timep.actime = time(NULL);
2630 timep.modtime = zi->modtime;
2633 __maybe_unused time_t timep[2];