Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\tty.h Create Date:2022-07-28 06:19:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:y_kref_get - get a tty reference*@tty: tty device* Return a new reference to a tty object. The caller must hold* sufficient locks/counts to ensure that their existing reference cannot* go away

Proto:static inline struct tty_struct *tty_kref_get(struct tty_struct *tty)

Type:struct tty_struct

Parameter:

TypeParameterName
struct tty_struct *tty
466  If tty Then kref_get - increment refcount for object.*@kref: object.
468  Return tty
Caller
NameDescribe
copy_processCreate a new process
audit_get_tty