函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\parman.c Create Date:2022-07-27 08:22:02
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:void parman_prio_init(struct parman *parman, struct parman_prio *prio, unsigned long priority)

返回类型:void

参数:

类型参数名称
struct parman *parman
struct parman_prio *prio
unsigned longpriority
314  初始化链表头
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  如果priority大于priority退出
323  添加链表项
调用者
名称描述
test_parman_prios_init