Home
last modified time | relevance | path

Searched refs:holders_dir (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/kernel/module/
Dsysfs.c250 sysfs_remove_link(use->target->holders_dir, mod->name); in del_usage_links()
263 ret = sysfs_create_link(use->target->holders_dir, in add_usage_links()
381 mod->holders_dir = kobject_create_and_add("holders", &mod->mkobj.kobj); in mod_sysfs_setup()
382 if (!mod->holders_dir) { in mod_sysfs_setup()
409 kobject_put(mod->holders_dir); in mod_sysfs_setup()
429 kobject_put(mod->holders_dir); in mod_sysfs_teardown()
/linux-6.6.21/drivers/hwmon/
Dacpi_power_meter.c94 struct kobject *holders_dir; member
541 sysfs_remove_link(resource->holders_dir, in remove_domain_devices()
547 kobject_put(resource->holders_dir); in remove_domain_devices()
587 resource->holders_dir = kobject_create_and_add("measures", in read_domain_devices()
589 if (!resource->holders_dir) { in read_domain_devices()
610 res = sysfs_create_link(resource->holders_dir, &obj->dev.kobj, in read_domain_devices()
/linux-6.6.21/include/linux/
Dmodule.h421 struct kobject *holders_dir; member