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_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

Proto:static inline void list_cut_position(struct list_head *list, struct list_head *head, struct list_head *entry)

Type:void

Parameter:

TypeParameterName
struct list_head *list
struct list_head *head
struct list_head *entry
360  If list_empty - tests whether a list is empty*@head: the list to test. Then Return
362  If list_is_singular - tests whether a list has just one entry.*@head: the list to test. && next != entry && head != entry Then Return
365  If entry == head Then Initialization list head
367  Else __list_cut_position(list, head, entry)
Caller
NameDescribe
list_test_list_cut_position