函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\radix-tree.h Create Date:2022-07-27 06:43:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:adix_tree_iter_init - initialize radix tree iterator*@iter: pointer to iterator state*@start: iteration starting index* Returns: NULL

函数原型:static __always_inline void __rcu **radix_tree_iter_init(struct radix_tree_iter *iter, unsigned long start)

返回类型:void

参数:

类型参数名称
struct radix_tree_iter *iter
unsigned longstart
279  index等于0
280  next_index等于start
281  返回:NULL
调用者
名称描述
idr_alloc_u32
radix_tree_iter_lookupadix_tree_iter_lookup - look up an index in the radix tree*@root: radix tree root*@iter: iterator state*@index: key to look up* If @index is present in the radix tree, this function returns the slot* containing it and updates @iter to describe the entry
idr_alloc_u32dr_alloc_u32() - Allocate an ID.*@idr: IDR handle.*@ptr: Pointer to be associated with the new ID.*@nextid: Pointer to an ID.*@max: The maximum ID to allocate (inclusive).*@gfp: Memory allocation flags.