Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\time32.h Create Date:2022-07-28 05:35:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mespec_add_ns - Adds nanoseconds to a timespec*@a: pointer to timespec to be incremented*@ns: unsigned nanoseconds value to be added* This must always be inlined because its used from the x86-64 vdso,* which cannot call other kernel functions.

Proto:static __always_inline void timespec_add_ns(struct timespec *a, u64 ns)

Type:void

Parameter:

TypeParameterName
struct timespec *a
u64ns
173  seconds += __iter_div_u64_rem( nanoseconds + ns, NSEC_PER_SEC, & ns)
174  nanoseconds = ns