Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-5.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 \
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()
412 extern int param_set_byte(const char *val, const struct kernel_param *kp);
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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_charp(const char *val, const struct kernel_param *kp) in param_set_charp()
269 int param_get_charp(char *buffer, const struct kernel_param *kp) in param_get_charp()
289 int param_set_bool(const char *val, const struct kernel_param *kp) in param_set_bool()
299 int param_get_bool(char *buffer, const struct kernel_param *kp) in param_get_bool()
313 int param_set_bool_enable_only(const char *val, const struct kernel_param *kp) in param_set_bool_enable_only()
[all …]
/kernel/linux/linux-5.10/security/apparmor/
Dlsm.c1266 static int param_set_aabool(const char *val, const struct kernel_param *kp);
1267 static int param_get_aabool(char *buffer, const struct kernel_param *kp);
1275 static int param_set_aauint(const char *val, const struct kernel_param *kp);
1276 static int param_get_aauint(char *buffer, const struct kernel_param *kp);
1284 const struct kernel_param *kp);
1286 const struct kernel_param *kp);
1293 static int param_set_aalockpolicy(const char *val, const struct kernel_param *kp);
1294 static int param_get_aalockpolicy(char *buffer, const struct kernel_param *kp);
1302 static int param_set_audit(const char *val, const struct kernel_param *kp);
1303 static int param_get_audit(char *buffer, const struct kernel_param *kp);
[all …]
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/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 *);
597 static int fcoe_transport_show(char *buffer, const struct kernel_param *kp) in fcoe_transport_show()
860 const struct kernel_param *kp) in fcoe_transport_create()
926 const struct kernel_param *kp) in fcoe_transport_destroy()
971 const struct kernel_param *kp) in fcoe_transport_disable()
1006 const struct kernel_param *kp) in fcoe_transport_enable()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_sysfs.c29 static int rxe_param_set_add(const char *val, const struct kernel_param *kp) in rxe_param_set_add()
79 static int rxe_param_set_remove(const char *val, const struct kernel_param *kp) in rxe_param_set_remove()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_mitigations.c29 static int mitigations_set(const char *val, const struct kernel_param *kp) in mitigations_set()
97 static int mitigations_get(char *buffer, const struct kernel_param *kp) in mitigations_get()
/kernel/linux/linux-5.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.c83 const struct kernel_param *);
93 const struct kernel_param *);
104 static int zswap_zpool_param_set(const char *, const struct kernel_param *);
697 static int __zswap_param_set(const char *val, const struct kernel_param *kp, in __zswap_param_set()
793 const struct kernel_param *kp) in zswap_compressor_param_set()
799 const struct kernel_param *kp) in zswap_zpool_param_set()
805 const struct kernel_param *kp) in zswap_enabled_param_set()
/kernel/linux/linux-5.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()
1160 static int dmatest_run_get(char *val, const struct kernel_param *kp) in dmatest_run_get()
1177 static int dmatest_run_set(const char *val, const struct kernel_param *kp) in dmatest_run_set()
1216 static int dmatest_chan_set(const char *val, const struct kernel_param *kp) in dmatest_chan_set()
1288 static int dmatest_chan_get(char *val, const struct kernel_param *kp) in dmatest_chan_get()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
249 static int set_param_wdog_ifnum(const char *val, const struct kernel_param *kp) in set_param_wdog_ifnum()
/kernel/linux/linux-5.10/arch/x86/kernel/
Dmsr.c298 static int set_allow_writes(const char *val, const struct kernel_param *cp) in module_exit()
313 static int get_allow_writes(char *buf, const struct kernel_param *kp) in get_allow_writes()
/kernel/linux/linux-5.10/include/net/netfilter/
Dnf_conntrack.h294 struct kernel_param;
296 int nf_conntrack_set_hashsize(const char *val, const struct kernel_param *kp);
/kernel/linux/linux-5.10/arch/x86/platform/uv/
Duv_nmi.c110 static int param_get_local64(char *buffer, const struct kernel_param *kp) in param_get_local64()
115 static int param_set_local64(const char *val, const struct kernel_param *kp) in param_set_local64()
193 static int param_get_action(char *buffer, const struct kernel_param *kp) in param_get_action()
198 static int param_set_action(const char *val, const struct kernel_param *kp) in param_set_action()
/kernel/linux/linux-5.10/drivers/edac/
Dedac_module.c23 const struct kernel_param *kp) in edac_set_debug_level()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/net/netfilter/
Dnf_nat_irc.c114 static int warn_set(const char *val, const struct kernel_param *kp) in warn_set()
/kernel/linux/linux-5.10/lib/
Dcrc-t10dif.c110 static int crc_t10dif_transform_show(char *buffer, const struct kernel_param *kp) in crc_t10dif_transform_show()
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/
Dqm.h289 static inline int q_num_set(const char *val, const struct kernel_param *kp, in q_num_set()
320 static inline int vfs_num_set(const char *val, const struct kernel_param *kp) in vfs_num_set()
/kernel/linux/linux-5.10/fs/nfs/
Dnamespace.c319 static int param_set_nfs_timeout(const char *val, const struct kernel_param *kp) in param_set_nfs_timeout()
344 static int param_get_nfs_timeout(char *buffer, const struct kernel_param *kp) in param_get_nfs_timeout()
/kernel/linux/linux-5.10/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()

12345