Function report |
Source Code:kernel\sysctl.c |
Create Date:2022-07-28 09:11:25 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:read a vector of integers with min/max values
Proto:int proc_dointvec_minmax(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct ctl_table * | table | >extra1 (min) and table->extra2 (max). |
| int | write | |
| 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 | Return do_proc_dointvec(>extra1 (min) and table->extra2 (max)., write, buffer, lenp, ppos, do_proc_dointvec_minmax_conv, & param) |
| Name | Describe |
|---|---|
| proc_dointvec_minmax_sysadmin | |
| proc_dointvec_minmax_coredump | |
| proc_do_static_key | |
| proc_kprobes_optimization_handler | |
| proc_watchdog_common | mmon 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_handler | Used 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_handler | min_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_handler | lowmem_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_handler | percpu_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 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |