函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Returns NULL if the posix_clock instance attached to 'fp' is old and stale.

函数原型:static struct posix_clock *get_posix_clock(struct file *fp)

返回类型:struct posix_clock

参数:

类型参数名称
struct file *fp
22  clk等于 needed for tty driver, and maybe others
24  lock for reading
26  如果非zombie则返回:clk
29  lease a read lock
31  返回:NULL
调用者
名称描述
posix_clock_read
posix_clock_poll
posix_clock_ioctl
posix_clock_compat_ioctl
get_clock_desc