Searched refs:sysfs_remove_link (Results 1 - 63 of 63) sorted by relevance

/linux-4.4.14/drivers/base/
H A Dmodule.c80 sysfs_remove_link(&drv->p->kobj, "module"); module_remove_driver()
89 sysfs_remove_link(mk->drivers_dir, driver_name); module_remove_driver()
H A Dclass.c562 sysfs_remove_link(cls->kobj, dev_name(dev)); class_compat_create_link()
581 sysfs_remove_link(&dev->kobj, "device"); class_compat_remove_link()
582 sysfs_remove_link(cls->kobj, dev_name(dev)); class_compat_remove_link()
H A Dnode.c351 sysfs_remove_link(&node_devices[nid]->dev.kobj, unregister_cpu_under_node()
353 sysfs_remove_link(&obj->kobj, unregister_cpu_under_node()
451 sysfs_remove_link(&node_devices[nid]->dev.kobj, unregister_mem_sect_under_nodes()
453 sysfs_remove_link(&mem_blk->dev.kobj, unregister_mem_sect_under_nodes()
H A Dcore.c899 sysfs_remove_link(&dev->kobj, "device"); device_add_class_symlinks()
902 sysfs_remove_link(&dev->kobj, "subsystem"); device_add_class_symlinks()
904 sysfs_remove_link(&dev->kobj, "of_node"); device_add_class_symlinks()
911 sysfs_remove_link(&dev->kobj, "of_node"); device_remove_class_symlinks()
917 sysfs_remove_link(&dev->kobj, "device"); device_remove_class_symlinks()
918 sysfs_remove_link(&dev->kobj, "subsystem"); device_remove_class_symlinks()
987 sysfs_remove_link(kobj, devt_str); device_remove_sys_dev_entry()
1666 sysfs_remove_link(&root->dev.kobj, "module"); root_device_unregister()
1947 sysfs_remove_link(&dev->kobj, "device"); device_move_class_links()
H A Ddd.c234 sysfs_remove_link(&dev->driver->p->kobj, driver_sysfs_add()
245 sysfs_remove_link(&drv->p->kobj, kobject_name(&dev->kobj)); driver_sysfs_remove()
246 sysfs_remove_link(&dev->kobj, "driver"); driver_sysfs_remove()
H A Dbus.c533 sysfs_remove_link(&bus->p->devices_kset->kobj, dev_name(dev)); bus_add_device()
591 sysfs_remove_link(&dev->kobj, "subsystem"); bus_remove_device()
592 sysfs_remove_link(&dev->bus->p->devices_kset->kobj, bus_remove_device()
/linux-4.4.14/drivers/uwb/
H A Dpal.c56 sysfs_remove_link(&pal->device->kobj, "uwb_rc"); uwb_pal_register()
122 sysfs_remove_link(&rc->uwb_dev.dev.kobj, pal->name); uwb_pal_unregister()
125 sysfs_remove_link(&pal->device->kobj, "uwb_rc"); uwb_pal_unregister()
/linux-4.4.14/fs/sysfs/
H A Dsymlink.c117 * Unlike sysfs_remove_link sysfs_delete_link has enough information
138 * sysfs_remove_link - remove symlink in object's directory.
142 void sysfs_remove_link(struct kobject *kobj, const char *name) sysfs_remove_link() function
153 EXPORT_SYMBOL_GPL(sysfs_remove_link); variable
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
H A Dthermal.c210 sysfs_remove_link(&ar->dev->kobj, "cooling_device"); ath10k_thermal_register()
218 sysfs_remove_link(&ar->dev->kobj, "cooling_device"); ath10k_thermal_unregister()
/linux-4.4.14/drivers/s390/char/
H A Dtape_class.c109 sysfs_remove_link(&device->kobj, tcd->mode_name); unregister_tape_dev()
/linux-4.4.14/drivers/acpi/
H A Dprocessor_driver.c206 sysfs_remove_link(&device->dev.kobj, "thermal_cooling"); acpi_pss_perf_init()
217 sysfs_remove_link(&device->dev.kobj, "thermal_cooling"); acpi_pss_perf_exit()
218 sysfs_remove_link(&pr->cdev->device.kobj, "device"); acpi_pss_perf_exit()
H A Dglue.c279 sysfs_remove_link(&acpi_dev->dev.kobj, physnode_name); acpi_unbind_one()
280 sysfs_remove_link(&dev->kobj, "firmware_node"); acpi_unbind_one()
H A Dfan.c382 sysfs_remove_link(&pdev->dev.kobj, "thermal_cooling"); acpi_fan_remove()
383 sysfs_remove_link(&fan->cdev->device.kobj, "device"); acpi_fan_remove()
H A Dthermal.c941 sysfs_remove_link(&tz->device->dev.kobj, "thermal_zone"); acpi_thermal_unregister_thermal_zone()
942 sysfs_remove_link(&tz->thermal_zone->device.kobj, "device"); acpi_thermal_unregister_thermal_zone()
H A Dacpi_video.c1768 sysfs_remove_link(&device->dev->dev.kobj, "thermal_cooling"); acpi_video_dev_unregister_backlight()
1769 sysfs_remove_link(&device->cooling_dev->device.kobj, "device"); acpi_video_dev_unregister_backlight()
/linux-4.4.14/drivers/s390/cio/
H A Dccwgroup.c42 sysfs_remove_link(&gdev->dev.kobj, str); __ccwgroup_remove_symlinks()
43 sysfs_remove_link(&gdev->cdev[i]->dev.kobj, "group_device"); __ccwgroup_remove_symlinks()
249 sysfs_remove_link(&gdev->cdev[i]->dev.kobj, __ccwgroup_create_symlinks()
261 sysfs_remove_link(&gdev->dev.kobj, str); __ccwgroup_create_symlinks()
264 sysfs_remove_link(&gdev->cdev[i]->dev.kobj, __ccwgroup_create_symlinks()
/linux-4.4.14/drivers/iommu/
H A Diommu-sysfs.c132 sysfs_remove_link(&link->kobj, "iommu"); iommu_device_unlink()
H A Diommu.c402 sysfs_remove_link(&dev->kobj, "iommu_group"); iommu_group_add_device()
421 sysfs_remove_link(&dev->kobj, "iommu_group"); iommu_group_add_device()
481 sysfs_remove_link(group->devices_kobj, device->name); iommu_group_remove_device()
482 sysfs_remove_link(&dev->kobj, "iommu_group"); iommu_group_remove_device()
/linux-4.4.14/arch/sh/drivers/dma/
H A Ddma-sysfs.c164 sysfs_remove_link(&info->pdev->dev.kobj, name); dma_remove_sysfs_files()
/linux-4.4.14/drivers/i2c/
H A Di2c-mux.c217 sysfs_remove_link(&priv->mux_dev->kobj, symlink_name); i2c_del_mux_adapter()
219 sysfs_remove_link(&priv->adap.dev.kobj, "mux_device"); i2c_del_mux_adapter()
/linux-4.4.14/drivers/pci/
H A Diov.c178 sysfs_remove_link(&dev->dev.kobj, buf); virtfn_add()
209 sysfs_remove_link(&dev->dev.kobj, buf); virtfn_remove()
216 sysfs_remove_link(&virtfn->dev.kobj, "physfn"); virtfn_remove()
347 sysfs_remove_link(&dev->dev.kobj, "dep_link"); sriov_enable()
373 sysfs_remove_link(&dev->dev.kobj, "dep_link"); sriov_disable()
H A Dslot.c393 sysfs_remove_link(&pci_slot->kobj, "module"); pci_hp_remove_module_link()
/linux-4.4.14/drivers/usb/core/
H A Dport.c223 sysfs_remove_link(&left->dev.kobj, "peer"); link_peers()
298 sysfs_remove_link(&left->dev.kobj, "peer"); unlink_peers()
300 sysfs_remove_link(&right->dev.kobj, "peer"); unlink_peers()
H A Dhub.c2174 sysfs_remove_link(&udev->dev.kobj, "port"); usb_disconnect()
2175 sysfs_remove_link(&port_dev->dev.kobj, "device"); usb_disconnect()
2519 sysfs_remove_link(&udev->dev.kobj, "port"); usb_new_device()
/linux-4.4.14/drivers/platform/x86/
H A Dintel_menlow.c184 sysfs_remove_link(&device->dev.kobj, "thermal_cooling"); intel_menlow_memory_add()
204 sysfs_remove_link(&device->dev.kobj, "thermal_cooling"); intel_menlow_memory_remove()
205 sysfs_remove_link(&cdev->device.kobj, "device"); intel_menlow_memory_remove()
/linux-4.4.14/drivers/misc/
H A Denclosure.c212 sysfs_remove_link(&cdev->dev->kobj, name); enclosure_remove_links()
215 sysfs_remove_link(&cdev->cdev.kobj, "device"); enclosure_remove_links()
230 sysfs_remove_link(&cdev->cdev.kobj, "device"); enclosure_add_links()
/linux-4.4.14/net/bridge/
H A Dbr_if.c240 sysfs_remove_link(br->ifobj, p->dev->name); del_nbp()
542 sysfs_remove_link(br->ifobj, p->dev->name); br_add_if()
/linux-4.4.14/include/linux/
H A Dsysfs.h250 void sysfs_remove_link(struct kobject *kobj, const char *name);
389 static inline void sysfs_remove_link(struct kobject *kobj, const char *name) sysfs_remove_link() function
/linux-4.4.14/drivers/isdn/mISDN/
H A Dcore.c273 /* sysfs_remove_link(&dev->dev.kobj, "device"); */ mISDN_unregister_device()
/linux-4.4.14/drivers/hsi/clients/
H A Dnokia-modem.c80 sysfs_remove_link(&dev->kobj, modem->gpios[i].name); nokia_modem_gpio_unexport()
/linux-4.4.14/drivers/char/tpm/
H A Dtpm-chip.c276 sysfs_remove_link(&chip->pdev->kobj, "ppi"); tpm_chip_unregister()
/linux-4.4.14/drivers/edac/
H A Dedac_device_sysfs.c853 sysfs_remove_link(&edac_dev->kobj, EDAC_DEVICE_SYMLINK); edac_device_create_sysfs()
875 sysfs_remove_link(&edac_dev->kobj, EDAC_DEVICE_SYMLINK); edac_device_remove_sysfs()
H A Dedac_pci_sysfs.c484 sysfs_remove_link(&pci->kobj, EDAC_PCI_SYMLINK); edac_pci_remove_sysfs()
/linux-4.4.14/fs/btrfs/
H A Dsysfs.c653 sysfs_remove_link(fs_devices->device_dir_kobj, btrfs_sysfs_rm_device_link()
667 sysfs_remove_link(fs_devices->device_dir_kobj, btrfs_sysfs_rm_device_link()
/linux-4.4.14/drivers/scsi/
H A Dscsi_transport_sas.c890 sysfs_remove_link(&port->dev.kobj, dev_name(&phy->dev)); sas_port_delete_link()
891 sysfs_remove_link(&phy->dev.kobj, "port"); sas_port_delete_link()
1040 sysfs_remove_link(&port->dev.kobj, dev_name(parent)); sas_port_delete()
H A Dsg.c1588 sysfs_remove_link(&scsidp->sdev_gendev.kobj, "generic"); sg_remove_device()
H A Dscsi_transport_fc.c3515 sysfs_remove_link(&shost->shost_gendev.kobj, dev_name(dev)); fc_vport_terminate()
H A Dst.c4154 sysfs_remove_link(&tape->device->sdev_gendev.kobj, "tape"); st_probe()
/linux-4.4.14/drivers/hwmon/
H A Dacpi_power_meter.c541 sysfs_remove_link(resource->holders_dir, remove_domain_devices()
/linux-4.4.14/drivers/power/
H A Dpower_supply_core.c940 sysfs_remove_link(&psy->dev.kobj, "powers"); power_supply_unregister()
/linux-4.4.14/fs/gfs2/
H A Dsys.c703 sysfs_remove_link(&sdp->sd_kobj, "device"); gfs2_sys_fs_del()
/linux-4.4.14/arch/powerpc/kernel/
H A Dsysfs.c1002 sysfs_remove_link(&node->dev.kobj, kobject_name(&dev->kobj)); sysfs_remove_device_from_node()
/linux-4.4.14/drivers/firmware/
H A Discsi_ibft.c738 sysfs_remove_link(&boot_kobj->kobj, "device"); ibft_unregister()
/linux-4.4.14/drivers/md/bcache/
H A Dsuper.c665 sysfs_remove_link(&d->c->kobj, d->name); bcache_device_unlink()
666 sysfs_remove_link(&d->kobj, "cache"); bcache_device_unlink()
/linux-4.4.14/block/
H A Dgenhd.c658 sysfs_remove_link(&disk_to_dev(disk)->kobj, "bdi"); del_gendisk()
669 sysfs_remove_link(block_depr, dev_name(disk_to_dev(disk))); del_gendisk()
H A Dbsg.c966 sysfs_remove_link(&q->kobj, "bsg"); bsg_unregister_queue()
/linux-4.4.14/drivers/thermal/
H A Dthermal_core.c1360 sysfs_remove_link(&tz->device.kobj, dev->name); thermal_zone_bind_cooling_device()
1408 sysfs_remove_link(&tz->device.kobj, pos->name); thermal_zone_unbind_cooling_device()
/linux-4.4.14/drivers/md/
H A Dmd.h585 sysfs_remove_link(&mddev->kobj, nm); sysfs_unlink_rdev()
H A Dmd.c2142 sysfs_remove_link(&rdev->kobj, "block"); unbind_rdev_from_array()
/linux-4.4.14/drivers/parisc/
H A Dpdc_stable.c335 sysfs_remove_link(&entry->kobj, "device"); pdcspath_hwpath_write()
/linux-4.4.14/net/wireless/
H A Dcore.c1112 sysfs_remove_link(&dev->dev.kobj, "phy80211"); cfg80211_netdev_notifier_call()
/linux-4.4.14/drivers/staging/lustre/lustre/lov/
H A Dlov_obd.c275 sysfs_remove_link(lov->lov_tgts_kobj, lov_disconnect_obd()
/linux-4.4.14/drivers/cpufreq/
H A Dcpufreq.c902 sysfs_remove_link(&cpu_dev->kobj, "cpufreq"); remove_cpu_dev_symlink()
/linux-4.4.14/fs/
H A Dblock_dev.c914 sysfs_remove_link(from, kobject_name(to)); del_symlink()
/linux-4.4.14/drivers/char/ipmi/
H A Dipmi_msghandler.c2430 sysfs_remove_link(&intf->si_dev->kobj, "bmc"); ipmi_bmc_unregister()
2432 sysfs_remove_link(&bmc->pdev.dev.kobj, intf->my_dev_name); ipmi_bmc_unregister()
/linux-4.4.14/mm/
H A Dslub.c5385 sysfs_remove_link(&slab_kset->kobj, s->name); sysfs_slab_add()
5465 sysfs_remove_link(&slab_kset->kobj, name); sysfs_slab_alias()
/linux-4.4.14/drivers/staging/lustre/lustre/lmv/
H A Dlmv_obd.c599 sysfs_remove_link(lmv->lmv_tgts_kobj, lmv_disconnect_mdc()
/linux-4.4.14/drivers/gpu/drm/i915/
H A Dintel_sdvo.c2350 sysfs_remove_link(&drm_connector->kdev->kobj, intel_sdvo_connector_unregister()
H A Dintel_dp.c1106 sysfs_remove_link(&intel_connector->base.kdev->kobj, intel_dp_connector_unregister()
/linux-4.4.14/net/core/
H A Ddev.c5177 sysfs_remove_link(&(dev->dev.kobj), linkname); netdev_adjacent_sysfs_del()
5269 sysfs_remove_link(&(dev->dev.kobj), "master"); __netdev_adjacent_dev_remove()
/linux-4.4.14/drivers/regulator/
H A Dcore.c1720 sysfs_remove_link(&rdev->dev.kobj, regulator->supply_name); _regulator_put()
/linux-4.4.14/kernel/
H A Dmodule.c1696 sysfs_remove_link(use->target->holders_dir, mod->name); del_usage_links()
/linux-4.4.14/drivers/net/ethernet/sun/
H A Dniu.c9569 sysfs_remove_link(&p->plat_dev->dev.kobj, port_name); niu_put_parent()

Completed in 3638 milliseconds