函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\atomic64.c Create Date:2022-07-27 08:15:32
Last Modify:2022-05-18 13:46:02 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:atomic64_read

函数原型:s64 atomic64_read(const atomic64_t *v)

返回类型:s64

参数:

类型参数名称
const atomic64_t *v
48  lock等于lock_addr(v)
51  raw_spin_lock_irqsave(lock, flags)
52  val等于counter
53  raw_spin_unlock_irqrestore(lock, flags)
54  返回:val
调用者
名称描述
test_atomic64
proc_sample_cputime_atomic
__update_gt_cputimeSet cputime to sum_cputime if sum_cputime > cputime. Use cmpxchg* to avoid race conditions with concurrent updates to cputime.
pids_try_chargepids_try_charge - hierarchically try to charge the pid count*@pids: the pid cgroup state*@num: the number of pids to charge* This function follows the set limit. It will fail if the charge would cause* the new value to exceed the hierarchical limit
pids_max_show
pids_current_read
pids_events_show
tracing_map_read_sumracing_map_read_sum - Return the value of a tracing_map_elt's sum field*@elt: The tracing_map_elt*@i: The index of the given sum associated with the tracing_map_elt* Retrieve the value of the sum i associated with the specified* tracing_map_elt instance
tracing_map_read_varracing_map_read_var - Return the value of a tracing_map_elt's variable field*@elt: The tracing_map_elt*@i: The index of the given variable associated with the tracing_map_elt* Retrieve the value of the variable i associated with the specified
tracing_map_read_var_onceracing_map_read_var_once - Return and reset a tracing_map_elt's variable field*@elt: The tracing_map_elt*@i: The index of the given variable associated with the tracing_map_elt* Retrieve the value of the variable i associated with the specified*
tracing_map_cmp_atomic64
hist_trigger_show
perf_event_count
__perf_event_read_value
__perf_read_group_add
perf_event_update_userpageCallers need to ensure there can be no nesting of this function, otherwise* the seqlock logic goes bad. We can not serialize this because the arch* code calls this from NMI context.
perf_mmap
perf_output_read_one
blkcg_scale_delayScale the accumulated delay based on how long it has been since we updated* the delay. We only call this when we are adding delay, in case it's been a* while since we added delay, and when we are checking to see if we need to
blkcg_maybe_throttle_blkgThis is called when we want to actually walk up the hierarchy and check to* see if we need to throttle, and then actually throttle if there is some* accumulated delay. This should only be called upon return to user space so
blkcg_iolatency_done_bio
ioc_autop_idx
ioc_nowake a snapshot of the current [v]time and vrate
iocg_activate
iocg_kick_waitq
iocg_kick_delay
iocg_is_idlewas iocg idle this period?
ioc_timer_fn
ioc_rqos_throttle
ioc_rqos_merge
ioc_pd_init
blkg_rwstat_read_counter
blkg_rwstat_add_auxlkg_rwstat_add_aux - add a blkg_rwstat into another's aux count*@to: the destination blkg_rwstat*@from: the source* Add @from's count including the aux one to @to's aux count.