函数源码

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source File:kernel\time\timekeeping.c Create Date:2022-07-27 11:42:19
首页 Copyright©Brick

1344
1345
1346
1347
1348
1349
1350
1351
1352
/**
 * __timekeeping_set_tai_offset - Sets the TAI offset from UTC and monotonic
 *
 */
static void __timekeeping_set_tai_offset(struct timekeeper *tk, s32 tai_offset)
{
    tk->tai_offset = tai_offset;
    tk->offs_tai = ktime_add(tk->offs_real, ktime_set(tai_offset, 0));
}