Searched refs:sysfs_create_link (Results 1 - 62 of 62) sorted by relevance

/linux-4.1.27/drivers/base/
H A Dmodule.c62 no_warn = sysfs_create_link(&drv->p->kobj, &mk->kobj, "module"); module_add_driver()
66 no_warn = sysfs_create_link(mk->drivers_dir, &drv->p->kobj, module_add_driver()
H A Ddevcoredump.c273 if (sysfs_create_link(&devcd->devcd_dev.kobj, &dev->kobj, dev_coredumpm()
277 if (sysfs_create_link(&dev->kobj, &devcd->devcd_dev.kobj, dev_coredumpm()
H A Dclass.c549 error = sysfs_create_link(cls->kobj, &dev->kobj, dev_name(dev)); class_compat_create_link()
559 error = sysfs_create_link(&dev->kobj, &device_link->kobj, class_compat_create_link()
H A Dcore.c813 error = sysfs_create_link(&dev->kobj, &of_node->kobj,"of_node"); device_add_class_symlinks()
822 error = sysfs_create_link(&dev->kobj, device_add_class_symlinks()
829 error = sysfs_create_link(&dev->kobj, &dev->parent->kobj, device_add_class_symlinks()
842 error = sysfs_create_link(&dev->class->p->subsys.kobj, device_add_class_symlinks()
925 error = sysfs_create_link(kobj, &dev->kobj, devt_str); device_create_sys_dev_entry()
1550 err = sysfs_create_link(&root->dev.kobj, &mk->kobj, "module"); __root_device_register()
1858 error = sysfs_create_link(&dev->kobj, &new_parent->kobj, device_move_class_links()
H A Ddd.c228 ret = sysfs_create_link(&dev->driver->p->kobj, &dev->kobj, driver_sysfs_add()
231 ret = sysfs_create_link(&dev->kobj, &dev->driver->p->kobj, driver_sysfs_add()
H A Dnode.c329 ret = sysfs_create_link(&node_devices[nid]->dev.kobj, register_cpu_under_node()
335 return sysfs_create_link(&obj->kobj, register_cpu_under_node()
H A Dbus.c519 error = sysfs_create_link(&bus->p->devices_kset->kobj, bus_add_device()
523 error = sysfs_create_link(&dev->kobj, bus_add_device()
/linux-4.1.27/fs/sysfs/
H A Dsymlink.c84 * sysfs_create_link - create symlink between two objects.
89 int sysfs_create_link(struct kobject *kobj, struct kobject *target, sysfs_create_link() function
94 EXPORT_SYMBOL_GPL(sysfs_create_link); variable
102 * This function does the same as sysfs_create_link(), but it
/linux-4.1.27/drivers/uwb/
H A Dpal.c48 ret = sysfs_create_link(&pal->device->kobj, uwb_pal_register()
53 ret = sysfs_create_link(&rc->uwb_dev.dev.kobj, uwb_pal_register()
/linux-4.1.27/drivers/s390/char/
H A Dtape_class.c83 rc = sysfs_create_link( register_tape_dev()
/linux-4.1.27/drivers/staging/i2o/
H A Ddevice.c255 rc = sysfs_create_link(&i2o_dev->device.kobj, i2o_device_add()
265 rc = sysfs_create_link(&tmp->device.kobj, i2o_device_add()
274 rc = sysfs_create_link(&i2o_dev->device.kobj, i2o_device_add()
284 rc = sysfs_create_link(&tmp->device.kobj, i2o_device_add()
H A Di2o_scsi.c305 rc = sysfs_create_link(&i2o_dev->device.kobj, i2o_scsi_probe()
/linux-4.1.27/arch/sh/drivers/dma/
H A Ddma-sysfs.c149 return sysfs_create_link(&info->pdev->dev.kobj, &dev->kobj, name); dma_create_sysfs_files()
/linux-4.1.27/drivers/i2c/
H A Di2c-mux.c190 WARN(sysfs_create_link(&priv->adap.dev.kobj, &mux_dev->kobj, "mux_device"), i2c_add_mux_adapter()
194 WARN(sysfs_create_link(&mux_dev->kobj, &priv->adap.dev.kobj, symlink_name), i2c_add_mux_adapter()
/linux-4.1.27/drivers/acpi/
H A Dglue.c227 retval = sysfs_create_link(&acpi_dev->dev.kobj, &dev->kobj, acpi_bind_one()
233 retval = sysfs_create_link(&dev->kobj, &acpi_dev->dev.kobj, acpi_bind_one()
H A Dprocessor_driver.c199 result = sysfs_create_link(&device->dev.kobj, __acpi_processor_start()
207 result = sysfs_create_link(&pr->cdev->device.kobj, __acpi_processor_start()
H A Dfan.c365 result = sysfs_create_link(&pdev->dev.kobj, acpi_fan_probe()
371 result = sysfs_create_link(&cdev->device.kobj, acpi_fan_probe()
H A Dthermal.c918 result = sysfs_create_link(&tz->device->dev.kobj, acpi_thermal_register_thermal_zone()
923 result = sysfs_create_link(&tz->thermal_zone->device.kobj, acpi_thermal_register_thermal_zone()
H A Dvideo.c1757 result = sysfs_create_link(&device->dev->dev.kobj, acpi_video_dev_register_backlight()
1762 result = sysfs_create_link(&device->cooling_dev->device.kobj, acpi_video_dev_register_backlight()
/linux-4.1.27/net/bridge/
H A Dbr_sysfs_if.c280 err = sysfs_create_link(&p->kobj, &br->dev->dev.kobj, br_sysfs_addif()
292 return sysfs_create_link(br->ifobj, &p->kobj, p->sysfs_name); br_sysfs_addif()
/linux-4.1.27/drivers/pci/
H A Diov.c161 rc = sysfs_create_link(&dev->dev.kobj, &virtfn->dev.kobj, buf); virtfn_add()
164 rc = sysfs_create_link(&virtfn->dev.kobj, &dev->dev.kobj, "physfn"); virtfn_add()
298 rc = sysfs_create_link(&dev->dev.kobj, sriov_enable()
H A Dslot.c361 ret = sysfs_create_link(&pci_slot->kobj, kobj, "module"); pci_hp_create_module_link()
/linux-4.1.27/drivers/md/bcache/
H A Dsuper.c708 WARN(sysfs_create_link(&d->kobj, &c->kobj, "cache") || bcache_device_link()
709 sysfs_create_link(&c->kobj, &d->kobj, d->name), bcache_device_link()
907 if (sysfs_create_link(&d->kobj, &disk_to_dev(d->disk)->kobj, "dev") || bch_cached_dev_run()
908 sysfs_create_link(&disk_to_dev(d->disk)->kobj, &d->kobj, "bcache")) bch_cached_dev_run()
1779 if (sysfs_create_link(&ca->kobj, &c->kobj, "set") || register_cache_set()
1780 sysfs_create_link(&c->kobj, &ca->kobj, buf)) register_cache_set()
/linux-4.1.27/drivers/s390/cio/
H A Dccwgroup.c245 rc = sysfs_create_link(&gdev->cdev[i]->dev.kobj, __ccwgroup_create_symlinks()
256 rc = sysfs_create_link(&gdev->dev.kobj, __ccwgroup_create_symlinks()
/linux-4.1.27/drivers/usb/core/
H A Dport.c218 rc = sysfs_create_link(&left->dev.kobj, &right->dev.kobj, "peer"); link_peers()
221 rc = sysfs_create_link(&right->dev.kobj, &left->dev.kobj, "peer"); link_peers()
H A Dhub.c2496 err = sysfs_create_link(&udev->dev.kobj, usb_new_device()
2501 err = sysfs_create_link(&port_dev->dev.kobj, usb_new_device()
/linux-4.1.27/drivers/platform/x86/
H A Dintel_menlow.c176 result = sysfs_create_link(&device->dev.kobj, intel_menlow_memory_add()
181 result = sysfs_create_link(&cdev->device.kobj, intel_menlow_memory_add()
/linux-4.1.27/include/linux/
H A Dsysfs.h235 int __must_check sysfs_create_link(struct kobject *kobj, struct kobject *target,
363 static inline int sysfs_create_link(struct kobject *kobj, sysfs_create_link() function
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
H A Dthermal.c202 ret = sysfs_create_link(&ar->dev->kobj, &cdev->device.kobj, ath10k_thermal_register()
/linux-4.1.27/drivers/misc/
H A Denclosure.c223 error = sysfs_create_link(&cdev->cdev.kobj, &cdev->dev->kobj, "device"); enclosure_add_links()
228 error = sysfs_create_link(&cdev->dev->kobj, &cdev->cdev.kobj, name); enclosure_add_links()
/linux-4.1.27/drivers/edac/
H A Dedac_device_sysfs.c827 err = sysfs_create_link(edac_kobj, edac_device_create_sysfs()
830 edac_dbg(0, "sysfs_create_link() returned err= %d\n", err); edac_device_create_sysfs()
H A Dedac_pci_sysfs.c456 err = sysfs_create_link(edac_kobj, &pci->dev->kobj, EDAC_PCI_SYMLINK); edac_pci_create_sysfs()
458 edac_dbg(0, "sysfs_create_link() returned err= %d\n", err); edac_pci_create_sysfs()
/linux-4.1.27/drivers/scsi/
H A Dscsi_transport_sas.c874 res = sysfs_create_link(&port->dev.kobj, &phy->dev.kobj, sas_port_create_link()
878 res = sysfs_create_link(&phy->dev.kobj, &port->dev.kobj, "port"); sas_port_create_link()
1151 res = sysfs_create_link(&port->dev.kobj, &parent->kobj, sas_port_mark_backlink()
H A Dsg.c1505 error = sysfs_create_link(&scsidp->sdev_gendev.kobj, sg_add_device()
H A Dscsi_transport_fc.c3417 error = sysfs_create_link(&shost->shost_gendev.kobj, fc_vport_setup()
H A Dst.c4092 return sysfs_create_link(&tape->device->sdev_gendev.kobj, remove_cdevs()
/linux-4.1.27/fs/btrfs/
H A Dsysfs.c652 error = sysfs_create_link(fs_info->device_dir_kobj, btrfs_kobj_add_device()
/linux-4.1.27/fs/gfs2/
H A Dsys.c647 error = sysfs_create_link(&sdp->sd_kobj, gfs2_sys_fs_add()
/linux-4.1.27/drivers/parisc/
H A Dpdc_stable.c336 ret = sysfs_create_link(&entry->kobj, &entry->dev->kobj, "device"); pdcspath_hwpath_write()
1004 err = sysfs_create_link(&entry->kobj, &entry->dev->kobj, "device"); pdcs_register_pathentries()
/linux-4.1.27/drivers/cpufreq/
H A Dcpufreq.c890 ret = sysfs_create_link(&cpu_dev->kobj, &policy->kobj, cpufreq_add_dev_symlink()
997 return sysfs_create_link(&dev->kobj, &policy->kobj, "cpufreq"); cpufreq_add_policy_cpu()
1376 if (sysfs_create_link(&cpu_dev->kobj, &policy->kobj, __cpufreq_remove_dev_prepare()
/linux-4.1.27/drivers/firmware/
H A Discsi_ibft.c678 rc = sysfs_create_link(&boot_kobj->kobj, ibft_create_kobject()
H A Dedd.c688 ret = sysfs_create_link(&edev->kobj,&pci_dev->dev.kobj,"pci_dev"); edd_create_symlink_to_pcidev()
/linux-4.1.27/drivers/gpio/
H A Dgpiolib-sysfs.c658 status = sysfs_create_link(&dev->kobj, &tdev->kobj, gpiod_export_link()
/linux-4.1.27/drivers/hwmon/
H A Dacpi_power_meter.c611 res = sysfs_create_link(resource->holders_dir, &obj->dev.kobj, read_domain_devices()
/linux-4.1.27/drivers/power/
H A Dpower_supply_core.c496 return sysfs_create_link(&psy->dev.kobj, &dev->kobj, "powers"); power_supply_powers()
/linux-4.1.27/arch/powerpc/kernel/
H A Dsysfs.c956 return sysfs_create_link(&node->dev.kobj, &dev->kobj, sysfs_add_device_to_node()
/linux-4.1.27/block/
H A Dgenhd.c525 err = sysfs_create_link(block_depr, &ddev->kobj, register_disk()
627 retval = sysfs_create_link(&disk_to_dev(disk)->kobj, &bdi->dev->kobj, add_disk()
H A Dbsg.c1022 ret = sysfs_create_link(&q->kobj, &bcd->class_dev->kobj, "bsg"); bsg_register_queue()
/linux-4.1.27/drivers/iommu/
H A Diommu.c329 ret = sysfs_create_link(&dev->kobj, &group->kobj, "iommu_group"); iommu_group_add_device()
/linux-4.1.27/drivers/md/
H A Dmd.h569 return sysfs_create_link(&mddev->kobj, &rdev->kobj, nm); sysfs_link_rdev()
H A Dmd.c2085 if (sysfs_create_link(&rdev->kobj, ko, "block")) bind_rdev_to_array()
/linux-4.1.27/net/wireless/
H A Dcore.c1003 if (sysfs_create_link(&dev->dev.kobj, &rdev->wiphy.dev.kobj, cfg80211_netdev_notifier_call()
/linux-4.1.27/drivers/thermal/
H A Dthermal_core.c1020 sysfs_create_link(&tz->device.kobj, &cdev->device.kobj, dev->name); thermal_zone_bind_cooling_device()
/linux-4.1.27/fs/
H A Dblock_dev.c879 return sysfs_create_link(from, to, kobject_name(to)); add_symlink()
/linux-4.1.27/drivers/gpu/drm/i915/
H A Dintel_dp.c1061 ret = sysfs_create_link(&connector->base.kdev->kobj, intel_dp_aux_init()
1065 DRM_ERROR("sysfs_create_link() for %s failed (%d)\n", name, ret); intel_dp_aux_init()
H A Dintel_sdvo.c2400 ret = sysfs_create_link(&drm_connector->kdev->kobj, intel_sdvo_connector_init()
/linux-4.1.27/drivers/char/ipmi/
H A Dipmi_msghandler.c2536 rv = sysfs_create_link(&intf->si_dev->kobj, &bmc->pdev.dev.kobj, "bmc"); ipmi_bmc_register()
2553 rv = sysfs_create_link(&bmc->pdev.dev.kobj, &intf->si_dev->kobj, ipmi_bmc_register()
/linux-4.1.27/net/core/
H A Ddev.c5000 return sysfs_create_link(&(dev->dev.kobj), &(adj_dev->dev.kobj), netdev_adjacent_sysfs_add()
5058 ret = sysfs_create_link(&(dev->dev.kobj), __netdev_adjacent_dev_insert()
/linux-4.1.27/drivers/regulator/
H A Dcore.c1200 err = sysfs_create_link(&rdev->dev.kobj, &dev->kobj, create_regulator()
/linux-4.1.27/kernel/
H A Dmodule.c1519 nowarn = sysfs_create_link(use->target->holders_dir, add_usage_links()
/linux-4.1.27/mm/
H A Dslub.c5253 return sysfs_create_link(&slab_kset->kobj, &s->kobj, name); sysfs_slab_alias()
/linux-4.1.27/drivers/net/ethernet/sun/
H A Dniu.c9543 err = sysfs_create_link(&p->plat_dev->dev.kobj, niu_get_parent()

Completed in 2179 milliseconds