函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:添加哈希记录

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

返回类型:void

参数:

类型参数名称
struct hlist_node *n
struct hlist_head *h
528  first等于first
530  next等于first
531  pprev等于first
532  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(urn the first or the next element in an RCU protected hlist(h), n)
533  如果firstpprev等于next
调用者
名称描述
attach_pid进程归集
lockdep_register_keyRegister a dynamically allocated key.
register_lock_classRegister a lock's class in the hash-table, if the class is not present* yet. Otherwise we look it up. We cache the result in the lock object* itself, so actual lookup of the hash should be once per lock object.
posix_timer_add
register_kprobe
perf_trace_add
__dev_map_hash_update_elem
perf_swevent_add
__mmu_notifier_registerSame as mmu_notifier_register but here the caller must hold the mmap_sem in* write mode. A NULL mn signals the notifier is being registered for itree* mode.
blkg_createIf @new_blkg is %NULL, this function tries to allocate a new one as* necessary using %GFP_NOWAIT. @new_blkg is always consumed on return.
avc_insertavc_insert - Insert an AVC entry.*@ssid: source security identifier*@tsid: target security identifier*@tclass: target security class*@avd: resulting av decision*@xp_node: resulting extended permissions* Insert an AVC entry for the SID pair
smk_insert_entrysmk_insert_entry - insert a smack label into a hash map,* this function must be called under smack_known_lock
ima_add_digest_entryma_add_template_entry helper function:* - Add template entry to the measurement list and hash table, for* all entries except those carried across kexec.* (Called with ima_extend_list_mutex held.)
__attach_mnt
fsnotify_add_mark_listAdd mark into proper place in given list of marks. These marks may be used* for the fsnotify backend to determine which event types should be delivered* to which group and for which inodes. These marks are ordered according to
hlist_add_tail_rcuhlist_add_tail_rcu*@n: the element to add to the hash list
sk_add_node_rcu