Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\rculist.h Create Date:2022-07-28 05:38:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:hlist_add_tail_rcu*@n: the element to add to the hash list

Proto:static inline void hlist_add_tail_rcu(struct hlist_node *n, struct hlist_head *h)

Type:void

Parameter:

TypeParameterName
struct hlist_node *n
struct hlist_head *h
559  struct hlist_node * i, * last = NULL
562  When i cycle last = i
565  If last Then
566  next = next
567  pprev = next
568  cu_assign_pointer() - assign to RCU-protected pointer*@p: pointer to assign to*@v: value to assign (publish)* Assigns the specified value to the specified RCU-protected* pointer, ensuring that any concurrent RCU readers will see* any prior initialization(hlist_next_rcu(last), n)
569  Else
570  adds the specified element to the specified hlist
Caller
NameDescribe
security_add_hookssecurity_add_hooks - Add a modules hooks to the hook lists.*@hooks: the hooks to add*@count: the number of hooks to add*@lsm: the name of the security module* Each LSM has to register its hooks with the infrastructure.