Home
last modified time | relevance | path

Searched refs:sysfs_remove_link (Results 1 – 25 of 77) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/vfio/mdev/
Dmdev_sysfs.c270 sysfs_remove_link(&dev->kobj, "mdev_type"); in mdev_create_sysfs_files()
272 sysfs_remove_link(type->devices_kobj, dev_name(dev)); in mdev_create_sysfs_files()
279 sysfs_remove_link(&dev->kobj, "mdev_type"); in mdev_remove_sysfs_files()
280 sysfs_remove_link(type->devices_kobj, dev_name(dev)); in mdev_remove_sysfs_files()
/kernel/linux/linux-5.10/drivers/base/
Dmodule.c80 sysfs_remove_link(&drv->p->kobj, "module"); in module_remove_driver()
89 sysfs_remove_link(mk->drivers_dir, driver_name); in module_remove_driver()
Dclass.c554 sysfs_remove_link(cls->kobj, dev_name(dev)); in class_compat_create_link()
573 sysfs_remove_link(&dev->kobj, "device"); in class_compat_remove_link()
574 sysfs_remove_link(cls->kobj, dev_name(dev)); in class_compat_remove_link()
Dcore.c420 sysfs_remove_link(&sup->kobj, buf); in devlink_add_symlinks()
422 sysfs_remove_link(&link->link_dev.kobj, "consumer"); in devlink_add_symlinks()
424 sysfs_remove_link(&link->link_dev.kobj, "supplier"); in devlink_add_symlinks()
439 sysfs_remove_link(&link->link_dev.kobj, "consumer"); in devlink_remove_symlinks()
440 sysfs_remove_link(&link->link_dev.kobj, "supplier"); in devlink_remove_symlinks()
454 sysfs_remove_link(&con->kobj, buf); in devlink_remove_symlinks()
457 sysfs_remove_link(&sup->kobj, buf); in devlink_remove_symlinks()
2713 sysfs_remove_link(&dev->kobj, "device"); in device_add_class_symlinks()
2716 sysfs_remove_link(&dev->kobj, "subsystem"); in device_add_class_symlinks()
2718 sysfs_remove_link(&dev->kobj, "of_node"); in device_add_class_symlinks()
[all …]
Ddd.c423 sysfs_remove_link(&dev->kobj, "driver"); in driver_sysfs_add()
426 sysfs_remove_link(&dev->driver->p->kobj, in driver_sysfs_add()
440 sysfs_remove_link(&drv->p->kobj, kobject_name(&dev->kobj)); in driver_sysfs_remove()
441 sysfs_remove_link(&dev->kobj, "driver"); in driver_sysfs_remove()
Dnode.c754 sysfs_remove_link(&node_devices[nid]->dev.kobj, in unregister_cpu_under_node()
756 sysfs_remove_link(&obj->kobj, in unregister_cpu_under_node()
865 sysfs_remove_link(&node_devices[mem_blk->nid]->dev.kobj, in unregister_memory_block_under_nodes()
867 sysfs_remove_link(&mem_blk->dev.kobj, in unregister_memory_block_under_nodes()
Dswnode.c879 sysfs_remove_link(&dev->kobj, "software_node"); in software_node_notify()
885 sysfs_remove_link(&swnode->kobj, dev_name(dev)); in software_node_notify()
886 sysfs_remove_link(&dev->kobj, "software_node"); in software_node_notify()
/kernel/linux/linux-5.10/drivers/s390/cio/
Dccwgroup.c43 sysfs_remove_link(&gdev->dev.kobj, str); in __ccwgroup_remove_symlinks()
44 sysfs_remove_link(&gdev->cdev[i]->dev.kobj, "group_device"); in __ccwgroup_remove_symlinks()
250 sysfs_remove_link(&gdev->cdev[i]->dev.kobj, in __ccwgroup_create_symlinks()
262 sysfs_remove_link(&gdev->dev.kobj, str); in __ccwgroup_create_symlinks()
265 sysfs_remove_link(&gdev->cdev[i]->dev.kobj, in __ccwgroup_create_symlinks()
/kernel/linux/linux-5.10/fs/sysfs/
Dsymlink.c143 void sysfs_remove_link(struct kobject *kobj, const char *name) in sysfs_remove_link() function
154 EXPORT_SYMBOL_GPL(sysfs_remove_link);
/kernel/linux/linux-5.10/drivers/acpi/
Dprocessor_driver.c185 sysfs_remove_link(&device->dev.kobj, "thermal_cooling"); in acpi_pss_perf_init()
196 sysfs_remove_link(&device->dev.kobj, "thermal_cooling"); in acpi_pss_perf_exit()
197 sysfs_remove_link(&pr->cdev->device.kobj, "device"); in acpi_pss_perf_exit()
Dglue.c283 sysfs_remove_link(&acpi_dev->dev.kobj, physnode_name); in acpi_unbind_one()
284 sysfs_remove_link(&dev->kobj, "firmware_node"); in acpi_unbind_one()
Dfan.c461 sysfs_remove_link(&pdev->dev.kobj, "thermal_cooling"); in acpi_fan_remove()
462 sysfs_remove_link(&fan->cdev->device.kobj, "device"); in acpi_fan_remove()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
Dthermal.c206 sysfs_remove_link(&ar->dev->kobj, "cooling_device"); in ath10k_thermal_register()
217 sysfs_remove_link(&ar->dev->kobj, "cooling_device"); in ath10k_thermal_unregister()
/kernel/linux/linux-5.10/drivers/usb/typec/
Dbus.c348 sysfs_remove_link(&dev->kobj, "port"); in typec_altmode_create_links()
355 sysfs_remove_link(&alt->partner->adev.dev.kobj, "partner"); in typec_altmode_remove_links()
356 sysfs_remove_link(&alt->adev.dev.kobj, "port"); in typec_altmode_remove_links()
/kernel/linux/linux-5.10/drivers/platform/x86/
Dintel_menlow.c169 sysfs_remove_link(&device->dev.kobj, "thermal_cooling"); in intel_menlow_memory_add()
193 sysfs_remove_link(&device->dev.kobj, "thermal_cooling"); in intel_menlow_memory_remove()
194 sysfs_remove_link(&cdev->device.kobj, "device"); in intel_menlow_memory_remove()
/kernel/linux/linux-5.10/drivers/pci/
Diov.c155 sysfs_remove_link(&dev->dev.kobj, buf); in pci_iov_sysfs_link()
239 sysfs_remove_link(&dev->dev.kobj, buf); in pci_iov_remove_virtfn()
246 sysfs_remove_link(&virtfn->dev.kobj, "physfn"); in pci_iov_remove_virtfn()
564 sysfs_remove_link(&dev->dev.kobj, "dep_link"); in sriov_enable()
596 sysfs_remove_link(&dev->dev.kobj, "dep_link"); in sriov_disable()
/kernel/linux/linux-5.10/drivers/usb/core/
Dport.c353 sysfs_remove_link(&left->dev.kobj, "peer"); in link_peers()
428 sysfs_remove_link(&left->dev.kobj, "peer"); in unlink_peers()
430 sysfs_remove_link(&right->dev.kobj, "peer"); in unlink_peers()
/kernel/linux/linux-5.10/drivers/iommu/
Diommu-sysfs.c132 sysfs_remove_link(&link->kobj, "iommu"); in iommu_device_unlink()
/kernel/linux/linux-5.10/drivers/s390/char/
Dtape_class.c109 sysfs_remove_link(&device->kobj, tcd->mode_name); in unregister_tape_dev()
/kernel/linux/linux-5.10/drivers/misc/
Denclosure.c201 sysfs_remove_link(&cdev->dev->kobj, name); in enclosure_remove_links()
204 sysfs_remove_link(&cdev->cdev.kobj, "device"); in enclosure_remove_links()
219 sysfs_remove_link(&cdev->cdev.kobj, "device"); in enclosure_add_links()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_xgmi.c297 sysfs_remove_link(&adev->dev->kobj, adev_to_drm(adev)->unique); in amdgpu_xgmi_sysfs_add_dev_info()
316 sysfs_remove_link(&adev->dev->kobj,"xgmi_hive_info"); in amdgpu_xgmi_sysfs_rem_dev_info()
319 sysfs_remove_link(&hive->kobj, node); in amdgpu_xgmi_sysfs_rem_dev_info()
/kernel/linux/linux-5.10/drivers/char/tpm/
Dtpm-chip.c464 sysfs_remove_link(&chip->dev.parent->kobj, "ppi"); in tpm_del_legacy_sysfs()
467 sysfs_remove_link(&chip->dev.parent->kobj, (*i)->name); in tpm_del_legacy_sysfs()
/kernel/linux/linux-5.10/drivers/block/rnbd/
Drnbd-srv-sysfs.c74 sysfs_remove_link(&dev->dev_kobj, "block_dev"); in rnbd_srv_destroy_dev_sysfs()
/kernel/linux/linux-5.10/arch/sh/drivers/dma/
Ddma-sysfs.c161 sysfs_remove_link(&info->pdev->dev.kobj, name); in dma_remove_sysfs_files()
/kernel/linux/linux-5.10/drivers/i2c/
Di2c-mux.c453 sysfs_remove_link(&muxc->dev->kobj, symlink_name); in i2c_mux_del_adapters()
455 sysfs_remove_link(&priv->adap.dev.kobj, "mux_device"); in i2c_mux_del_adapters()

1234