• Home
  • Raw
  • Download

Lines Matching refs:name

108 			  kp->name);  in param_check_unsafe()
131 if (parameq(param, params[i].name)) { in parse_one()
217 #define STANDARD_PARAM_DEF(name, type, format, strtolfn) \ argument
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) \
227 const struct kernel_param_ops param_ops_##name = { \
228 .set = param_set_##name, \
229 .get = param_get_##name, \
231 EXPORT_SYMBOL(param_set_##name); \
232 EXPORT_SYMBOL(param_get_##name); \
233 EXPORT_SYMBOL(param_ops_##name)
267 pr_err("%s: string parameter too long\n", kp->name); in param_set_charp()
414 const char *name, in param_array() argument
427 kp.name = name; in param_array()
437 pr_err("%s: can only take %i arguments\n", name, max); in param_array()
456 pr_err("%s: needs at least %i arguments\n", name, min); in param_array()
467 return param_array(kp->mod, kp->name, val, 1, arr->max, arr->elem, in param_array_set()
516 kp->name, kps->maxlen-1); in param_set_copystring()
627 const char *name) in add_sysfs_param() argument
641 mk->mp->grp.name = "parameters"; in add_sysfs_param()
677 mk->mp->attrs[mk->mp->num].mattr.attr.name = (char *)name; in add_sysfs_param()
716 err = add_sysfs_param(&mod->mkobj, &kparam[i], kparam[i].name); in module_param_sysfs_setup()
761 static struct module_kobject * __init locate_module_kobject(const char *name) in locate_module_kobject() argument
767 kobj = kset_find_obj(module_kset, name); in locate_module_kobject()
777 "%s", name); in locate_module_kobject()
785 name, err); in locate_module_kobject()
796 static void __init kernel_add_sysfs_param(const char *name, in kernel_add_sysfs_param() argument
803 mk = locate_module_kobject(name); in kernel_add_sysfs_param()
812 err = add_sysfs_param(mk, kparam, kparam->name + name_skip); in kernel_add_sysfs_param()
842 dot = strchr(kp->name, '.'); in param_sysfs_builtin()
848 name_len = dot - kp->name + 1; in param_sysfs_builtin()
849 strlcpy(modname, kp->name, name_len); in param_sysfs_builtin()