/linux-4.1.27/drivers/base/ |
H A D | module.c | 62 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 D | devcoredump.c | 273 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 D | class.c | 549 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 D | core.c | 813 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 D | dd.c | 228 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 D | node.c | 329 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 D | bus.c | 519 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 D | symlink.c | 84 * 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 D | pal.c | 48 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 D | tape_class.c | 83 rc = sysfs_create_link( register_tape_dev()
|
/linux-4.1.27/drivers/staging/i2o/ |
H A D | device.c | 255 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 D | i2o_scsi.c | 305 rc = sysfs_create_link(&i2o_dev->device.kobj, i2o_scsi_probe()
|
/linux-4.1.27/arch/sh/drivers/dma/ |
H A D | dma-sysfs.c | 149 return sysfs_create_link(&info->pdev->dev.kobj, &dev->kobj, name); dma_create_sysfs_files()
|
/linux-4.1.27/drivers/i2c/ |
H A D | i2c-mux.c | 190 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 D | glue.c | 227 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 D | processor_driver.c | 199 result = sysfs_create_link(&device->dev.kobj, __acpi_processor_start() 207 result = sysfs_create_link(&pr->cdev->device.kobj, __acpi_processor_start()
|
H A D | fan.c | 365 result = sysfs_create_link(&pdev->dev.kobj, acpi_fan_probe() 371 result = sysfs_create_link(&cdev->device.kobj, acpi_fan_probe()
|
H A D | thermal.c | 918 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 D | video.c | 1757 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 D | br_sysfs_if.c | 280 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 D | iov.c | 161 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 D | slot.c | 361 ret = sysfs_create_link(&pci_slot->kobj, kobj, "module"); pci_hp_create_module_link()
|
/linux-4.1.27/drivers/md/bcache/ |
H A D | super.c | 708 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 D | ccwgroup.c | 245 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 D | port.c | 218 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 D | hub.c | 2496 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 D | intel_menlow.c | 176 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 D | sysfs.h | 235 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 D | thermal.c | 202 ret = sysfs_create_link(&ar->dev->kobj, &cdev->device.kobj, ath10k_thermal_register()
|
/linux-4.1.27/drivers/misc/ |
H A D | enclosure.c | 223 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 D | edac_device_sysfs.c | 827 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 D | edac_pci_sysfs.c | 456 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 D | scsi_transport_sas.c | 874 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 D | sg.c | 1505 error = sysfs_create_link(&scsidp->sdev_gendev.kobj, sg_add_device()
|
H A D | scsi_transport_fc.c | 3417 error = sysfs_create_link(&shost->shost_gendev.kobj, fc_vport_setup()
|
H A D | st.c | 4092 return sysfs_create_link(&tape->device->sdev_gendev.kobj, remove_cdevs()
|
/linux-4.1.27/fs/btrfs/ |
H A D | sysfs.c | 652 error = sysfs_create_link(fs_info->device_dir_kobj, btrfs_kobj_add_device()
|
/linux-4.1.27/fs/gfs2/ |
H A D | sys.c | 647 error = sysfs_create_link(&sdp->sd_kobj, gfs2_sys_fs_add()
|
/linux-4.1.27/drivers/parisc/ |
H A D | pdc_stable.c | 336 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 D | cpufreq.c | 890 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 D | iscsi_ibft.c | 678 rc = sysfs_create_link(&boot_kobj->kobj, ibft_create_kobject()
|
H A D | edd.c | 688 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 D | gpiolib-sysfs.c | 658 status = sysfs_create_link(&dev->kobj, &tdev->kobj, gpiod_export_link()
|
/linux-4.1.27/drivers/hwmon/ |
H A D | acpi_power_meter.c | 611 res = sysfs_create_link(resource->holders_dir, &obj->dev.kobj, read_domain_devices()
|
/linux-4.1.27/drivers/power/ |
H A D | power_supply_core.c | 496 return sysfs_create_link(&psy->dev.kobj, &dev->kobj, "powers"); power_supply_powers()
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | sysfs.c | 956 return sysfs_create_link(&node->dev.kobj, &dev->kobj, sysfs_add_device_to_node()
|
/linux-4.1.27/block/ |
H A D | genhd.c | 525 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 D | bsg.c | 1022 ret = sysfs_create_link(&q->kobj, &bcd->class_dev->kobj, "bsg"); bsg_register_queue()
|
/linux-4.1.27/drivers/iommu/ |
H A D | iommu.c | 329 ret = sysfs_create_link(&dev->kobj, &group->kobj, "iommu_group"); iommu_group_add_device()
|
/linux-4.1.27/drivers/md/ |
H A D | md.h | 569 return sysfs_create_link(&mddev->kobj, &rdev->kobj, nm); sysfs_link_rdev()
|
H A D | md.c | 2085 if (sysfs_create_link(&rdev->kobj, ko, "block")) bind_rdev_to_array()
|
/linux-4.1.27/net/wireless/ |
H A D | core.c | 1003 if (sysfs_create_link(&dev->dev.kobj, &rdev->wiphy.dev.kobj, cfg80211_netdev_notifier_call()
|
/linux-4.1.27/drivers/thermal/ |
H A D | thermal_core.c | 1020 sysfs_create_link(&tz->device.kobj, &cdev->device.kobj, dev->name); thermal_zone_bind_cooling_device()
|
/linux-4.1.27/fs/ |
H A D | block_dev.c | 879 return sysfs_create_link(from, to, kobject_name(to)); add_symlink()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
H A D | intel_dp.c | 1061 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 D | intel_sdvo.c | 2400 ret = sysfs_create_link(&drm_connector->kdev->kobj, intel_sdvo_connector_init()
|
/linux-4.1.27/drivers/char/ipmi/ |
H A D | ipmi_msghandler.c | 2536 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 D | dev.c | 5000 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 D | core.c | 1200 err = sysfs_create_link(&rdev->dev.kobj, &dev->kobj, create_regulator()
|
/linux-4.1.27/kernel/ |
H A D | module.c | 1519 nowarn = sysfs_create_link(use->target->holders_dir, add_usage_links()
|
/linux-4.1.27/mm/ |
H A D | slub.c | 5253 return sysfs_create_link(&slab_kset->kobj, &s->kobj, name); sysfs_slab_alias()
|
/linux-4.1.27/drivers/net/ethernet/sun/ |
H A D | niu.c | 9543 err = sysfs_create_link(&p->plat_dev->dev.kobj, niu_get_parent()
|