Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\rcu\update.c Create Date:2022-07-28 10:17:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:_read_lock_held() - might we be in RCU read-side critical section?* If CONFIG_DEBUG_LOCK_ALLOC is selected, returns nonzero iff in an RCU* read-side critical section

Proto:int rcu_read_lock_held(void)

Type:int

Parameter:Nothing

281  If _read_lock_held_common() - might we be in RCU-sched read-side critical section?*@ret: Best guess answer if lockdep cannot be relied on* Returns true if lockdep must be ignored, in which case *ret contains* the best guess described below Then Return ret
283  Return lock_is_held( & rcu_lock_map)
Caller
NameDescribe
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_map_lookup_elemIf kernel subsystem is allowing eBPF programs to call this function,* inside its own verifier_ops->get_func_proto() callback it should return* bpf_map_lookup_elem_proto, so that verifier can properly check the arguments* Different map implementations will
____bpf_map_update_elem
____bpf_map_delete_elem
__htab_map_lookup_elemCalled from syscall or from eBPF program directly, so* arguments have to match bpf_map_lookup_elem() exactly.* The return value is adjusted by BPF instructions* in htab_map_gen_lookup().
htab_map_get_next_keyCalled from syscall
htab_map_update_elemCalled from syscall or from eBPF program
htab_lru_map_update_elem
__htab_percpu_map_update_elem
__htab_lru_percpu_map_update_elem
htab_map_delete_elemCalled from syscall or from eBPF program
htab_lru_map_delete_elem
xsk_map_lookup_elem
stack_map_get_next_key
__blkg_lookup_create__blkg_lookup_create - lookup blkg, try to create one if not there*@blkcg: blkcg of interest*@q: request_queue of interest* Lookup blkg for the @blkcg - @q pair. If it doesn't exist, try to* create one
blkg_lookup_checkPerforms queue bypass and policy enabled checks then looks up blkg.
blk_throtl_bio