函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:dr_destroy - release all internal memory from an IDR*@idr: idr handle* After this function is called, the IDR is empty, and may be reused or* the data structure containing it may be freed

函数原型:void idr_destroy(struct idr *idr)

返回类型:void

参数:

类型参数名称
struct idr *idr
1571  node等于Dependency order vs. p above. (xa_head)
1572  如果radix_tree_is_internal_node(node)则Free any nodes below this node. The tree is presumed to not need* shrinking, and any user data in the tree is presumed to not need a* destructor called on it. If we need to add a destructor, we can* add that functionality later
1574  xa_head = NULL
1575  root_tag_set( & idr_rt, The IDR API does not expose the tagging functionality of the radix tree* to users. Use tag 0 to track whether a node has free space below it.)
调用者
名称描述
destroy_pid_namespace
sem_exit_ns
shm_exit_ns
create_pid_namespace
msg_exit_ns
inotify_free_group_priv