函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:指定大小读sysctl整数向量

函数原型:int proc_dointvec_minmax(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos)

返回类型:int

参数:

类型参数名称
struct ctl_table *table>extra1 (min) and table->extra2 (max).
intwrite
void __user *buffer
size_t *lenp
loff_t *ppos
2709  struct do_proc_dointvec_minmax_conv_param param = {min = (int * )extra1, max = (int * )extra2, }
2713  返回:do_proc_dointvec(>extra1 (min) and table->extra2 (max)., write, buffer, lenp, ppos, do_proc_dointvec_minmax_conv, & param)
调用者
名称描述
proc_dointvec_minmax_sysadmin
proc_dointvec_minmax_coredump
proc_do_static_key
proc_kprobes_optimization_handler
proc_watchdog_commonmmon function for watchdog, nmi_watchdog and soft_watchdog parameter* caller | table->data points to | 'which'* -------------------|----------------------------|--------------------------* proc_watchdog | watchdog_user_enabled | NMI_WATCHDOG_ENABLED |* |
proc_watchdog_thresh/proc/sys/kernel/watchdog_thresh
perf_proc_update_handler
perf_cpu_time_max_percent_handler
perf_event_max_stack_handlerUsed for sysctl_perf_event_max_stack and* sysctl_perf_event_max_contexts_per_stack.
dirty_ratio_handler
sysctl_vm_numa_stat_handler
min_free_kbytes_sysctl_handlermin_free_kbytes_sysctl_handler - just a wrapper around proc_dointvec() so* that we can call two helper functions whenever min_free_kbytes* changes.
watermark_boost_factor_sysctl_handler
watermark_scale_factor_sysctl_handler
sysctl_min_unmapped_ratio_sysctl_handler
sysctl_min_slab_ratio_sysctl_handler
lowmem_reserve_ratio_sysctl_handlerlowmem_reserve_ratio_sysctl_handler - just a wrapper around* proc_dointvec() so that we can call setup_per_zone_lowmem_reserve()* whenever sysctl_lowmem_reserve_ratio changes.* The reserve ratio obviously has absolutely no relation with the
percpu_pagelist_fraction_sysctl_handlerpercpu_pagelist_fraction - changes the pcp->high for each zone on each* cpu. It is the fraction of total pages in each zone that a hot per cpu* pagelist can have before it gets flushed back to buddy allocator.
proc_ipc_auto_msgmni
proc_mq_dointvec_minmax
yama_dointvec_minmax
drop_caches_sysctl_handler
sched_itmt_update_handler
sysctl_max_threads
dirty_background_ratio_handler
proc_ipc_dointvec_minmax
dirtytime_interval_handler