函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\jiffies.h Create Date:2022-07-27 06:39:44
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:msecs_to_jiffies: - convert milliseconds to jiffies*@m: time in milliseconds* conversion is done as follows:* - negative values mean 'infinite timeout' (MAX_JIFFY_OFFSET)* - 'too large' values [that would result in larger than

函数原型:static __always_inline unsigned long msecs_to_jiffies(const unsigned int m)

返回类型:unsigned long

参数:

类型参数名称
const unsigned intm
366  如果__builtin_constant_p(m)则
367  如果m小于0则返回:Change timeval to jiffies, trying to avoid the* most obvious overflows
369  返回:HZ is equal to or smaller than 1000, and 1000 is a nice round* multiple of HZ, divide with the factor between them, but round* upwards:
370  否则
371  返回:msecs_to_jiffies: - convert milliseconds to jiffies*@m: time in milliseconds* conversion is done as follows:* - negative values mean 'infinite timeout' (MAX_JIFFY_OFFSET)* - 'too large' values [that would result in larger than
调用者
名称描述
__prandom_timer
__prandom_start_seed_timer
test_klp_callbacks_busy_init
cqm_handle_limboHandler to scan the limbo list and move the RMIDs* to free list whose occupancy < threshold_occupancy.
cqm_setup_limbo_handler
mbm_handle_overflow
mbm_setup_overflow_handler
do_proc_dointvec_ms_jiffies_conv
sched_rr_handler
try_to_freeze_tasks
freeze_processesze_processes - Signal user space processes to enter the refrigerator.* The current thread will not be frozen. The same process that calls* freeze_processes must later call thaw_processes.* On success, returns 0
printk_timed_ratelimitprintk_timed_ratelimit - caller-controlled printk ratelimiting*@caller_jiffies: pointer to caller's state*@interval_msecs: minimum interval between prints* printk_timed_ratelimit() returns true if more than @interval_msecs* milliseconds have elapsed since
msleepmsleep - sleep safely even with waitqueue interruptions*@msecs: Time in milliseconds to sleep for
msleep_interruptiblemsleep_interruptible - sleep waiting for signals*@msecs: Time in milliseconds to sleep for
wb_wakeup_delayedThis function is used when the first inode for this wb is marked dirty
stable_node_dup
ksm_scan_thread
khugepaged_alloc_sleep
khugepaged_wait_work
kmemleak_scan_threadThread function performing automatic memory scanning. Unreferenced objects* at the end of a memory scan are reported but only the first time.
kmemleak_writeFile write operation to configure kmemleak at run-time
kmemleak_init内存泄漏检测机制的初始化
queue_io_timeout_store
blk_mq_delay_kick_requeue_list
__blk_mq_delay_run_hw_queue
disk_events_poll_jiffies
blk_fill_sghdr_rq
bsg_sg_io
deadline_read_expire_store
deadline_write_expire_store
deadline_writes_starved_store
deadline_front_merges_store
deadline_fifo_batch_store
bfq_wr_duration
bfq_handle_burstIf many queues belonging to the same group happen to be created* shortly after each other, then the processes associated with these* queues have typically a common goal
bfq_bfqq_handle_idle_busy_switch
bfq_add_request
bfq_update_has_short_ttime
bfq_init_queue
bfq_fifo_expire_sync_store
bfq_fifo_expire_async_store
bfq_back_seek_max_store
bfq_back_seek_penalty_store
bfq_slice_idle_store
bfq_timeout_sync_storeLeaving this name to preserve name compatibility with cfq* parameters, but this timeout is used for both sync and async.
bfq_init
wb_writebackExplicit flushing or periodic writeback of "old" data
wb_check_old_data_flush
io_sq_offload_start
nla_get_msecs返回载荷毫秒属性
dst_metric_rttRTT metrics are stored in milliseconds for user ABI, but used as jiffies
rdma_alloc_hw_stats_structdma_alloc_hw_stats_struct - Helper function to allocate dynamic struct* for drivers.*@names - Array of static const char **@num_counters - How many elements in array*@lifespan - How many milliseconds between updates
blk_stat_activate_msecslk_stat_activate_msecs() - Gather block statistics during a time window in* milliseconds.*@cb: The callback.*@msecs: Number of milliseconds to gather statistics for.* The timer callback will be called when the window expires.