函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\rculist.h Create Date:2022-07-27 06:40:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:hlist_add_tail_rcu*@n: the element to add to the hash list

函数原型:static inline void hlist_add_tail_rcu(struct hlist_node *n, struct hlist_head *h)

返回类型:void

参数:

类型参数名称
struct hlist_node *n
struct hlist_head *h
559  struct hlist_node * i, * last = NULL
562 i循环last等于i
565  如果last
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  否则
570  添加哈希记录
调用者
名称描述
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.
sk_add_node_rcu
sk_add_node_tail_rcu