Home
last modified time | relevance | path

Searched refs:kp (Results 1 – 4 of 4) sorted by relevance

/mm/
Dzswap.c697 static int __zswap_param_set(const char *val, const struct kernel_param *kp, in __zswap_param_set() argument
710 if (!strcmp(s, *(char **)kp->arg) && zswap_has_pool) in __zswap_param_set()
717 return param_set_charp(s, kp); in __zswap_param_set()
751 ret = param_set_charp(s, kp); in __zswap_param_set()
780 ret = param_set_charp(s, kp); in __zswap_param_set()
793 const struct kernel_param *kp) in zswap_compressor_param_set() argument
795 return __zswap_param_set(val, kp, zswap_zpool_type, NULL); in zswap_compressor_param_set()
799 const struct kernel_param *kp) in zswap_zpool_param_set() argument
801 return __zswap_param_set(val, kp, NULL, zswap_compressor); in zswap_zpool_param_set()
805 const struct kernel_param *kp) in zswap_enabled_param_set() argument
[all …]
Dshuffle.c15 static int shuffle_show(char *buffer, const struct kernel_param *kp) in shuffle_show() argument
21 const struct kernel_param *kp) in shuffle_store() argument
23 int rc = param_set_bool(val, kp); in shuffle_store()
/mm/kfence/
Dcore.c53 static int param_set_sample_interval(const char *val, const struct kernel_param *kp) in param_set_sample_interval() argument
66 *((unsigned long *)kp->arg) = num; in param_set_sample_interval()
70 static int param_get_sample_interval(char *buffer, const struct kernel_param *kp) in param_get_sample_interval() argument
75 return param_get_ulong(buffer, kp); in param_get_sample_interval()
/mm/damon/
Dreclaim.c367 const struct kernel_param *kp) in enabled_store() argument
369 int rc = param_set_bool(val, kp); in enabled_store()