函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:objagg_obj_root_id_alloc

函数原型:static int objagg_obj_root_id_alloc(struct objagg *objagg, struct objagg_obj *objagg_obj, struct objagg_hints_node *hnode)

返回类型:int

参数:

类型参数名称
struct objagg *objagg
struct objagg_obj *objagg_obj
struct objagg_hints_node *hnode
229  如果非hints
230  root_id等于OBJAGG_OBJ_ROOT_ID_INVALID
231  返回:0
234  如果hnode
235  min等于root_id
236  max等于root_id
237  否则
241  min等于root_count
242  max等于0的反
245  root_id等于da_alloc_range() - Allocate an unused ID.*@ida: IDA handle.*@min: Lowest ID to allocate.*@max: Highest ID to allocate.*@gfp: Memory allocation flags.* Allocate an ID between @min and @max, inclusive. The allocated ID will
247  如果root_id小于0则返回:root_id
249  root_id等于root_id
250  返回:0
调用者
名称描述
objagg_obj_root_create