Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:list_replace - replace old entry by new one*@old : the element to be replaced*@new : the new element to insert* If @old was empty, it will be overwritten.

Proto:static inline void list_replace(struct list_head *old, struct list_head *new)

Type:void

Parameter:

TypeParameterName
struct list_head *old
struct list_head *new
154  next = next
155  prev = new
156  prev = prev
157  next = new
Caller
NameDescribe
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