函数逻辑报告

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

函数名称:list_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

函数原型:static inline void list_swap(struct list_head *entry1, struct list_head *entry2)

返回类型:void

参数:

类型参数名称
struct list_head *entry1
struct list_head *entry2
175  pos等于链表前项
177  删除链表项
178  更新链表项
179  如果pos恒等于entry1pos等于entry2
181  添加链表项
调用者
名称描述
list_test_list_swap
__shuffle_zone