Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\parman.c Create Date:2022-07-28 07:23:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:parman_prio_item_remove

Proto:static void parman_prio_item_remove(struct parman *parman, struct parman_prio *prio, struct parman_item *item)

Type:void

Parameter:

TypeParameterName
struct parman *parman
struct parman_prio *prio
struct parman_item *item
170  last_item = parman_prio_last_item(prio)
171  If last_item == item Then
172  deletes entry from list
173  Return
175  to_index = index
176  __parman_prio_move(parman, prio, last_item, to_index, 1)
177  deletes entry from list
178  list_replace - replace old entry by new one*@old : the element to be replaced*@new : the new element to insert* If @old was empty, it will be overwritten.
179  index = to_index
Caller
NameDescribe
parman_lsort_item_remove