函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:ktime_get

函数原型:ktime_t ktime_get(void)

返回类型:ktime_t

参数:

749  tk等于timekeeper
754  WARN_ON(lag for if timekeeping is suspended )
756  循环
757  seq等于ad_seqcount_begin - begin a seq-read critical section*@s: pointer to seqcount_t* Returns: count to be passed to read_seqcount_retry* read_seqcount_begin opens a read critical section of the given seqcount
758  base等于base
759  nsecs等于timekeeping_get_ns( & tkr_mono)
761 ad_seqcount_retry - end a seq-read critical section*@s: pointer to seqcount_t*@start: count, from read_seqcount_begin* Returns: 1 if retry is required, else 0* read_seqcount_retry closes a read critical section of the given seqcount循环
763  返回:Add a ktime_t variable and a scalar nanosecond value.* res = kt + nsval:(base, nsecs)
调用者
名称描述
test_find_first_bitThis is Schlemiel the Painter's algorithm. It should be called after* all other tests for the same bitmap because it sets all bits of bitmap to 1.
test_find_next_bit
test_find_next_zero_bit
test_find_last_bit
test_find_next_and_bit
test_func
__test_bitmap_parselist
aperfmperf_get_khz
arch_freq_prepare_all
arch_freq_get_on_cpu
async_run_entry_fnpick the first pending entry and run it
async_synchronize_cookie_domainasync_synchronize_cookie_domain - synchronize asynchronous function calls within a certain domain with cookie checkpointing*@cookie: async_cookie_t to use as checkpoint*@domain: the domain to synchronize (%NULL for all registered domains)* This function
sched_debug_header
hibernate_preallocate_memoryhibernate_preallocate_memory - Preallocate memory for hibernation image
save_imagesave_image - save the suspend image data
save_image_lzosave_image_lzo - Save the suspend image data compressed with LZO.*@handle: Swap map handle to use for saving the image.*@snapshot: Image to read data from.*@nr_to_write: Number of pages to save.
load_imageload_image - load the image using the swap map handle*@handle and the snapshot handle @snapshot* (assume there are @nr_pages pages to load)
load_image_lzoload_image_lzo - Load compressed image data and decompress them with LZO.*@handle: Swap map handle to use for loading data.*@snapshot: Image to copy uncompressed data into.*@nr_to_read: Number of pages to load.
wakelock_lookup_add
usleep_rangesleep_range - Sleep for an approximate time*@min: Minimum time in usecs to sleep*@max: Maximum time in usecs to sleep* In non-atomic context where the exact wakeup time is flexible, use* usleep_range() instead of udelay()
sysrq_timer_list_show
timer_list_start
clockevents_program_min_deltalockevents_program_min_delta - Set clock event device to the minimum delay.*@dev: device to program* Returns 0 on success, -ETIME when the retry loop failed.
clockevents_program_event设置下一次触发时间
tick_setup_deviceSetup the tick device
tick_resume_oneshotk_resume_onshot - resume oneshot mode
SYSCALL_DEFINE6
ring_buffer_producer
torture_shutdownCause the torture test to shutdown the system after the test has* run for the time specified by the shutdown_secs parameter.
torture_shutdown_initStart up the shutdown task.
trace_initcall_finish_cb
__gup_benchmark_ioctl
blkcg_iolatency_done_bio
blkiolatency_timer_fn
iolatency_pd_init
ioc_nowake a snapshot of the current [v]time and vrate
blk_iocost_init
bfq_set_budget_timeoutSet the maximum time for the in-service queue to consume its* budget. This prevents seeky processes from lowering the throughput.* In practice, a time-slice service scheme is used with seeky* processes.
bfq_arm_slice_timer
bfq_bfqq_is_slowReturn true if the process associated with bfqq is "slow". The slow* flag is used, in addition to the budget timeout, to reduce the* amount of service provided to seeky processes, and thus reduce* their chances to lower the throughput
rwb_sync_issue_lat
aperfmperf_snapshot_khzaperfmperf_snapshot_khz()* On the current CPU, snapshot APERF, MPERF, and jiffies* unless we already did it within 10ms* calculate kHz, save snapshot
trace_initcall_start_cb
ktime_get_ns
tick_nohz_get_next_hrtimer
dim_update_sampledim_update_sample - set a sample's fields with given values*@event_ctr: number of events to set*@packets: number of packets to set*@bytes: number of bytes to set*@s: DIM sample
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