Home
last modified time | relevance | path

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

123456

/linux-6.1.9/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.h290 struct kernel_param;
291 int param_set_dyndbg_classes(const char *instr, const struct kernel_param *kp);
292 int param_get_dyndbg_classes(char *buffer, const struct kernel_param *kp);
340 struct kernel_param;
341 static inline int param_set_dyndbg_classes(const char *instr, const struct kernel_param *kp) in param_set_dyndbg_classes()
343 static inline int param_get_dyndbg_classes(char *buffer, const struct kernel_param *kp) in param_get_dyndbg_classes()
Dhisi_acc_qm.h384 static inline int q_num_set(const char *val, const struct kernel_param *kp, in q_num_set()
415 static inline int vfs_num_set(const char *val, const struct kernel_param *kp) in vfs_num_set()
433 static inline int mode_set(const char *val, const struct kernel_param *kp) in mode_set()
449 static inline int uacce_mode_set(const char *val, const struct kernel_param *kp) in uacce_mode_set()
/linux-6.1.9/kernel/
Dparams.c100 static bool param_check_unsafe(const struct kernel_param *kp) in param_check_unsafe()
118 const struct kernel_param *params, in parse_one()
163 const struct kernel_param *params, in parse_args()
218 int param_set_##name(const char *val, const struct kernel_param *kp) \
222 int param_get_##name(char *buffer, const struct kernel_param *kp) \
246 int param_set_uint_minmax(const char *val, const struct kernel_param *kp, in param_set_uint_minmax()
264 int param_set_charp(const char *val, const struct kernel_param *kp) in param_set_charp()
287 int param_get_charp(char *buffer, const struct kernel_param *kp) in param_get_charp()
307 int param_set_bool(const char *val, const struct kernel_param *kp) in param_set_bool()
317 int param_get_bool(char *buffer, const struct kernel_param *kp) in param_get_bool()
[all …]
/linux-6.1.9/drivers/power/supply/
Dtest_power.c346 static int param_set_ac_online(const char *key, const struct kernel_param *kp) in param_set_ac_online()
353 static int param_get_ac_online(char *buffer, const struct kernel_param *kp) in param_get_ac_online()
359 static int param_set_usb_online(const char *key, const struct kernel_param *kp) in param_set_usb_online()
366 static int param_get_usb_online(char *buffer, const struct kernel_param *kp) in param_get_usb_online()
373 const struct kernel_param *kp) in param_set_battery_status()
380 static int param_get_battery_status(char *buffer, const struct kernel_param *kp) in param_get_battery_status()
387 const struct kernel_param *kp) in param_set_battery_health()
394 static int param_get_battery_health(char *buffer, const struct kernel_param *kp) in param_get_battery_health()
401 const struct kernel_param *kp) in param_set_battery_present()
409 const struct kernel_param *kp) in param_get_battery_present()
[all …]
/linux-6.1.9/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.1.9/security/apparmor/
Dlsm.c1300 static int param_set_aabool(const char *val, const struct kernel_param *kp);
1301 static int param_get_aabool(char *buffer, const struct kernel_param *kp);
1309 static int param_set_aauint(const char *val, const struct kernel_param *kp);
1310 static int param_get_aauint(char *buffer, const struct kernel_param *kp);
1318 const struct kernel_param *kp);
1320 const struct kernel_param *kp);
1327 static int param_set_aalockpolicy(const char *val, const struct kernel_param *kp);
1328 static int param_get_aalockpolicy(char *buffer, const struct kernel_param *kp);
1336 static int param_set_audit(const char *val, const struct kernel_param *kp);
1337 static int param_get_audit(char *buffer, const struct kernel_param *kp);
[all …]
/linux-6.1.9/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.1.9/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()
861 const struct kernel_param *kp) in fcoe_transport_create()
927 const struct kernel_param *kp) in fcoe_transport_destroy()
972 const struct kernel_param *kp) in fcoe_transport_disable()
1007 const struct kernel_param *kp) in fcoe_transport_enable()
/linux-6.1.9/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.1.9/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.1.9/lib/
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.1.9/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.1.9/kernel/module/
Dinternal.h263 struct kernel_param *kparam, unsigned int num_params);
269 struct kernel_param *kparam, in mod_sysfs_setup()
282 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.1.9/drivers/acpi/
Dsysfs.c91 static int param_get_debug_layer(char *buffer, const struct kernel_param *kp) in param_get_debug_layer()
119 static int param_get_debug_level(char *buffer, const struct kernel_param *kp) in param_get_debug_level()
156 const struct kernel_param *kp) in param_set_trace_method_name()
198 static int param_get_trace_method_name(char *buffer, const struct kernel_param *kp) in param_get_trace_method_name()
218 const struct kernel_param *kp) in param_set_trace_state()
254 static int param_get_trace_state(char *buffer, const struct kernel_param *kp) in param_get_trace_state()
280 const struct kernel_param *kp) in param_get_acpica_version()
/linux-6.1.9/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.1.9/arch/x86/kernel/
Dmsr.c296 static int set_allow_writes(const char *val, const struct kernel_param *cp) in module_exit()
311 static int get_allow_writes(char *buf, const struct kernel_param *kp) in get_allow_writes()
/linux-6.1.9/mm/
Dzswap.c87 const struct kernel_param *);
97 const struct kernel_param *);
108 static int zswap_zpool_param_set(const char *, const struct kernel_param *);
768 static int __zswap_param_set(const char *val, const struct kernel_param *kp, in __zswap_param_set()
864 const struct kernel_param *kp) in zswap_compressor_param_set()
870 const struct kernel_param *kp) in zswap_zpool_param_set()
876 const struct kernel_param *kp) in zswap_enabled_param_set()
/linux-6.1.9/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.1.9/drivers/net/ethernet/hisilicon/hns3/
Dhns3_ethtool.c676 struct kernel_ethtool_ringparam *kernel_param, in hns3_get_ringparam() argument
693 kernel_param->rx_buf_len = priv->ring[rx_queue_index].buf_size; in hns3_get_ringparam()
694 kernel_param->tx_push = test_bit(HNS3_NIC_STATE_TX_PUSH_ENABLE, 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()
[all …]
/linux-6.1.9/drivers/edac/
Dedac_module.c23 const struct kernel_param *kp) in edac_set_debug_level()
/linux-6.1.9/include/net/netfilter/
Dnf_conntrack.h317 struct kernel_param;
319 int nf_conntrack_set_hashsize(const char *val, const struct kernel_param *kp);
/linux-6.1.9/net/netfilter/
Dnf_nat_irc.c102 static int warn_set(const char *val, const struct kernel_param *kp) in warn_set()
/linux-6.1.9/drivers/input/misc/
Dati_remote2.c37 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()

123456