Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sk_sleep

Proto:static inline wait_queue_head_t *sk_sleep(struct sock *sk)

Type:wait_queue_head_t

Parameter:

TypeParameterName
struct sock *sk
1811  BUILD_BUG_ON - break compile if a condition is true(offsetof(structsocket_wq, wait) != 0)
1812  Return & ({
1812  typeof(sk->sk_wq)________p1 = ({
1812  union{typeof(sk_wq__val;char __c[1];}__u
1812  If 1 Then __read_once_size( & (sk_wq), __c, size of sk_wq )
1812  Else __read_once_size_nocheck( & (sk_wq), __c, size of sk_wq )
1812  Do
1812  When 0 cycle
1812  __val
1812  })
1812  })->wait