Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sk_nulls_del_node_init_rcu

Proto:static inline bool sk_nulls_del_node_init_rcu(struct sock *sk)

Type:bool

Parameter:

TypeParameterName
struct sock *sk
683  rc = __sk_nulls_del_node_init_rcu(sk)
685  If rc Then
687  WARN_ON(_read - get a refcount's value*@r: the refcount* Return: the refcount's value == 1)
688  Ungrab socket in the context, which assumes that socket refcntcannot hit zero, f.e. it is true in context of any socketcall.
690  Return rc