函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\posix-cpu-timers.c Create Date:2022-07-27 11:47:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:collect_timerqueue

函数原型:static u64 collect_timerqueue(struct timerqueue_head *head, struct list_head *firing, u64 now)

返回类型:u64

参数:

类型参数名称
struct timerqueue_head *head
struct list_head *firing
u64now
767  i等于0
769 next等于返回计时器的最早的过期时间循环
773  ctmr等于container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(next, structcpu_timer, node)
774  expires等于cpu_timer_getexpires(ctmr)
776  如果i先自加恒等于MAX_COLLECTEDnow小于expires则返回:expires
779  firing等于1
780  cpu_timer_dequeue(ctmr)
781  添加链表项
784  返回:U64_MAX
调用者
名称描述
collect_posix_cputimers