Home
last modified time | relevance | path

Searched refs:mkobj (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/base/
A Dmodule.c43 mk = &mod->mkobj; in module_add_driver()
45 struct kobject *mkobj; in module_add_driver() local
48 mkobj = kset_find_obj(module_kset, drv->mod_name); in module_add_driver()
49 if (mkobj) { in module_add_driver()
50 mk = container_of(mkobj, struct module_kobject, kobj); in module_add_driver()
52 drv->p->mkobj = mk; in module_add_driver()
54 kobject_put(mkobj); in module_add_driver()
83 mk = &drv->owner->mkobj; in module_remove_driver()
84 else if (drv->p->mkobj) in module_remove_driver()
85 mk = drv->p->mkobj; in module_remove_driver()
A Dbase.h62 struct module_kobject *mkobj; member
A Dcore.c3982 struct module_kobject *mk = &owner->mkobj; in __root_device_register()
/linux/kernel/
A Dparams.c716 err = add_sysfs_param(&mod->mkobj, &kparam[i], kparam[i].name); in module_param_sysfs_setup()
718 free_module_param_attrs(&mod->mkobj); in module_param_sysfs_setup()
728 err = sysfs_create_group(&mod->mkobj.kobj, &mod->mkobj.mp->grp); in module_param_sysfs_setup()
730 free_module_param_attrs(&mod->mkobj); in module_param_sysfs_setup()
743 if (mod->mkobj.mp) { in module_param_sysfs_remove()
744 sysfs_remove_group(&mod->mkobj.kobj, &mod->mkobj.mp->grp); in module_param_sysfs_remove()
747 free_module_param_attrs(&mod->mkobj); in module_param_sysfs_remove()
A Dmodule.c1588 sysfs_remove_group(&mod->mkobj.kobj, in remove_sect_attrs()
1738 &mod->mkobj.kobj, mod->name); in add_usage_links()
1769 error = sysfs_create_file(&mod->mkobj.kobj, in module_add_modinfo_attrs()
1798 sysfs_remove_file(&mod->mkobj.kobj, &attr->attr); in module_remove_modinfo_attrs()
1808 mod->mkobj.kobj_completion = &c; in mod_kobject_put()
1809 kobject_put(&mod->mkobj.kobj); in mod_kobject_put()
1832 mod->mkobj.mod = mod; in mod_sysfs_init()
1834 memset(&mod->mkobj.kobj, 0, sizeof(mod->mkobj.kobj)); in mod_sysfs_init()
1835 mod->mkobj.kobj.kset = module_kset; in mod_sysfs_init()
1934 kobject_put(mod->mkobj.drivers_dir); in mod_sysfs_teardown()
[all …]
/linux/include/linux/
A Dmodule.h379 struct module_kobject mkobj; member

Completed in 28 milliseconds