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_find() - Return pointer for given ID

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

Type:void

Parameter:

TypeParameterName
const struct idr *idr
unsigned longid
174  Return adix_tree_lookup - perform lookup operation on a radix tree*@root: radix tree root*@index: index key* Lookup the item at the position @index in the radix tree @root.* This function can be called under rcu_read_lock, however the caller
Caller
NameDescribe
find_pid_ns
irq_timings_next_eventq_timings_next_event - Return when the next event is supposed to arrive* During the last busy cycle, the number of interrupts is incremented* and stored in the irq_timings structure
irq_timings_free
irq_timings_alloc
css_from_idss_from_id - lookup css by id*@id: the cgroup id*@ss: cgroup subsys to be looked into* Returns the css if there's valid one with @id, otherwise returns NULL.* Should be called under rcu_read_lock().
bpf_prog_get_fd_by_id
bpf_map_get_fd_by_id
btf_get_fd_by_id
perf_init_event
mem_cgroup_from_idmem_cgroup_from_id - look up a memcg from a memcg id*@id: the memcg id to look up* Caller must hold rcu_read_lock().
ipc_obtain_object_idrpc_obtain_object_idr*@ids: ipc identifier set*@id: ipc id to look for* Look for an id in the ipc ids idr and return associated ipc object.* Call inside the RCU critical section.* The ipc object is *not* locked on exit.
sysvipc_find_ipcThis routine locks the ipc structure found at least at position pos.
shm_get_statCalled with shm_ids.rwsem held as a reader
free_ipcs_ipcs - free all ipcs of one type*@ns: the namespace to remove the ipcs from*@ids: the table of ipcs to free*@free: the function called to free each individual ipc* Called for each kind of ipc when an ipc_namespace exits.
bsg_get_device