Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\devpts\inode.c Create Date:2022-07-28 20:34:19
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:devpts_pty_kill -- remove inode form /dev/pts/*@inode: inode of the slave to be removed* This is an inverse operation of devpts_pty_new.

Proto:void devpts_pty_kill(struct dentry *dentry)

Type:void

Parameter:

TypeParameterName
struct dentry *dentry
620  WARN_ON_ONCE(s_magic != DEVPTS_SUPER_MAGIC)
622  fs-specific data = NULL
623  drop_nlink - directly drop an inode's link count*@inode: inode* This is a low-level filesystem helper to replace any* direct filesystem manipulation of i_nlink
624  snotify_unlink - 'name' was unlinked* Caller must make sure that dentry->d_name is stable.
625  d_drop(dentry)
626  dput - release a dentry*@dentry: dentry to release * Release a dentry. This will drop the usage count and if appropriate* call the dentry unlink method as well as removing it from the queues and* releasing its resources