函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:parman_lsort_item_add

函数原型:static int parman_lsort_item_add(struct parman *parman, struct parman_prio *prio, struct parman_item *item)

返回类型:int

参数:

类型参数名称
struct parman *parman
struct parman_prio *prio
struct parman_item *item
190  如果count加1大于limit_count
191  err等于parman_enlarge(parman)
192  如果err则返回:err
196  new_index等于parman_lsort_new_index_find(parman, prio)
198  如果prio2恒等于prio退出
200  parman_prio_shift_down(parman, prio2)
202  index等于new_index
203  添加链表项
204  count自加
205  返回:0