Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:pipe_release

Proto:static int pipe_release(struct inode *inode, struct file *file)

Type:int

Parameter:

TypeParameterName
struct inode *inode
struct file *file
700  pipe = needed for tty driver, and maybe others
702  __pipe_lock(pipe)
703  If f_mode & le is open for reading Then readers--
705  If f_mode & le is open for writing Then writers--
708  If readers || writers Then
709  wake_up_interruptible_sync_poll( & wait, Epoll event masks | EPOLLOUT | EPOLLRDNORM | EPOLLWRNORM | EPOLLERR | EPOLLHUP)
710  an be called from interrupts
711  an be called from interrupts
713  __pipe_unlock(pipe)
715  put_pipe_info(inode, pipe)
716  Return 0