Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sock_poll_wait - place memory barrier behind the poll_wait call.*@filp: file*@sock: socket to wait on*@p: poll_table* See the comments in the wq_has_sleeper function.

Proto:static inline void sock_poll_wait(struct file *filp, struct socket *sock, poll_table *p)

Type:void

Parameter:

TypeParameterName
struct file *filp
struct socket *sock
poll_table *p
2111  If Not Return true if it is guaranteed that poll will not wait. This is the case* if the poll() of another file descriptor in the set got an event, so there* is no need for waiting. Then
2112  poll_wait(filp, & Note: wait MUST be first field of socket_wq , p)
2118  smp_mb()