Home
last modified time | relevance | path

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

/mm/
Dzswap.c666 static int __zswap_param_set(const char *val, const struct kernel_param *kp, in __zswap_param_set() argument
679 if (!strcmp(s, *(char **)kp->arg) && zswap_has_pool) in __zswap_param_set()
686 return param_set_charp(s, kp); in __zswap_param_set()
720 ret = param_set_charp(s, kp); in __zswap_param_set()
749 ret = param_set_charp(s, kp); in __zswap_param_set()
762 const struct kernel_param *kp) in zswap_compressor_param_set() argument
764 return __zswap_param_set(val, kp, zswap_zpool_type, NULL); in zswap_compressor_param_set()
768 const struct kernel_param *kp) in zswap_zpool_param_set() argument
770 return __zswap_param_set(val, kp, NULL, zswap_compressor); in zswap_zpool_param_set()
774 const struct kernel_param *kp) in zswap_enabled_param_set() argument
[all …]
Dshuffle.c36 static int shuffle_show(char *buffer, const struct kernel_param *kp) in shuffle_show() argument
43 const struct kernel_param *kp) in shuffle_store() argument
45 int rc = param_set_bool(val, kp); in shuffle_store()