|
Functions |
| | EXPORT_SYMBOL (sys_tz) |
| | SYSCALL_DEFINE2 (gettimeofday, struct timeval __user *, tv, struct timezone __user *, tz) |
| static void | warp_clock (void) |
| int | do_sys_settimeofday (struct timespec *tv, struct timezone *tz) |
| | SYSCALL_DEFINE2 (settimeofday, struct timeval __user *, tv, struct timezone __user *, tz) |
| | SYSCALL_DEFINE1 (adjtimex, struct timex __user *, txc_p) |
| struct timespec | current_fs_time (struct super_block *sb) |
| | current_fs_time - Return FS time : Superblock.
|
| | EXPORT_SYMBOL (current_fs_time) |
| unsigned int | jiffies_to_msecs (const unsigned long j) |
| | EXPORT_SYMBOL (jiffies_to_msecs) |
| unsigned int | jiffies_to_usecs (const unsigned long j) |
| | EXPORT_SYMBOL (jiffies_to_usecs) |
| struct timespec | timespec_trunc (struct timespec t, unsigned gran) |
| | timespec_trunc - Truncate timespec to a granularity : Timespec : Granularity in ns.
|
| | EXPORT_SYMBOL (timespec_trunc) |
| void | getnstimeofday (struct timespec *tv) |
| | EXPORT_SYMBOL_GPL (getnstimeofday) |
| unsigned long | mktime (const unsigned int year0, const unsigned int mon0, const unsigned int day, const unsigned int hour, const unsigned int min, const unsigned int sec) |
| | EXPORT_SYMBOL (mktime) |
| void | set_normalized_timespec (struct timespec *ts, time_t sec, long nsec) |
| | set_normalized_timespec - set timespec sec and nsec parts and normalize
|
| | EXPORT_SYMBOL (set_normalized_timespec) |
| struct timespec | ns_to_timespec (const s64 nsec) |
| | ns_to_timespec - Convert nanoseconds to timespec : the nanoseconds value to be converted
|
| | EXPORT_SYMBOL (ns_to_timespec) |
| struct timeval | ns_to_timeval (const s64 nsec) |
| | ns_to_timeval - Convert nanoseconds to timeval : the nanoseconds value to be converted
|
| | EXPORT_SYMBOL (ns_to_timeval) |
| unsigned long | msecs_to_jiffies (const unsigned int m) |
| | EXPORT_SYMBOL (msecs_to_jiffies) |
| unsigned long | usecs_to_jiffies (const unsigned int u) |
| | EXPORT_SYMBOL (usecs_to_jiffies) |
| unsigned long | timespec_to_jiffies (const struct timespec *value) |
| | EXPORT_SYMBOL (timespec_to_jiffies) |
| void | jiffies_to_timespec (const unsigned long jiffies, struct timespec *value) |
| | EXPORT_SYMBOL (jiffies_to_timespec) |
| unsigned long | timeval_to_jiffies (const struct timeval *value) |
| | EXPORT_SYMBOL (timeval_to_jiffies) |
| void | jiffies_to_timeval (const unsigned long jiffies, struct timeval *value) |
| | EXPORT_SYMBOL (jiffies_to_timeval) |
| clock_t | jiffies_to_clock_t (long x) |
| | EXPORT_SYMBOL (jiffies_to_clock_t) |
| unsigned long | clock_t_to_jiffies (unsigned long x) |
| | EXPORT_SYMBOL (clock_t_to_jiffies) |
| u64 | jiffies_64_to_clock_t (u64 x) |
| | EXPORT_SYMBOL (jiffies_64_to_clock_t) |
| u64 | nsec_to_clock_t (u64 x) |
| u64 | get_jiffies_64 (void) |
| | EXPORT_SYMBOL (get_jiffies_64) |
| | EXPORT_SYMBOL (jiffies) |
| struct timespec | timespec_add_safe (const struct timespec lhs, const struct timespec rhs) |
Variables |
| struct timezone | sys_tz |
| void set_normalized_timespec |
( |
struct timespec * |
ts, |
|
|
time_t |
sec, |
|
|
long |
nsec | |
|
) |
| | |
set_normalized_timespec - set timespec sec and nsec parts and normalize
: pointer to timespec variable to be set : seconds to set : nanoseconds to set
Set seconds and nanoseconds field of a timespec variable and normalize to the timespec storage format
Note: The tv_nsec part is always in the range of 0 <= tv_nsec < NSEC_PER_SEC For negative values only the tv_sec field is negative !
Definition at line 375 of file time.c.
| struct timespec timespec_trunc |
( |
struct timespec |
t, |
|
|
unsigned |
gran | |
|
) |
| | [read] |
timespec_trunc - Truncate timespec to a granularity : Timespec : Granularity in ns.
Truncate a timespec to a granularity. gran must be smaller than a second. Always rounds down.
This function should be only used for timestamps returned by current_kernel_time() or CURRENT_TIME, not with do_gettimeofday() because it doesn't handle the better resolution of the latter.
Definition at line 289 of file time.c.