Home
last modified time | relevance | path

Searched refs:clock_reg (Results 1 – 2 of 2) sorted by relevance

/external/e2fsprogs/lib/uuid/
Duuid_time.c61 uint64_t clock_reg; in uuid_time() local
66 clock_reg = uuid.time_low | ((uint64_t) high << 32); in uuid_time()
68 clock_reg -= (((uint64_t) 0x01B21DD2) << 32) + 0x13814000; in uuid_time()
69 tv.tv_sec = clock_reg / 10000000; in uuid_time()
70 tv.tv_usec = (clock_reg % 10000000) / 10; in uuid_time()
Dgen_uuid.c319 uint64_t clock_reg; in get_clock() local
389 clock_reg = tv.tv_usec*10 + adjustment; in get_clock()
390 clock_reg += ((uint64_t) tv.tv_sec)*10000000; in get_clock()
391 clock_reg += (((uint64_t) 0x01B21DD2) << 32) + 0x13814000; in get_clock()
417 *clock_high = clock_reg >> 32; in get_clock()
418 *clock_low = clock_reg; in get_clock()