Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\idr.c Create Date:2022-07-28 06:13:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:dr_remove() - Remove an ID from the IDR

Proto:void *idr_remove(struct idr *idr, unsigned long id)

Type:void

Parameter:

TypeParameterName
struct idr *idr
unsigned longid
154  Return 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
Caller
NameDescribe
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