Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/base/
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()
Dbase.h49 struct module_kobject *mkobj; member
Dcore.c1380 struct module_kobject *mk = &owner->mkobj; in __root_device_register()
/linux-2.6.39/kernel/
Dparams.c679 err = add_sysfs_param(&mod->mkobj, &kparam[i], kparam[i].name); in module_param_sysfs_setup()
689 err = sysfs_create_group(&mod->mkobj.kobj, &mod->mkobj.mp->grp); in module_param_sysfs_setup()
691 free_module_param_attrs(&mod->mkobj); in module_param_sysfs_setup()
704 if (mod->mkobj.mp) { in module_param_sysfs_remove()
705 sysfs_remove_group(&mod->mkobj.kobj, &mod->mkobj.mp->grp); in module_param_sysfs_remove()
708 free_module_param_attrs(&mod->mkobj); in module_param_sysfs_remove()
Dmodule.c1228 if (sysfs_create_group(&mod->mkobj.kobj, &sect_attrs->grp)) in add_sect_attrs()
1240 sysfs_remove_group(&mod->mkobj.kobj, in remove_sect_attrs()
1325 notes_attrs->dir = kobject_create_and_add("notes", &mod->mkobj.kobj); in add_notes_attrs()
1377 &mod->mkobj.kobj, mod->name); in add_usage_links()
1414 error = sysfs_create_file(&mod->mkobj.kobj,&temp_attr->attr); in module_add_modinfo_attrs()
1430 sysfs_remove_file(&mod->mkobj.kobj,&attr->attr); in module_remove_modinfo_attrs()
1457 mod->mkobj.mod = mod; in mod_sysfs_init()
1459 memset(&mod->mkobj.kobj, 0, sizeof(mod->mkobj.kobj)); in mod_sysfs_init()
1460 mod->mkobj.kobj.kset = module_kset; in mod_sysfs_init()
1461 err = kobject_init_and_add(&mod->mkobj.kobj, &module_ktype, NULL, in mod_sysfs_init()
[all …]
/linux-2.6.39/include/linux/
Dmodule.h282 struct module_kobject mkobj; member