Home
last modified time | relevance | path

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

1234

/Linux-v5.4/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
222 static struct kernel_param __moduleparam_const __param_##name \
315 const struct kernel_param *params,
325 extern void destroy_params(const struct kernel_param *params, unsigned num);
327 static inline void destroy_params(const struct kernel_param *params, in destroy_params()
340 extern int param_set_byte(const char *val, const struct kernel_param *kp);
[all …]
/Linux-v5.4/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) \
245 int param_set_charp(const char *val, const struct kernel_param *kp) in param_set_charp()
268 int param_get_charp(char *buffer, const struct kernel_param *kp) in param_get_charp()
288 int param_set_bool(const char *val, const struct kernel_param *kp) in param_set_bool()
298 int param_get_bool(char *buffer, const struct kernel_param *kp) in param_get_bool()
312 int param_set_bool_enable_only(const char *val, const struct kernel_param *kp) in param_set_bool_enable_only()
[all …]
/Linux-v5.4/drivers/power/supply/
Dtest_power.c334 static int param_set_ac_online(const char *key, const struct kernel_param *kp) in param_set_ac_online()
341 static int param_get_ac_online(char *buffer, const struct kernel_param *kp) in param_get_ac_online()
347 static int param_set_usb_online(const char *key, const struct kernel_param *kp) in param_set_usb_online()
354 static int param_get_usb_online(char *buffer, const struct kernel_param *kp) in param_get_usb_online()
361 const struct kernel_param *kp) in param_set_battery_status()
368 static int param_get_battery_status(char *buffer, const struct kernel_param *kp) in param_get_battery_status()
375 const struct kernel_param *kp) in param_set_battery_health()
382 static int param_get_battery_health(char *buffer, const struct kernel_param *kp) in param_get_battery_health()
389 const struct kernel_param *kp) in param_set_battery_present()
397 const struct kernel_param *kp) in param_get_battery_present()
[all …]
/Linux-v5.4/security/apparmor/
Dlsm.c1248 static int param_set_aabool(const char *val, const struct kernel_param *kp);
1249 static int param_get_aabool(char *buffer, const struct kernel_param *kp);
1257 static int param_set_aauint(const char *val, const struct kernel_param *kp);
1258 static int param_get_aauint(char *buffer, const struct kernel_param *kp);
1265 static int param_set_aalockpolicy(const char *val, const struct kernel_param *kp);
1266 static int param_get_aalockpolicy(char *buffer, const struct kernel_param *kp);
1274 static int param_set_audit(const char *val, const struct kernel_param *kp);
1275 static int param_get_audit(char *buffer, const struct kernel_param *kp);
1277 static int param_set_mode(const char *val, const struct kernel_param *kp);
1278 static int param_get_mode(char *buffer, const struct kernel_param *kp);
[all …]
/Linux-v5.4/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-v5.4/drivers/scsi/fcoe/
Dfcoe_transport.c23 static int fcoe_transport_create(const char *, const struct kernel_param *);
24 static int fcoe_transport_destroy(const char *, const struct kernel_param *);
25 static int fcoe_transport_show(char *buffer, const struct kernel_param *kp);
28 static int fcoe_transport_enable(const char *, const struct kernel_param *);
29 static int fcoe_transport_disable(const char *, const struct kernel_param *);
596 static int fcoe_transport_show(char *buffer, const struct kernel_param *kp) in fcoe_transport_show()
858 const struct kernel_param *kp) in fcoe_transport_create()
924 const struct kernel_param *kp) in fcoe_transport_destroy()
969 const struct kernel_param *kp) in fcoe_transport_disable()
1004 const struct kernel_param *kp) in fcoe_transport_enable()
/Linux-v5.4/drivers/infiniband/sw/rxe/
Drxe_sysfs.c56 static int rxe_param_set_add(const char *val, const struct kernel_param *kp) in rxe_param_set_add()
95 static int rxe_param_set_remove(const char *val, const struct kernel_param *kp) in rxe_param_set_remove()
/Linux-v5.4/drivers/dma/
Ddmatest.c139 static int dmatest_run_set(const char *val, const struct kernel_param *kp);
140 static int dmatest_run_get(char *val, const struct kernel_param *kp);
149 static int dmatest_chan_set(const char *val, const struct kernel_param *kp);
150 static int dmatest_chan_get(char *val, const struct kernel_param *kp);
164 static int dmatest_test_list_get(char *val, const struct kernel_param *kp);
267 static int dmatest_wait_get(char *val, const struct kernel_param *kp) in dmatest_wait_get()
1141 static int dmatest_run_get(char *val, const struct kernel_param *kp) in dmatest_run_get()
1158 static int dmatest_run_set(const char *val, const struct kernel_param *kp) in dmatest_run_set()
1182 static int dmatest_chan_set(const char *val, const struct kernel_param *kp) in dmatest_chan_set()
1253 static int dmatest_chan_get(char *val, const struct kernel_param *kp) in dmatest_chan_get()
[all …]
/Linux-v5.4/mm/
Dshuffle.c36 static int shuffle_show(char *buffer, const struct kernel_param *kp) in shuffle_show()
43 const struct kernel_param *kp) in shuffle_store()
Dzswap.c77 const struct kernel_param *);
88 const struct kernel_param *);
100 static int zswap_zpool_param_set(const char *, const struct kernel_param *);
666 static int __zswap_param_set(const char *val, const struct kernel_param *kp, in __zswap_param_set()
762 const struct kernel_param *kp) in zswap_compressor_param_set()
768 const struct kernel_param *kp) in zswap_zpool_param_set()
774 const struct kernel_param *kp) in zswap_enabled_param_set()
/Linux-v5.4/drivers/ide/
Dide.c180 static int ide_set_dev_param_mask(const char *s, const struct kernel_param *kp) in ide_set_dev_param_mask()
248 static int ide_set_disk_chs(const char *str, const struct kernel_param *kp) in ide_set_disk_chs()
332 static int ide_set_ignore_cable(const char *s, const struct kernel_param *kp) in ide_set_ignore_cable()
/Linux-v5.4/drivers/acpi/
Dsysfs.c108 static int param_get_debug_layer(char *buffer, const struct kernel_param *kp) in param_get_debug_layer()
136 static int param_get_debug_level(char *buffer, const struct kernel_param *kp) in param_get_debug_level()
173 const struct kernel_param *kp) in param_set_trace_method_name()
215 static int param_get_trace_method_name(char *buffer, const struct kernel_param *kp) in param_get_trace_method_name()
235 const struct kernel_param *kp) in param_set_trace_state()
271 static int param_get_trace_state(char *buffer, const struct kernel_param *kp) in param_get_trace_state()
301 const struct kernel_param *kp) in param_get_acpica_version()
Dbutton.c579 const struct kernel_param *kp) in param_set_lid_init_state()
598 const struct kernel_param *kp) in param_get_lid_init_state()
/Linux-v5.4/drivers/char/ipmi/
Dipmi_si_hotmod.c17 static int hotmod_handler(const char *val, const struct kernel_param *kp);
186 static int hotmod_handler(const char *val, const struct kernel_param *kp) in hotmod_handler()
Dipmi_watchdog.c176 static int set_param_timeout(const char *val, const struct kernel_param *kp) in set_param_timeout()
208 static int set_param_str(const char *val, const struct kernel_param *kp) in set_param_str()
232 static int get_param_str(char *buffer, const struct kernel_param *kp) in get_param_str()
244 static int set_param_wdog_ifnum(const char *val, const struct kernel_param *kp) in set_param_wdog_ifnum()
/Linux-v5.4/include/net/netfilter/
Dnf_conntrack.h282 struct kernel_param;
284 int nf_conntrack_set_hashsize(const char *val, const struct kernel_param *kp);
/Linux-v5.4/arch/x86/platform/uv/
Duv_nmi.c96 static int param_get_local64(char *buffer, const struct kernel_param *kp) in param_get_local64()
101 static int param_set_local64(const char *val, const struct kernel_param *kp) in param_set_local64()
179 static int param_get_action(char *buffer, const struct kernel_param *kp) in param_get_action()
184 static int param_set_action(const char *val, const struct kernel_param *kp) in param_set_action()
/Linux-v5.4/drivers/edac/
Dedac_module.c23 const struct kernel_param *kp) in edac_set_debug_level()
/Linux-v5.4/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-v5.4/net/netfilter/
Dnf_nat_irc.c114 static int warn_set(const char *val, const struct kernel_param *kp) in warn_set()
Dnf_nat_ftp.c143 static int warn_set(const char *val, const struct kernel_param *kp) in warn_set()
/Linux-v5.4/lib/
Dcrc-t10dif.c107 static int crc_t10dif_transform_show(char *buffer, const struct kernel_param *kp) in crc_t10dif_transform_show()
/Linux-v5.4/drivers/media/pci/tw686x/
Dtw686x-core.c72 static int tw686x_dma_mode_get(char *buffer, const struct kernel_param *kp) in tw686x_dma_mode_get()
77 static int tw686x_dma_mode_set(const char *val, const struct kernel_param *kp) in tw686x_dma_mode_set()
/Linux-v5.4/net/batman-adv/
Dbat_algo.c136 static int batadv_param_set_ra(const char *val, const struct kernel_param *kp) in batadv_param_set_ra()
/Linux-v5.4/drivers/crypto/hisilicon/
Dsgl.c13 static int acc_sgl_sge_set(const char *val, const struct kernel_param *kp) in acc_sgl_sge_set()

1234