• Home
  • Raw
  • Download

Lines Matching refs:err

127 	int err;  in parse_one()  local
143 err = params[i].ops->set(val, &params[i]); in parse_one()
145 err = -EPERM; in parse_one()
147 return err; in parse_one()
171 char *param, *val, *err = NULL; in parse_args() local
186 return err ?: args; in parse_args()
210 err = ERR_PTR(ret); in parse_args()
213 return err; in parse_args()
333 int err = 0; in param_set_bool_enable_only() local
340 err = param_set_bool(val, &dummy_kp); in param_set_bool_enable_only()
341 if (err) in param_set_bool_enable_only()
342 return err; in param_set_bool_enable_only()
349 err = param_set_bool(val, kp); in param_set_bool_enable_only()
351 return err; in param_set_bool_enable_only()
577 int err; in param_attr_store() local
585 err = attribute->param->ops->set(buf, attribute->param); in param_attr_store()
587 err = -EPERM; in param_attr_store()
589 if (!err) in param_attr_store()
591 return err; in param_attr_store()
710 int i, err; in module_param_sysfs_setup() local
716 err = add_sysfs_param(&mod->mkobj, &kparam[i], kparam[i].name); in module_param_sysfs_setup()
717 if (err) { in module_param_sysfs_setup()
719 return err; in module_param_sysfs_setup()
728 err = sysfs_create_group(&mod->mkobj.kobj, &mod->mkobj.mp->grp); in module_param_sysfs_setup()
729 if (err) in module_param_sysfs_setup()
731 return err; in module_param_sysfs_setup()
765 int err; in locate_module_kobject() local
776 err = kobject_init_and_add(&mk->kobj, &module_ktype, NULL, in locate_module_kobject()
779 if (!err) in locate_module_kobject()
780 err = sysfs_create_file(&mk->kobj, &module_uevent.attr); in locate_module_kobject()
782 if (err) { in locate_module_kobject()
785 name, err); in locate_module_kobject()
801 int err; in kernel_add_sysfs_param() local
812 err = add_sysfs_param(mk, kparam, kparam->name + name_skip); in kernel_add_sysfs_param()
813 BUG_ON(err); in kernel_add_sysfs_param()
814 err = sysfs_create_group(&mk->kobj, &mk->mp->grp); in kernel_add_sysfs_param()
815 BUG_ON(err); in kernel_add_sysfs_param()
871 int err; in version_sysfs_builtin() local
876 err = sysfs_create_file(&mk->kobj, &vattr->mattr.attr); in version_sysfs_builtin()
877 WARN_ON_ONCE(err); in version_sysfs_builtin()