函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:div_u64 - unsigned 64bit divide with 32bit divisor*@dividend: unsigned 64bit dividend*@divisor: unsigned 32bit divisor* This is the most common 64bit divide and should be used if possible,* as many 32bit archs can optimize this variant better than a full

函数原型:static inline u64 div_u64(u64 dividend, u32 divisor)

返回类型:u64

参数:

类型参数名称
u64dividend
u32divisor
126  返回:div_u64_rem(dividend, divisor, & remainder)
调用者
名称描述
vsscanfvsscanf - Unformat a buffer into a list of arguments*@buf: input buffer*@fmt: format of buffer*@args: arguments
_parse_integerConvert non-negative integer string representation in explicitly given radix* to an integer.* Return number of characters consumed maybe or-ed with overflow bit.* If overflow occurs, result integer (incorrect) is still returned.
div64_u64_remdiv64_u64_rem - unsigned 64bit divide with 64bit divisor and remainder*@dividend: 64bit dividend*@divisor: 64bit divisor*@remainder: 64bit remainder* This implementation is a comparable to algorithm used by div64_u64
div64_u64div64_u64 - unsigned 64bit divide with 64bit divisor*@dividend: 64bit dividend*@divisor: 64bit divisor* This implementation is a modified version of the algorithm proposed* by the book 'Hacker's Delight'. The original source and full proof
FSE_normalizeM2Secondary normalization method.To be used when primary method fails.
FSE_normalizeCount
rbtree_test_init
interval_tree_test_init
calibrate_APIC_clock
apbt_quick_calibratealled before apb_timer_enable, use early map
scale_stimePerform (stime * rtime) / total, but avoid multiplication overflow by* losing precision when the numbers are big.
___update_load_avg
calc_avgs
collect_percpu_times
update_averages
psi_show
psi_trigger_create
psi_trigger_destroy
nsec_to_clock_t
nsecs_to_jiffies64secs_to_jiffies64 - Convert nsecs in u64 to jiffies64*@n: nsecs in u64* Unlike {m,u}secs_to_jiffies, type of input is not unsigned int but u64.* And this doesn't return MAX_JIFFY_OFFSET since this function is designed
ntp_update_frequencyUpdate (tick_length, tick_length_base, tick_nsec), based* on (tick_usec, ntp_tick_adj, time_freq):
kdb_sysinfoMost of this code has been lifted from kernel/timer.c::sys_sysinfo().* I cannot call that code directly from kdb, it has an unconditional* cli()/sti() and calls routines that take locks which can stop the debugger.
fill_stats_for_tgid
bacct_add_tskll in basic accounting fields
print_verification_stats
update_perf_cpu_limits
wb_position_ratioDirty position control
wb_update_dirty_ratelimitMaintain wb->dirty_ratelimit, the base dirty throttle rate.* Normal wb tasks will be curbed at or below it in long term.* Obviously it should be around (write_bw / N) when there are N dd tasks.
wb_dirty_limits
mem_cgroup_handle_over_highScheduled by try_charge() to be executed from the userland return path* and reclaims memory over the high limit.
queue_wb_lat_show
blk_rq_stat_sumsrc is a per-cpu stat, mean isn't initialized
last_lbalast_lba(): return number of last logical block of device*@bdev: block device* Description: Returns last LBA value on success, 0 on error.* This is stored (by sd and ide-geometry) in* the part[0] entry for this disk, and is the number of
iolatency_prfill_limit
bfq_update_rate_reset
bfq_update_io_thinktime
bfq_completed_request
bfq_fifo_expire_sync_show
bfq_fifo_expire_async_show
bfq_back_seek_max_show
bfq_back_seek_penalty_show
bfq_slice_idle_show
bfq_max_budget_show
bfq_timeout_sync_show
bfq_strict_guarantees_show
bfq_low_latency_show
bfq_slice_idle_us_show
rwb_arm_timer
proc_keys_show
tcp_clock_us
tcp_time_stampThis should only be used in contexts where tp->tcp_mstamp is up to date
tcp_ns_to_tsConvert a nsec timestamp into TCP TSval timestamp (ms based currently)
tcp_skb_timestamp_usprovide the departure time in us unit