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

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
334  new_first = next
335  next = next
336  prev = list
337  prev = entry
338  next = list
339  next = new_first
340  prev = head
Caller
NameDescribe
list_cut_positionlist_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