| /linux/include/linux/ |
| 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 …]
|
| 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()
|
| A D | hisi_acc_qm.h | 439 static inline int q_num_set(const char *val, const struct kernel_param *kp, in q_num_set() 470 static inline int vfs_num_set(const char *val, const struct kernel_param *kp) in vfs_num_set() 488 static inline int mode_set(const char *val, const struct kernel_param *kp) in mode_set() 504 static inline int uacce_mode_set(const char *val, const struct kernel_param *kp) in uacce_mode_set()
|
| /linux/kernel/ |
| 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() 802 const struct kernel_param *kparam, in kernel_add_sysfs_param() [all …]
|
| /linux/drivers/power/supply/ |
| A D | test_power.c | 388 static int param_get_ac_online(char *buffer, const struct kernel_param *kp) in param_get_ac_online() 408 const struct kernel_param *kp) in param_set_battery_status() 422 const struct kernel_param *kp) in param_set_battery_health() 436 const struct kernel_param *kp) in param_set_battery_present() 444 const struct kernel_param *kp) in param_get_battery_present() 451 const struct kernel_param *kp) in param_set_battery_technology() 460 const struct kernel_param *kp) in param_get_battery_technology() 468 const struct kernel_param *kp) in param_set_battery_capacity() 483 const struct kernel_param *kp) in param_set_battery_voltage() 498 const struct kernel_param *kp) in param_set_battery_charge_counter() [all …]
|
| /linux/drivers/ufs/core/ |
| 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/security/apparmor/ |
| A D | lsm.c | 1551 const struct kernel_param *kp); 1553 const struct kernel_param *kp); 1570 static int param_get_audit(char *buffer, const struct kernel_param *kp); 1573 static int param_get_mode(char *buffer, const struct kernel_param *kp); 1691 static int param_get_aabool(char *buffer, const struct kernel_param *kp) in param_get_aabool() 1729 struct kernel_param kp_local; in param_set_aaintbool() 1755 struct kernel_param kp_local; in param_get_aaintbool() 1767 const struct kernel_param *kp) in param_set_aacompressionlevel() 1787 const struct kernel_param *kp) in param_get_aacompressionlevel() 1796 static int param_get_audit(char *buffer, const struct kernel_param *kp) in param_get_audit() [all …]
|
| /linux/drivers/scsi/fcoe/ |
| 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/lib/ |
| 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()
|
| 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/drivers/thermal/intel/ |
| 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/drivers/gpu/drm/i915/ |
| 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/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ |
| 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/drivers/dma/ |
| 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/kernel/module/ |
| A D | internal.h | 364 struct kernel_param *kparam, unsigned int num_params); 370 struct kernel_param *kparam, in mod_sysfs_setup() 383 void module_layout(struct module *mod, struct modversion_info *ver, struct kernel_param *kp,
|
| A D | version.c | 96 struct kernel_param *kp, in module_layout()
|
| /linux/drivers/char/ipmi/ |
| 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/drivers/acpi/ |
| 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/mm/ |
| A D | zswap.c | 87 const struct kernel_param *); 97 const struct kernel_param *); 108 static int zswap_zpool_param_set(const char *, const struct kernel_param *); 514 static bool zswap_pool_changed(const char *s, const struct kernel_param *kp) in zswap_pool_changed() 523 static int __zswap_param_set(const char *val, const struct kernel_param *kp, in __zswap_param_set() 637 const struct kernel_param *kp) in zswap_compressor_param_set() 643 const struct kernel_param *kp) in zswap_zpool_param_set() 649 const struct kernel_param *kp) in zswap_enabled_param_set()
|
| /linux/arch/x86/kernel/ |
| 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/arch/x86/platform/uv/ |
| 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/drivers/edac/ |
| A D | edac_module.c | 23 const struct kernel_param *kp) in edac_set_debug_level()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/ |
| A D | hns3_ethtool.c | 688 struct kernel_ethtool_ringparam *kernel_param, in hns3_get_ringparam() argument 705 kernel_param->rx_buf_len = priv->ring[rx_queue_index].buf_size; in hns3_get_ringparam() 1127 struct kernel_ethtool_ringparam *kernel_param) in hns3_check_ringparam() argument 1143 if (kernel_param->rx_buf_len != RX_BUF_LEN_2K && in hns3_check_ringparam() 1144 kernel_param->rx_buf_len != RX_BUF_LEN_4K) { in hns3_check_ringparam() 1164 struct kernel_ethtool_ringparam *kernel_param, in hns3_is_ringparam_changed() argument 1179 new_ringparam->rx_buf_len = kernel_param->rx_buf_len; in hns3_is_ringparam_changed() 1233 struct kernel_ethtool_ringparam *kernel_param, in hns3_set_ringparam() argument 1243 ret = hns3_check_ringparam(ndev, param, kernel_param); in hns3_set_ringparam() 1247 ret = hns3_set_tx_push(ndev, kernel_param->tx_push); in hns3_set_ringparam() [all …]
|
| /linux/include/net/netfilter/ |
| A D | nf_conntrack.h | 327 struct kernel_param; 329 int nf_conntrack_set_hashsize(const char *val, const struct kernel_param *kp);
|
| /linux/net/netfilter/ |
| A D | nf_nat_irc.c | 102 static int warn_set(const char *val, const struct kernel_param *kp) in warn_set()
|