函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:更新链表项

函数原型:static inline void list_replace(struct list_head *old, struct list_head *new)

返回类型:void

参数:

类型参数名称
struct list_head *old
struct list_head *new
154  链表后项等于链表后项
155  链表前项等于new
156  链表前项等于链表前项
157  链表后项等于new
调用者
名称描述
parman_prio_item_remove
list_test_list_replace
save_microcode_patch
update_cache
update_lsm_rule
audit_update_watchUpdate inode info in audit rules based on filesystem event.
simple_xattr_setsimple_xattr_set - xattr SET operation for in-memory/pseudo filesystems*@xattrs: target simple_xattr list*@name: name of the extended attribute*@value: value of the xattr
list_replace_init
list_swaplist_swap - replace entry1 with entry2 and re-add entry1 at entry2's position*@entry1: the location to place entry2*@entry2: the location to place entry1