Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ktime_get

Proto:ktime_t ktime_get(void)

Type:ktime_t

Parameter:Nothing

749  tk = timekeeper
754  WARN_ON(lag for if timekeeping is suspended )
756  Do
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  When 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 cycle
763  Return Add a ktime_t variable and a scalar nanosecond value.* res = kt + nsval:(base, nsecs)
Caller
NameDescribe
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_eventlockevents_program_event - Reprogram the clock event device.*@dev: device to program*@expires: absolute expiry time (monotonic clock)*@force: program minimum delay if expires can not be set* Returns 0 on success, -ETIME when the event is in the past.
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
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