Home
last modified time | relevance | path

Searched refs:sysfs_create_file (Results 1 – 16 of 16) sorted by relevance

/linux-4.19.296/drivers/pci/hotplug/
Dpci_hotplug_core.c301 retval = sysfs_create_file(&pci_slot->kobj, in fs_add_slot()
308 retval = sysfs_create_file(&pci_slot->kobj, in fs_add_slot()
315 retval = sysfs_create_file(&pci_slot->kobj, in fs_add_slot()
322 retval = sysfs_create_file(&pci_slot->kobj, in fs_add_slot()
329 retval = sysfs_create_file(&pci_slot->kobj, in fs_add_slot()
Dsgi_hotplug.c637 rc = sysfs_create_file(&pci_slot->kobj, in sn_hotplug_slot_register()
/linux-4.19.296/drivers/misc/
Dad525x_dpot.c641 int err = sysfs_create_file(&dev->kobj, in ad_dpot_add_files()
644 err |= sysfs_create_file(&dev->kobj, in ad_dpot_add_files()
647 err |= sysfs_create_file(&dev->kobj, in ad_dpot_add_files()
650 err |= sysfs_create_file(&dev->kobj, in ad_dpot_add_files()
652 err |= sysfs_create_file(&dev->kobj, in ad_dpot_add_files()
Dpch_phub.c722 ret = sysfs_create_file(&pdev->dev.kobj, in pch_phub_probe()
785 ret = sysfs_create_file(&pdev->dev.kobj, in pch_phub_probe()
802 ret = sysfs_create_file(&pdev->dev.kobj, in pch_phub_probe()
/linux-4.19.296/drivers/xen/
Dsys-hypervisor.c50 return sysfs_create_file(hypervisor_kobj, &type_attr.attr); in xen_sysfs_type_init()
79 return sysfs_create_file(hypervisor_kobj, &guest_type_attr.attr); in xen_sysfs_guest_type_init()
176 return sysfs_create_file(hypervisor_kobj, &uuid_attr.attr); in xen_sysfs_uuid_init()
/linux-4.19.296/drivers/base/
Ddriver.c106 error = sysfs_create_file(&drv->p->kobj, &attr->attr); in driver_create_file()
Dbus.c134 error = sysfs_create_file(&bus->p->subsys.kobj, &attr->attr); in bus_create_file()
Dcore.c1572 error = sysfs_create_file(&dev->kobj, &attr->attr); in device_create_file()
/linux-4.19.296/drivers/edac/
Dedac_device_sysfs.c557 err = sysfs_create_file(&block->kobj, in edac_device_create_block()
752 err = sysfs_create_file(&edac_dev->kobj, in edac_device_add_main_sysfs_attributes()
/linux-4.19.296/drivers/cpufreq/
Dcpufreq.c998 ret = sysfs_create_file(&policy->kobj, &((*drv_attr)->attr)); in cpufreq_add_dev_interface()
1004 ret = sysfs_create_file(&policy->kobj, &cpuinfo_cur_freq.attr); in cpufreq_add_dev_interface()
1009 ret = sysfs_create_file(&policy->kobj, &scaling_cur_freq.attr); in cpufreq_add_dev_interface()
1014 ret = sysfs_create_file(&policy->kobj, &bios_limit.attr); in cpufreq_add_dev_interface()
2411 ret = sysfs_create_file(cpufreq_global_kobject, &boost.attr); in create_boost_sysfs_file()
Dintel_pstate.c1116 rc = sysfs_create_file(intel_pstate_kobject, &max_perf_pct.attr); in intel_pstate_sysfs_expose_params()
1119 rc = sysfs_create_file(intel_pstate_kobject, &min_perf_pct.attr); in intel_pstate_sysfs_expose_params()
1123 rc = sysfs_create_file(intel_pstate_kobject, in intel_pstate_sysfs_expose_params()
/linux-4.19.296/include/linux/
Dsysfs.h526 static inline int __must_check sysfs_create_file(struct kobject *kobj, in sysfs_create_file() function
/linux-4.19.296/fs/sysfs/
Dfile.c344 err = sysfs_create_file(kobj, ptr[i]); in sysfs_create_files()
/linux-4.19.296/fs/xfs/
Dxfs_sysfs.c588 error = sysfs_create_file(&mp->m_error_kobj.kobject, in xfs_error_sysfs_init()
/linux-4.19.296/lib/
Dkobject.c75 error = sysfs_create_file(kobj, attr); in populate_dir()
/linux-4.19.296/block/
Delevator.c851 if (sysfs_create_file(&e->kobj, &attr->attr)) in elv_register_queue()