Home
last modified time | relevance | path

Searched refs:kernel_param (Results 1 – 25 of 136) sorted by relevance

123456

/linux-6.6.21/include/linux/
Dmoduleparam.h36 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)) \
387 const struct kernel_param *params,
397 extern void destroy_params(const struct kernel_param *params, unsigned num);
399 static inline void destroy_params(const struct kernel_param *params, in destroy_params()
[all …]
Ddynamic_debug.h325 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()
Dhisi_acc_qm.h422 static inline int q_num_set(const char *val, const struct kernel_param *kp, in q_num_set()
453 static inline int vfs_num_set(const char *val, const struct kernel_param *kp) in vfs_num_set()
471 static inline int mode_set(const char *val, const struct kernel_param *kp) in mode_set()
487 static inline int uacce_mode_set(const char *val, const struct kernel_param *kp) in uacce_mode_set()
/linux-6.6.21/kernel/
Dparams.c101 static bool param_check_unsafe(const struct kernel_param *kp) in param_check_unsafe()
119 const struct kernel_param *params, in parse_one()
164 const struct kernel_param *params, in parse_args()
219 int param_set_##name(const char *val, const struct kernel_param *kp) \
223 int param_get_##name(char *buffer, const struct kernel_param *kp) \
247 int param_set_uint_minmax(const char *val, const struct kernel_param *kp, in param_set_uint_minmax()
265 int param_set_charp(const char *val, const struct kernel_param *kp) in param_set_charp()
288 int param_get_charp(char *buffer, const struct kernel_param *kp) in param_get_charp()
308 int param_set_bool(const char *val, const struct kernel_param *kp) in param_set_bool()
318 int param_get_bool(char *buffer, const struct kernel_param *kp) in param_get_bool()
[all …]
/linux-6.6.21/drivers/power/supply/
Dtest_power.c345 static int param_set_ac_online(const char *key, const struct kernel_param *kp) in param_set_ac_online()
352 static int param_get_ac_online(char *buffer, const struct kernel_param *kp) in param_get_ac_online()
358 static int param_set_usb_online(const char *key, const struct kernel_param *kp) in param_set_usb_online()
365 static int param_get_usb_online(char *buffer, const struct kernel_param *kp) in param_get_usb_online()
372 const struct kernel_param *kp) in param_set_battery_status()
379 static int param_get_battery_status(char *buffer, const struct kernel_param *kp) in param_get_battery_status()
386 const struct kernel_param *kp) in param_set_battery_health()
393 static int param_get_battery_health(char *buffer, const struct kernel_param *kp) in param_get_battery_health()
400 const struct kernel_param *kp) in param_set_battery_present()
408 const struct kernel_param *kp) in param_get_battery_present()
[all …]
/linux-6.6.21/drivers/ufs/core/
Dufs-fault-injection.c9 static int ufs_fault_get(char *buffer, const struct kernel_param *kp);
10 static int ufs_fault_set(const char *val, const struct kernel_param *kp);
35 static int ufs_fault_get(char *buffer, const struct kernel_param *kp) in ufs_fault_get()
42 static int ufs_fault_set(const char *val, const struct kernel_param *kp) in ufs_fault_set()
/linux-6.6.21/security/apparmor/
Dlsm.c1348 static int param_set_aabool(const char *val, const struct kernel_param *kp);
1349 static int param_get_aabool(char *buffer, const struct kernel_param *kp);
1357 static int param_set_aauint(const char *val, const struct kernel_param *kp);
1358 static int param_get_aauint(char *buffer, const struct kernel_param *kp);
1366 const struct kernel_param *kp);
1368 const struct kernel_param *kp);
1375 static int param_set_aalockpolicy(const char *val, const struct kernel_param *kp);
1376 static int param_get_aalockpolicy(char *buffer, const struct kernel_param *kp);
1384 static int param_set_audit(const char *val, const struct kernel_param *kp);
1385 static int param_get_audit(char *buffer, const struct kernel_param *kp);
[all …]
/linux-6.6.21/drivers/gpu/drm/
Ddrm_kms_helper_common.c42 static int edid_firmware_set(const char *val, const struct kernel_param *kp) in edid_firmware_set()
49 static int edid_firmware_get(char *buffer, const struct kernel_param *kp) in edid_firmware_get()
/linux-6.6.21/lib/
Ddhry_run.c18 static int dhry_run_set(const char *val, const struct kernel_param *kp);
59 static int dhry_run_set(const char *val, const struct kernel_param *kp) in dhry_run_set()
Dtest_dynamic_debug.c16 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.6.21/drivers/scsi/fcoe/
Dfcoe_transport.c24 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.6.21/drivers/thermal/intel/
Dintel_powerclamp.c82 static int duration_set(const char *arg, const struct kernel_param *kp) in duration_set()
105 static int duration_get(char *buf, const struct kernel_param *kp) in duration_get()
155 static int cpumask_set(const char *arg, const struct kernel_param *kp) in cpumask_set()
199 static int cpumask_get(char *buf, const struct kernel_param *kp) in cpumask_get()
216 static int max_idle_set(const char *arg, const struct kernel_param *kp) in max_idle_set()
282 static int window_size_set(const char *arg, const struct kernel_param *kp) in window_size_set()
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_mitigations.c30 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.6.21/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dethtool.c72 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.6.21/drivers/dma/
Ddmatest.c149 static int dmatest_run_set(const char *val, const struct kernel_param *kp);
150 static int dmatest_run_get(char *val, const struct kernel_param *kp);
159 static int dmatest_chan_set(const char *val, const struct kernel_param *kp);
160 static int dmatest_chan_get(char *val, const struct kernel_param *kp);
174 static int dmatest_test_list_get(char *val, const struct kernel_param *kp);
277 static int dmatest_wait_get(char *val, const struct kernel_param *kp) in dmatest_wait_get()
1162 static int dmatest_run_get(char *val, const struct kernel_param *kp) in dmatest_run_get()
1179 static int dmatest_run_set(const char *val, const struct kernel_param *kp) in dmatest_run_set()
1218 static int dmatest_chan_set(const char *val, const struct kernel_param *kp) in dmatest_chan_set()
1290 static int dmatest_chan_get(char *val, const struct kernel_param *kp) in dmatest_chan_get()
[all …]
/linux-6.6.21/kernel/module/
Dinternal.h364 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,
Dversion.c96 struct kernel_param *kp, in module_layout()
/linux-6.6.21/drivers/char/ipmi/
Dipmi_si_hotmod.c17 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.6.21/drivers/acpi/
Dsysfs.c92 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.6.21/mm/
Dzswap.c89 const struct kernel_param *);
99 const struct kernel_param *);
110 static int zswap_zpool_param_set(const char *, const struct kernel_param *);
888 static bool zswap_pool_changed(const char *s, const struct kernel_param *kp) in zswap_pool_changed()
897 static int __zswap_param_set(const char *val, const struct kernel_param *kp, in __zswap_param_set()
1000 const struct kernel_param *kp) in zswap_compressor_param_set()
1006 const struct kernel_param *kp) in zswap_zpool_param_set()
1012 const struct kernel_param *kp) in zswap_enabled_param_set()
/linux-6.6.21/arch/x86/kernel/
Dmsr.c297 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.6.21/arch/x86/platform/uv/
Duv_nmi.c113 static int param_get_local64(char *buffer, const struct kernel_param *kp) in param_get_local64()
118 static int param_set_local64(const char *val, const struct kernel_param *kp) in param_set_local64()
196 static int param_get_action(char *buffer, const struct kernel_param *kp) in param_get_action()
201 static int param_set_action(const char *val, const struct kernel_param *kp) in param_set_action()
/linux-6.6.21/drivers/edac/
Dedac_module.c23 const struct kernel_param *kp) in edac_set_debug_level()
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/
Dhns3_ethtool.c673 struct kernel_ethtool_ringparam *kernel_param, in hns3_get_ringparam() argument
690 kernel_param->rx_buf_len = priv->ring[rx_queue_index].buf_size; in hns3_get_ringparam()
691 kernel_param->tx_push = test_bit(HNS3_NIC_STATE_TX_PUSH_ENABLE, in hns3_get_ringparam()
1107 struct kernel_ethtool_ringparam *kernel_param) in hns3_check_ringparam() argument
1123 if (kernel_param->rx_buf_len != RX_BUF_LEN_2K && in hns3_check_ringparam()
1124 kernel_param->rx_buf_len != RX_BUF_LEN_4K) { in hns3_check_ringparam()
1144 struct kernel_ethtool_ringparam *kernel_param, in hns3_is_ringparam_changed() argument
1159 new_ringparam->rx_buf_len = kernel_param->rx_buf_len; in hns3_is_ringparam_changed()
1213 struct kernel_ethtool_ringparam *kernel_param, in hns3_set_ringparam() argument
1223 ret = hns3_check_ringparam(ndev, param, kernel_param); in hns3_set_ringparam()
[all …]
/linux-6.6.21/include/net/netfilter/
Dnf_conntrack.h321 struct kernel_param;
323 int nf_conntrack_set_hashsize(const char *val, const struct kernel_param *kp);

123456