Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:parman_prio_init - initializes a parman priority chunk*@parman: parman instance*@prio: parman prio structure to be initialized*@prority: desired priority of the chunk* Note: all locking must be provided by the caller

Proto:void parman_prio_init(struct parman *parman, struct parman_prio *prio, unsigned long priority)

Type:void

Parameter:

TypeParameterName
struct parman *parman
struct parman_prio *prio
unsigned longpriority
314  Initialization list head
315  priority = priority
319  prio2 = list_entry - get the struct for this entry*@ptr: the &struct list_head pointer.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.(pos, typeof( * prio2), list)
320  If priority > priority Then Break
323  list_add_tail - add a new entry*@new: new entry to be added*@head: list head to add it before* Insert a new entry before the specified head.* This is useful for implementing queues.
Caller
NameDescribe
test_parman_prios_init