函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\radix-tree.c Create Date:2022-07-27 07:10:21
Last Modify:2022-05-21 10:04:37 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:adix_tree_iter_replace - replace item in a slot*@root: radix tree root*@slot: pointer to slot*@item: new item to store in the slot.* For use with radix_tree_for_each_slot().* Caller must hold tree write locked.

函数原型:void radix_tree_iter_replace(struct xarray *root, const struct radix_tree_iter *iter, void __rcu **slot, void *item)

返回类型:void

参数:

类型参数名称
struct xarray *root
const struct radix_tree_iter *iter
void __rcu **slot
void *item
944  __radix_tree_replace - replace item in a slot*@root: radix tree root*@node: pointer to tree node*@slot: pointer to slot in @node*@item: new item to store in the slot.* For use with __radix_tree_lookup(). Caller must hold tree write locked
调用者
名称描述
idr_alloc_u32
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.