函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:alloc_posix_timer

函数原型:static struct k_itimer *alloc_posix_timer(void)

返回类型:struct k_itimer

参数:

432  tmr等于Shortcuts
433  如果非tmr则返回:tmr
435  如果此条件成立可能性小(为编译器优化)(!(sigq = These functions support sending signals using preallocated sigqueue* structures. This is needed "because realtime applications cannot* afford to lose notifications of asynchronous events, like timer* expirations or I/O completions"))则
436  kmem_cache_free(Lets keep our timers in a slab cache :-), tmr)
437  返回:NULL
439  clear_siginfo( & info)
440  返回:tmr
调用者
名称描述
do_timer_createCreate a POSIX.1b interval timer.