Function Report

Linux Kernel (v4.4)

Source File:include\linux\tty.h Create Date:2016-01-14 08:22:46
Last Modify:2016-01-11 07:01:32 Copyright©Brick
home page Tree
Annotate the kernelChinese

Function Name:tty_kref_get

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

Return Type:static inline struct tty_struct *

Parameter:

Type Parameter NameRemarks
struct tty_struct * tty tty device

Function description: get a tty reference

417  If tty device then increment refcount for object.
419  Returning tty device
Caller
Function NameFunction description
copy_processCreate a new process