函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:list_cut_position - cut a list into two*@list: a new list to add all removed entries*@head: a list with entries*@entry: an entry within head, could be the head itself* and if so we won't cut the list* This helper moves the initial part of @head, up to and

函数原型:static inline void list_cut_position(struct list_head *list, struct list_head *head, struct list_head *entry)

返回类型:void

参数:

类型参数名称
struct list_head *list
struct list_head *head
struct list_head *entry
360  如果链表为空则返回
362  如果链表只有一项链表后项不等于entryhead不等于entry则返回
365  如果entry恒等于head初始化链表头
367  否则__list_cut_position(list, head, entry)
调用者
名称描述
list_test_list_cut_position