Home
last modified time | relevance | path

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

12345

/linux/include/linux/
A 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,
472 const struct kernel_param *kp);
599 const struct kernel_param *kparam,
[all …]
/linux/kernel/
A Dparams.c118 const struct kernel_param *params, in parse_one()
163 const struct kernel_param *params, in parse_args()
336 struct kernel_param dummy_kp = *kp; in param_set_bool_enable_only()
367 struct kernel_param dummy; in param_set_invbool()
392 struct kernel_param boolkp = *kp; in param_set_bint()
423 struct kernel_param kp; in param_array()
476 struct kernel_param p = *kp; in param_array_get()
544 const struct kernel_param *param;
626 const struct kernel_param *kp, in add_sysfs_param()
797 const struct kernel_param *kparam, in kernel_add_sysfs_param()
[all …]
/linux/drivers/power/supply/
A Dtest_power.c353 static int param_get_ac_online(char *buffer, const struct kernel_param *kp) in param_get_ac_online()
373 const struct kernel_param *kp) in param_set_battery_status()
387 const struct kernel_param *kp) in param_set_battery_health()
401 const struct kernel_param *kp) in param_set_battery_present()
409 const struct kernel_param *kp) in param_get_battery_present()
416 const struct kernel_param *kp) in param_set_battery_technology()
425 const struct kernel_param *kp) in param_get_battery_technology()
433 const struct kernel_param *kp) in param_set_battery_capacity()
448 const struct kernel_param *kp) in param_set_battery_voltage()
463 const struct kernel_param *kp) in param_set_battery_charge_counter()
[all …]
/linux/drivers/scsi/ufs/
A 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/security/apparmor/
A Dlsm.c1294 const struct kernel_param *kp);
1296 const struct kernel_param *kp);
1313 static int param_get_audit(char *buffer, const struct kernel_param *kp);
1316 static int param_get_mode(char *buffer, const struct kernel_param *kp);
1428 static int param_get_aabool(char *buffer, const struct kernel_param *kp) in param_get_aabool()
1466 struct kernel_param kp_local; in param_set_aaintbool()
1492 struct kernel_param kp_local; in param_get_aaintbool()
1504 const struct kernel_param *kp) in param_set_aacompressionlevel()
1525 const struct kernel_param *kp) in param_get_aacompressionlevel()
1534 static int param_get_audit(char *buffer, const struct kernel_param *kp) in param_get_audit()
[all …]
/linux/drivers/scsi/fcoe/
A 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/drivers/gpu/drm/
A 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/drivers/infiniband/sw/rxe/
A 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()
/linux/drivers/dma/
A 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/drivers/gpu/drm/i915/
A 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()
/linux/mm/
A 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()
A Dzswap.c85 const struct kernel_param *);
95 const struct kernel_param *);
106 static int zswap_zpool_param_set(const char *, const struct kernel_param *);
753 static int __zswap_param_set(const char *val, const struct kernel_param *kp, in __zswap_param_set()
849 const struct kernel_param *kp) in zswap_compressor_param_set()
855 const struct kernel_param *kp) in zswap_zpool_param_set()
861 const struct kernel_param *kp) in zswap_enabled_param_set()
/linux/drivers/crypto/hisilicon/
A Dqm.h318 static inline int q_num_set(const char *val, const struct kernel_param *kp, in q_num_set()
347 static inline int vfs_num_set(const char *val, const struct kernel_param *kp) in vfs_num_set()
365 static inline int mode_set(const char *val, const struct kernel_param *kp) in mode_set()
381 static inline int uacce_mode_set(const char *val, const struct kernel_param *kp) in uacce_mode_set()
/linux/drivers/acpi/
A 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/drivers/char/ipmi/
A 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()
A 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()
/linux/arch/x86/kernel/
A 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/arch/x86/platform/uv/
A 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/include/net/netfilter/
A Dnf_conntrack.h308 struct kernel_param;
310 int nf_conntrack_set_hashsize(const char *val, const struct kernel_param *kp);
/linux/drivers/input/misc/
A 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/drivers/edac/
A Dedac_module.c23 const struct kernel_param *kp) in edac_set_debug_level()
/linux/fs/nfs/
A Dnamespace.c321 static int param_set_nfs_timeout(const char *val, const struct kernel_param *kp) in param_set_nfs_timeout()
346 static int param_get_nfs_timeout(char *buffer, const struct kernel_param *kp) in param_get_nfs_timeout()
/linux/net/netfilter/
A Dnf_nat_irc.c114 static int warn_set(const char *val, const struct kernel_param *kp) in warn_set()
/linux/lib/
A Dcrc-t10dif.c110 static int crc_t10dif_transform_show(char *buffer, const struct kernel_param *kp) in crc_t10dif_transform_show()
/linux/drivers/media/pci/tw686x/
A 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()

Completed in 43 milliseconds

12345