| /linux-6.15/include/linux/ |
| H A D | moduleparam.h | 36 struct kernel_param; 51 int (*set)(const char *val, const struct kernel_param *kp); 53 int (*get)(char *buffer, const struct kernel_param *kp); 69 struct kernel_param { struct 83 extern const struct kernel_param __start___param[], __stop___param[]; argument 290 static struct kernel_param __moduleparam_const __param_##name \ 292 __aligned(__alignof__(struct kernel_param)) \ 393 const struct kernel_param *params, 476 const struct kernel_param *kp); 603 const struct kernel_param *kparam, [all …]
|
| H A D | dynamic_debug.h | 325 struct kernel_param; 326 int param_set_dyndbg_classes(const char *instr, const struct kernel_param *kp); 327 int param_get_dyndbg_classes(char *buffer, const struct kernel_param *kp); 343 struct kernel_param; 344 static inline int param_set_dyndbg_classes(const char *instr, const struct kernel_param *kp) in param_set_dyndbg_classes() 346 static inline int param_get_dyndbg_classes(char *buffer, const struct kernel_param *kp) in param_get_dyndbg_classes()
|
| H A D | hisi_acc_qm.h | 465 static inline int vfs_num_set(const char *val, const struct kernel_param *kp) in vfs_num_set() 483 static inline int mode_set(const char *val, const struct kernel_param *kp) in mode_set() 499 static inline int uacce_mode_set(const char *val, const struct kernel_param *kp) in uacce_mode_set() 524 int hisi_qm_q_num_set(const char *val, const struct kernel_param *kp,
|
| /linux-6.15/kernel/ |
| H A D | params.c | 120 const struct kernel_param *params, in parse_one() 163 const struct kernel_param *params, in parse_args() 339 struct kernel_param dummy_kp = *kp; in param_set_bool_enable_only() 370 struct kernel_param dummy; in param_set_invbool() 395 struct kernel_param boolkp = *kp; in param_set_bint() 426 struct kernel_param kp; in param_array() 479 struct kernel_param p = *kp; in param_array_get() 547 const struct kernel_param *param; 629 const struct kernel_param *kp, in add_sysfs_param() 796 const struct kernel_param *kparam, in kernel_add_sysfs_param() [all …]
|
| /linux-6.15/drivers/power/supply/ |
| H A D | test_power.c | 492 const struct kernel_param *kp) in param_set_battery_status() 506 const struct kernel_param *kp) in param_set_battery_health() 520 const struct kernel_param *kp) in param_set_battery_present() 528 const struct kernel_param *kp) in param_get_battery_present() 535 const struct kernel_param *kp) in param_set_battery_technology() 544 const struct kernel_param *kp) in param_get_battery_technology() 552 const struct kernel_param *kp) in param_set_battery_capacity() 567 const struct kernel_param *kp) in param_set_battery_voltage() 582 const struct kernel_param *kp) in param_set_battery_charge_counter() 597 const struct kernel_param *kp) in param_set_battery_current() [all …]
|
| /linux-6.15/drivers/ufs/core/ |
| H A D | ufs-fault-injection.c | 11 static int ufs_fault_get(char *buffer, const struct kernel_param *kp); 12 static int ufs_fault_set(const char *val, const struct kernel_param *kp); 37 static int ufs_fault_get(char *buffer, const struct kernel_param *kp) in ufs_fault_get() 44 static int ufs_fault_set(const char *val, const struct kernel_param *kp) in ufs_fault_set()
|
| /linux-6.15/security/apparmor/ |
| H A D | lsm.c | 1556 const struct kernel_param *kp); 1558 const struct kernel_param *kp); 1575 static int param_get_audit(char *buffer, const struct kernel_param *kp); 1578 static int param_get_mode(char *buffer, const struct kernel_param *kp); 1696 static int param_get_aabool(char *buffer, const struct kernel_param *kp) in param_get_aabool() 1734 struct kernel_param kp_local; in param_set_aaintbool() 1760 struct kernel_param kp_local; in param_get_aaintbool() 1772 const struct kernel_param *kp) in param_set_aacompressionlevel() 1792 const struct kernel_param *kp) in param_get_aacompressionlevel() 1801 static int param_get_audit(char *buffer, const struct kernel_param *kp) in param_get_audit() [all …]
|
| /linux-6.15/drivers/scsi/fcoe/ |
| H A D | fcoe_transport.c | 24 static int fcoe_transport_create(const char *, const struct kernel_param *); 25 static int fcoe_transport_destroy(const char *, const struct kernel_param *); 26 static int fcoe_transport_show(char *buffer, const struct kernel_param *kp); 29 static int fcoe_transport_enable(const char *, const struct kernel_param *); 30 static int fcoe_transport_disable(const char *, const struct kernel_param *); 598 static int fcoe_transport_show(char *buffer, const struct kernel_param *kp) in fcoe_transport_show() 859 const struct kernel_param *kp) in fcoe_transport_create() 925 const struct kernel_param *kp) in fcoe_transport_destroy() 970 const struct kernel_param *kp) in fcoe_transport_disable() 1005 const struct kernel_param *kp) in fcoe_transport_enable()
|
| /linux-6.15/lib/ |
| H A D | dhry_run.c | 17 static int dhry_run_set(const char *val, const struct kernel_param *kp); 58 static int dhry_run_set(const char *val, const struct kernel_param *kp) in dhry_run_set()
|
| H A D | test_dynamic_debug.c | 16 static int param_set_do_prints(const char *instr, const struct kernel_param *kp) in param_set_do_prints() 21 static int param_get_do_prints(char *buffer, const struct kernel_param *kp) in param_get_do_prints()
|
| /linux-6.15/drivers/thermal/intel/ |
| H A D | intel_powerclamp.c | 81 static int duration_set(const char *arg, const struct kernel_param *kp) in duration_set() 104 static int duration_get(char *buf, const struct kernel_param *kp) in duration_get() 154 static int cpumask_set(const char *arg, const struct kernel_param *kp) in cpumask_set() 198 static int cpumask_get(char *buf, const struct kernel_param *kp) in cpumask_get() 215 static int max_idle_set(const char *arg, const struct kernel_param *kp) in max_idle_set() 281 static int window_size_set(const char *arg, const struct kernel_param *kp) in window_size_set()
|
| /linux-6.15/samples/damon/ |
| H A D | wsse.c | 19 const char *val, const struct kernel_param *kp); 93 const char *val, const struct kernel_param *kp) in damon_sample_wsse_enable_store()
|
| H A D | prcl.c | 18 const char *val, const struct kernel_param *kp); 113 const char *val, const struct kernel_param *kp) in damon_sample_prcl_enable_store()
|
| /linux-6.15/drivers/gpu/drm/i915/ |
| H A D | i915_mitigations.c | 30 static int mitigations_set(const char *val, const struct kernel_param *kp) in mitigations_set() 98 static int mitigations_get(char *buffer, const struct kernel_param *kp) in mitigations_get()
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
| H A D | ethtool.c | 72 struct kernel_ethtool_ringparam *kernel_param, in mlx5i_set_ringparam() argument 82 struct kernel_ethtool_ringparam *kernel_param, in mlx5i_get_ringparam() argument 87 mlx5e_ethtool_get_ringparam(priv, param, kernel_param); in mlx5i_get_ringparam()
|
| /linux-6.15/drivers/dma/ |
| H A D | dmatest.c | 155 static int dmatest_run_set(const char *val, const struct kernel_param *kp); 156 static int dmatest_run_get(char *val, const struct kernel_param *kp); 165 static int dmatest_chan_set(const char *val, const struct kernel_param *kp); 166 static int dmatest_chan_get(char *val, const struct kernel_param *kp); 180 static int dmatest_test_list_get(char *val, const struct kernel_param *kp); 284 static int dmatest_wait_get(char *val, const struct kernel_param *kp) in dmatest_wait_get() 1177 static int dmatest_run_get(char *val, const struct kernel_param *kp) in dmatest_run_get() 1194 static int dmatest_run_set(const char *val, const struct kernel_param *kp) in dmatest_run_set() 1233 static int dmatest_chan_set(const char *val, const struct kernel_param *kp) in dmatest_chan_set() 1305 static int dmatest_chan_get(char *val, const struct kernel_param *kp) in dmatest_chan_get() [all …]
|
| /linux-6.15/kernel/module/ |
| H A D | internal.h | 361 struct kernel_param *kparam, unsigned int num_params); 367 struct kernel_param *kparam, in mod_sysfs_setup() 380 void module_layout(struct module *mod, struct modversion_info *ver, struct kernel_param *kp,
|
| /linux-6.15/drivers/char/ipmi/ |
| H A D | ipmi_si_hotmod.c | 17 static int hotmod_handler(const char *val, const struct kernel_param *kp); 185 static int hotmod_handler(const char *val, const struct kernel_param *kp) in hotmod_handler()
|
| /linux-6.15/drivers/acpi/ |
| H A D | sysfs.c | 92 static int param_get_debug_layer(char *buffer, const struct kernel_param *kp) in param_get_debug_layer() 120 static int param_get_debug_level(char *buffer, const struct kernel_param *kp) in param_get_debug_level() 157 const struct kernel_param *kp) in param_set_trace_method_name() 199 static int param_get_trace_method_name(char *buffer, const struct kernel_param *kp) in param_get_trace_method_name() 219 const struct kernel_param *kp) in param_set_trace_state() 255 static int param_get_trace_state(char *buffer, const struct kernel_param *kp) in param_get_trace_state() 281 const struct kernel_param *kp) in param_get_acpica_version()
|
| /linux-6.15/mm/ |
| H A D | zswap.c | 89 const struct kernel_param *); 99 const struct kernel_param *); 110 static int zswap_zpool_param_set(const char *, const struct kernel_param *); 525 static bool zswap_pool_changed(const char *s, const struct kernel_param *kp) in zswap_pool_changed() 534 static int __zswap_param_set(const char *val, const struct kernel_param *kp, in __zswap_param_set() 648 const struct kernel_param *kp) in zswap_compressor_param_set() 654 const struct kernel_param *kp) in zswap_zpool_param_set() 660 const struct kernel_param *kp) in zswap_enabled_param_set()
|
| /linux-6.15/arch/x86/kernel/ |
| H A D | msr.c | 297 static int set_allow_writes(const char *val, const struct kernel_param *cp) in module_exit() 312 static int get_allow_writes(char *buf, const struct kernel_param *kp) in get_allow_writes()
|
| /linux-6.15/arch/x86/platform/uv/ |
| H A D | uv_nmi.c | 114 static int param_get_local64(char *buffer, const struct kernel_param *kp) in param_get_local64() 119 static int param_set_local64(const char *val, const struct kernel_param *kp) in param_set_local64() 212 static int param_get_action(char *buffer, const struct kernel_param *kp) in param_get_action() 217 static int param_set_action(const char *val, const struct kernel_param *kp) in param_set_action()
|
| /linux-6.15/drivers/edac/ |
| H A D | edac_module.c | 23 const struct kernel_param *kp) in edac_set_debug_level()
|
| /linux-6.15/drivers/input/misc/ |
| H A D | ati_remote2.c | 37 const struct kernel_param *kp, in ati_remote2_set_mask() 59 const struct kernel_param *kp) in ati_remote2_set_channel_mask() 67 const struct kernel_param *kp) in ati_remote2_get_channel_mask() 75 const struct kernel_param *kp) in ati_remote2_set_mode_mask() 83 const struct kernel_param *kp) in ati_remote2_get_mode_mask()
|
| /linux-6.15/drivers/net/ethernet/hisilicon/hns3/ |
| H A D | hns3_ethtool.c | 669 struct kernel_ethtool_ringparam *kernel_param, in hns3_get_ringparam() argument 686 kernel_param->rx_buf_len = priv->ring[rx_queue_index].buf_size; in hns3_get_ringparam() 1108 struct kernel_ethtool_ringparam *kernel_param) in hns3_check_ringparam() argument 1124 if (kernel_param->rx_buf_len != RX_BUF_LEN_2K && in hns3_check_ringparam() 1125 kernel_param->rx_buf_len != RX_BUF_LEN_4K) { in hns3_check_ringparam() 1145 struct kernel_ethtool_ringparam *kernel_param, in hns3_is_ringparam_changed() argument 1160 new_ringparam->rx_buf_len = kernel_param->rx_buf_len; in hns3_is_ringparam_changed() 1214 struct kernel_ethtool_ringparam *kernel_param, in hns3_set_ringparam() argument 1224 ret = hns3_check_ringparam(ndev, param, kernel_param); in hns3_set_ringparam() 1228 ret = hns3_set_tx_push(ndev, kernel_param->tx_push); in hns3_set_ringparam() [all …]
|