Home
last modified time | relevance | path

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

123456

/linux-5.19.10/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 …]
Dhisi_acc_qm.h370 static inline int q_num_set(const char *val, const struct kernel_param *kp, in q_num_set()
399 static inline int vfs_num_set(const char *val, const struct kernel_param *kp) in vfs_num_set()
417 static inline int mode_set(const char *val, const struct kernel_param *kp) in mode_set()
433 static inline int uacce_mode_set(const char *val, const struct kernel_param *kp) in uacce_mode_set()
/linux-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/security/apparmor/
Dlsm.c1303 static int param_set_aabool(const char *val, const struct kernel_param *kp);
1304 static int param_get_aabool(char *buffer, const struct kernel_param *kp);
1312 static int param_set_aauint(const char *val, const struct kernel_param *kp);
1313 static int param_get_aauint(char *buffer, const struct kernel_param *kp);
1321 const struct kernel_param *kp);
1323 const struct kernel_param *kp);
1330 static int param_set_aalockpolicy(const char *val, const struct kernel_param *kp);
1331 static int param_get_aalockpolicy(char *buffer, const struct kernel_param *kp);
1339 static int param_set_audit(const char *val, const struct kernel_param *kp);
1340 static int param_get_audit(char *buffer, const struct kernel_param *kp);
[all …]
/linux-5.19.10/drivers/gpu/drm/
Ddrm_kms_helper_common.c41 static int edid_firmware_set(const char *val, const struct kernel_param *kp) in edid_firmware_set()
48 static int edid_firmware_get(char *buffer, const struct kernel_param *kp) in edid_firmware_get()
/linux-5.19.10/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-5.19.10/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-5.19.10/mm/
Dshuffle.c15 static int shuffle_show(char *buffer, const struct kernel_param *kp) in shuffle_show()
21 const struct kernel_param *kp) in shuffle_store()
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-5.19.10/drivers/dma/
Ddmatest.c150 static int dmatest_run_set(const char *val, const struct kernel_param *kp);
151 static int dmatest_run_get(char *val, const struct kernel_param *kp);
160 static int dmatest_chan_set(const char *val, const struct kernel_param *kp);
161 static int dmatest_chan_get(char *val, const struct kernel_param *kp);
175 static int dmatest_test_list_get(char *val, const struct kernel_param *kp);
278 static int dmatest_wait_get(char *val, const struct kernel_param *kp) in dmatest_wait_get()
1163 static int dmatest_run_get(char *val, const struct kernel_param *kp) in dmatest_run_get()
1180 static int dmatest_run_set(const char *val, const struct kernel_param *kp) in dmatest_run_set()
1219 static int dmatest_chan_set(const char *val, const struct kernel_param *kp) in dmatest_chan_set()
1291 static int dmatest_chan_get(char *val, const struct kernel_param *kp) in dmatest_chan_get()
[all …]
/linux-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dethtool.c71 struct kernel_ethtool_ringparam *kernel_param, in mlx5i_set_ringparam() argument
81 struct kernel_ethtool_ringparam *kernel_param, in mlx5i_get_ringparam() argument
/linux-5.19.10/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-5.19.10/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-5.19.10/drivers/net/ethernet/hisilicon/hns3/
Dhns3_ethtool.c649 struct kernel_ethtool_ringparam *kernel_param, in hns3_get_ringparam() argument
666 kernel_param->rx_buf_len = priv->ring[rx_queue_index].buf_size; in hns3_get_ringparam()
667 kernel_param->tx_push = test_bit(HNS3_NIC_STATE_TX_PUSH_ENABLE, in hns3_get_ringparam()
1075 struct kernel_ethtool_ringparam *kernel_param) in hns3_check_ringparam() argument
1091 if (kernel_param->rx_buf_len != RX_BUF_LEN_2K && in hns3_check_ringparam()
1092 kernel_param->rx_buf_len != RX_BUF_LEN_4K) { in hns3_check_ringparam()
1112 struct kernel_ethtool_ringparam *kernel_param, in hns3_is_ringparam_changed() argument
1127 new_ringparam->rx_buf_len = kernel_param->rx_buf_len; in hns3_is_ringparam_changed()
1181 struct kernel_ethtool_ringparam *kernel_param, in hns3_set_ringparam() argument
1191 ret = hns3_check_ringparam(ndev, param, kernel_param); in hns3_set_ringparam()
[all …]
/linux-5.19.10/drivers/edac/
Dedac_module.c23 const struct kernel_param *kp) in edac_set_debug_level()
/linux-5.19.10/include/net/netfilter/
Dnf_conntrack.h319 struct kernel_param;
321 int nf_conntrack_set_hashsize(const char *val, const struct kernel_param *kp);
/linux-5.19.10/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()
/linux-5.19.10/net/netfilter/
Dnf_nat_irc.c114 static int warn_set(const char *val, const struct kernel_param *kp) in warn_set()
/linux-5.19.10/lib/
Dcrc-t10dif.c110 static int crc_t10dif_transform_show(char *buffer, const struct kernel_param *kp) in crc_t10dif_transform_show()

123456