Lines Matching refs:params
118 const struct kernel_param *params, in parse_one() argument
131 if (parameq(param, params[i].name)) { in parse_one()
132 if (params[i].level < min_level in parse_one()
133 || params[i].level > max_level) in parse_one()
137 !(params[i].ops->flags & KERNEL_PARAM_OPS_FL_NOARG)) in parse_one()
140 params[i].ops->set); in parse_one()
141 kernel_param_lock(params[i].mod); in parse_one()
142 if (param_check_unsafe(¶ms[i])) in parse_one()
143 err = params[i].ops->set(val, ¶ms[i]); in parse_one()
146 kernel_param_unlock(params[i].mod); in parse_one()
163 const struct kernel_param *params, in parse_args() argument
188 ret = parse_one(param, val, doing, params, num, in parse_args()
711 bool params = false; in module_param_sysfs_setup() local
721 params = true; in module_param_sysfs_setup()
724 if (!params) in module_param_sysfs_setup()
752 void destroy_params(const struct kernel_param *params, unsigned num) in destroy_params() argument
757 if (params[i].ops->free) in destroy_params()
758 params[i].ops->free(params[i].arg); in destroy_params()