Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\posix-clock.c Create Date:2022-07-28 10:48:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Returns NULL if the posix_clock instance attached to 'fp' is old and stale.

Proto:static struct posix_clock *get_posix_clock(struct file *fp)

Type:struct posix_clock

Parameter:

TypeParameterName
struct file *fp
22  clk = needed for tty driver, and maybe others
24  lock for reading
26  If Not zombie Then Return clk
29  lease a read lock
31  Return NULL
Caller
NameDescribe
posix_clock_read
posix_clock_poll
posix_clock_ioctl
posix_clock_compat_ioctl
get_clock_desc