函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\time32.h Create Date:2022-07-27 06:39:42
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:static __always_inline void timespec_add_ns(struct timespec *a, u64 ns)

返回类型:void

参数:

类型参数名称
struct timespec *a
u64ns
173  seconds 加等于__iter_div_u64_rem( nanoseconds + ns, NSEC_PER_SEC, & ns)
174  nanoseconds 等于ns