Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\radix-tree.c Create Date:2022-07-28 06:13:13
Last Modify:2022-05-21 10:04:37 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:void idr_destroy(struct idr *idr)

Type:void

Parameter:

TypeParameterName
struct idr *idr
1571  node = Dependency order vs. p above. (xa_head)
1572  If radix_tree_is_internal_node(node) Then 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.)
Caller
NameDescribe
destroy_pid_namespace
sem_exit_ns
shm_exit_ns