Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:wait_for_partner

Proto:static int wait_for_partner(struct pipe_inode_info *pipe, unsigned int *cnt)

Type:int

Parameter:

TypeParameterName
struct pipe_inode_info *pipe
unsigned int *cnt
998  cur = cnt
1000  When cur == cnt cycle
1001  Drop the inode semaphore and wait for a pipe event, atomically
1002  If signal_pending(current process) Then Break
1005  Return If cur == cnt Then -These should never be seen by user programs. To return one of ERESTART** codes, signal_pending() MUST be set. Note that ptrace can observe these* at syscall exit tracing, but they will never be left for the debugged user* process to see. Else 0
Caller
NameDescribe
fifo_open