函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:删除释放idr

函数原型:void *idr_remove(struct idr *idr, unsigned long id)

返回类型:void

参数:

类型参数名称
struct idr *idr
unsigned longid
154  返回:adix_tree_delete_item - delete an item from a radix tree*@root: radix tree root*@index: index key*@item: expected item* Remove @item at @index from the radix tree rooted at @root.* Return: the deleted entry, or %NULL if it was not present
调用者
名称描述
free_pid
alloc_pid分配进程句柄
irq_timings_free
cgroup_idr_remove
cgroup_exit_root_id
bpf_map_free_id
bpf_prog_free_id
btf_free_id
perf_pmu_register
perf_pmu_unregister
unregister_memcg_shrinker
mem_cgroup_id_remove
ipc_rmidpc_rmid - remove an ipc identifier*@ids: ipc identifier set*@ipcp: ipc perm structure containing the identifier to remove* ipc_ids.rwsem (as a writer) and the spinlock for this ID are held* before this function is called, and remain locked on the exit.
bsg_unregister_queue
bsg_register_queue
put_unbound_poolput_unbound_pool - put a worker_pool*@pool: worker_pool to put* Put @pool
prealloc_memcg_shrinker
ipc_addidpc_addid - add an ipc identifier*@ids: ipc identifier set*@new: new ipc permission set*@limit: limit for the number of used ids* Add an entry 'new' to the ipc ids idr
blk_free_devtlk_free_devt - free a dev_t*@devt: dev_t to free* Free @devt which was allocated using blk_alloc_devt().* CONTEXT:* Might sleep.
aa_free_secidaa_free_secid - free a secid*@secid: secid to free
inotify_remove_from_idrRemove the mark from the idr (if present) and drop the reference* on the mark because it was in the idr.