函数逻辑报告

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_del(struct list_head *prev, struct list_head *next)

返回类型:void

参数:

类型参数名称
struct list_head *prev
struct list_head *next
105  链表前项等于prev
106  WRITE_ONCE(链表后项, next)
调用者
名称描述
free_cache
__list_del_clearprevDelete a list entry and clear the 'prev' pointer.* This is a special-purpose list clearing method used in the networking code* for lists allocated as per-cpu, where we don't want to incur the extra* WRITE_ONCE() overhead of a regular list_del_init()
__list_del_entry删除链表项