Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

Proto:static inline void hlist_nulls_add_head_rcu(struct hlist_nulls_node *n, struct hlist_nulls_head *h)

Type:void

Parameter:

TypeParameterName
struct hlist_nulls_node *n
struct hlist_nulls_head *h
94  first = first
96  next = first
97  WRITE_ONCE(pprev, & first)
98  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_nulls_first_rcu(h), n)
99  If Not ptr_is_a_nulls - Test if a ptr is a nulls*@ptr: ptr to be tested Then WRITE_ONCE(pprev, & next)
Caller
NameDescribe
htab_map_update_elemCalled from syscall or from eBPF program
htab_lru_map_update_elem
__htab_percpu_map_update_elem
__htab_lru_percpu_map_update_elem
__io_worker_idleNo work, worker going to sleep
create_io_worker