Home
last modified time | relevance | path

Searched refs:sysfs_remove_file (Results 1 – 25 of 41) sorted by relevance

12

/Linux-v5.15/drivers/pci/hotplug/
Dpci_hotplug_core.c338 sysfs_remove_file(&pci_slot->kobj, in fs_add_slot()
342 sysfs_remove_file(&pci_slot->kobj, &hotplug_slot_attr_latch.attr); in fs_add_slot()
345 sysfs_remove_file(&pci_slot->kobj, in fs_add_slot()
349 sysfs_remove_file(&pci_slot->kobj, &hotplug_slot_attr_power.attr); in fs_add_slot()
359 sysfs_remove_file(&pci_slot->kobj, &hotplug_slot_attr_power.attr); in fs_remove_slot()
362 sysfs_remove_file(&pci_slot->kobj, in fs_remove_slot()
366 sysfs_remove_file(&pci_slot->kobj, &hotplug_slot_attr_latch.attr); in fs_remove_slot()
369 sysfs_remove_file(&pci_slot->kobj, in fs_remove_slot()
373 sysfs_remove_file(&pci_slot->kobj, &hotplug_slot_attr_test.attr); in fs_remove_slot()
/Linux-v5.15/drivers/hwmon/
Dmcp3021.c166 sysfs_remove_file(&client->dev.kobj, &dev_attr_in0_input.attr); in mcp3021_probe()
175 sysfs_remove_file(&client->dev.kobj, &dev_attr_in0_input.attr); in mcp3021_remove()
/Linux-v5.15/drivers/misc/
Dad525x_dpot.c666 sysfs_remove_file(&dev->kobj, in ad_dpot_remove_files()
669 sysfs_remove_file(&dev->kobj, in ad_dpot_remove_files()
672 sysfs_remove_file(&dev->kobj, in ad_dpot_remove_files()
675 sysfs_remove_file(&dev->kobj, in ad_dpot_remove_files()
677 sysfs_remove_file(&dev->kobj, in ad_dpot_remove_files()
Dpch_phub.c815 sysfs_remove_file(&pdev->dev.kobj, &dev_attr_pch_mac.attr); in pch_phub_probe()
833 sysfs_remove_file(&pdev->dev.kobj, &dev_attr_pch_mac.attr); in pch_phub_remove()
/Linux-v5.15/arch/powerpc/platforms/pseries/
Dpseries_energy.c351 sysfs_remove_file(&cpu_dev->kobj, in pseries_energy_cleanup()
353 sysfs_remove_file(&cpu_dev->kobj, in pseries_energy_cleanup()
/Linux-v5.15/drivers/acpi/
Dfan.c364 sysfs_remove_file(&device->dev.kobj, &fan->fps[j].dev_attr.attr); in acpi_fan_get_fps()
444 sysfs_remove_file(&device->dev.kobj, &fan->fps[i].dev_attr.attr); in acpi_fan_probe()
459 sysfs_remove_file(&device->dev.kobj, &fan->fps[i].dev_attr.attr); in acpi_fan_remove()
/Linux-v5.15/drivers/vfio/mdev/
Dmdev_sysfs.c147 sysfs_remove_file(&type->kobj, &mdev_type_attr_create.attr); in add_mdev_supported_type()
162 sysfs_remove_file(&type->kobj, &mdev_type_attr_create.attr); in remove_mdev_supported_type()
/Linux-v5.15/drivers/gpu/drm/amd/amdkfd/
Dkfd_process.c1007 sysfs_remove_file(p->kobj, &p->attr_pasid); in kfd_process_remove_sysfs()
1015 sysfs_remove_file(p->kobj, &pdd->attr_vram); in kfd_process_remove_sysfs()
1016 sysfs_remove_file(p->kobj, &pdd->attr_sdma); in kfd_process_remove_sysfs()
1018 sysfs_remove_file(pdd->kobj_stats, &pdd->attr_evict); in kfd_process_remove_sysfs()
1020 sysfs_remove_file(pdd->kobj_stats, in kfd_process_remove_sysfs()
1030 sysfs_remove_file(pdd->kobj_counters, &pdd->attr_faults); in kfd_process_remove_sysfs()
1031 sysfs_remove_file(pdd->kobj_counters, &pdd->attr_page_in); in kfd_process_remove_sysfs()
1032 sysfs_remove_file(pdd->kobj_counters, &pdd->attr_page_out); in kfd_process_remove_sysfs()
Dkfd_topology.c553 sysfs_remove_file(kobj, attr); in kfd_remove_sysfs_file()
611 sysfs_remove_file(dev->kobj_node, &dev->attr_gpuid); in kfd_remove_sysfs_node_entry()
612 sysfs_remove_file(dev->kobj_node, &dev->attr_name); in kfd_remove_sysfs_node_entry()
613 sysfs_remove_file(dev->kobj_node, &dev->attr_props); in kfd_remove_sysfs_node_entry()
853 sysfs_remove_file(sys_props.kobj_topology, in kfd_topology_release_sysfs()
855 sysfs_remove_file(sys_props.kobj_topology, in kfd_topology_release_sysfs()
/Linux-v5.15/drivers/infiniband/hw/mlx4/
Dsysfs.c161 sysfs_remove_file((_dentry)->kobj, &(_dentry)->dentry.attr); \
220 sysfs_remove_file(port->mcgs_parent, attr); in del_sysfs_port_mcg_attr()
607 sysfs_remove_file(&p->kobj, &p->smi_enabled.attr); in add_vf_smi_entries()
621 sysfs_remove_file(&p->kobj, &p->smi_enabled.attr); in remove_vf_smi_entries()
622 sysfs_remove_file(&p->kobj, &p->enable_smi_admin.attr); in remove_vf_smi_entries()
/Linux-v5.15/drivers/xen/
Dsys-hypervisor.c556 sysfs_remove_file(hypervisor_kobj, &uuid_attr.attr); in hyper_sysfs_init()
562 sysfs_remove_file(hypervisor_kobj, &guest_type_attr.attr); in hyper_sysfs_init()
564 sysfs_remove_file(hypervisor_kobj, &type_attr.attr); in hyper_sysfs_init()
/Linux-v5.15/drivers/thermal/intel/int340x_thermal/
Dprocessor_thermal_device.c321 sysfs_remove_file(&dev->kobj, &dev_attr_tcc_offset_degree_celsius.attr); in proc_thermal_add()
342 sysfs_remove_file(&proc_priv->dev->kobj, &dev_attr_tcc_offset_degree_celsius.attr); in proc_thermal_remove()
/Linux-v5.15/drivers/platform/x86/dell/dell-wmi-sysman/
Dsysman.c377 sysfs_remove_file(&wmi_priv.main_dir_kset->kobj, &reset_bios.attr); in release_attributes_data()
378 sysfs_remove_file(&wmi_priv.main_dir_kset->kobj, &pending_reboot.attr); in release_attributes_data()
/Linux-v5.15/arch/x86/platform/olpc/
Dolpc-xo15-sci.c191 sysfs_remove_file(&device->dev.kobj, &lid_wake_on_close_attr.attr); in xo15_sci_remove()
/Linux-v5.15/drivers/net/bonding/
Dbond_sysfs_slave.c159 sysfs_remove_file(&slave->kobj, &((*a)->attr)); in bond_sysfs_slave_del()
/Linux-v5.15/drivers/base/
Ddriver.c123 sysfs_remove_file(&drv->p->kobj, &attr->attr); in driver_remove_file()
/Linux-v5.15/drivers/soc/xilinx/
Dzynqmp_power.c241 sysfs_remove_file(&pdev->dev.kobj, &dev_attr_suspend_mode.attr); in zynqmp_pm_remove()
/Linux-v5.15/net/netfilter/
Dxt_IDLETIMER.c418 sysfs_remove_file(idletimer_tg_kobj, &info->timer->attr.attr); in idletimer_tg_destroy()
447 sysfs_remove_file(idletimer_tg_kobj, &info->timer->attr.attr); in idletimer_tg_destroy_v1()
/Linux-v5.15/drivers/edac/
Dedac_device_sysfs.c592 sysfs_remove_file(&block->kobj, in edac_device_delete_block()
781 sysfs_remove_file(&edac_dev->kobj, in edac_device_remove_main_sysfs_attributes()
/Linux-v5.15/fs/sysfs/
Dfile.c358 sysfs_remove_file(kobj, ptr[i]); in sysfs_create_files()
514 sysfs_remove_file(kobj, ptr[i]); in sysfs_remove_files()
/Linux-v5.15/net/9p/
Dtrans_virtio.c632 sysfs_remove_file(&vdev->dev.kobj, &dev_attr_mount_tag.attr); in p9_virtio_probe()
727 sysfs_remove_file(&(vdev->dev.kobj), &dev_attr_mount_tag.attr); in p9_virtio_remove()
/Linux-v5.15/drivers/firmware/
Dqemu_fw_cfg.c725 sysfs_remove_file(fw_cfg_top_ko, &fw_cfg_rev_attr.attr); in fw_cfg_sysfs_probe()
740 sysfs_remove_file(fw_cfg_top_ko, &fw_cfg_rev_attr.attr); in fw_cfg_sysfs_remove()
/Linux-v5.15/drivers/cpufreq/
Dintel_pstate.c1513 sysfs_remove_file(intel_pstate_kobject, &num_pstates.attr); in intel_pstate_sysfs_remove()
1514 sysfs_remove_file(intel_pstate_kobject, &turbo_pct.attr); in intel_pstate_sysfs_remove()
1518 sysfs_remove_file(intel_pstate_kobject, &max_perf_pct.attr); in intel_pstate_sysfs_remove()
1519 sysfs_remove_file(intel_pstate_kobject, &min_perf_pct.attr); in intel_pstate_sysfs_remove()
1522 sysfs_remove_file(intel_pstate_kobject, &energy_efficiency.attr); in intel_pstate_sysfs_remove()
1544 sysfs_remove_file(intel_pstate_kobject, &hwp_dynamic_boost.attr); in intel_pstate_sysfs_hide_hwp_dynamic_boost()
/Linux-v5.15/Documentation/translations/zh_CN/filesystems/
Dsysfs.txt95 void sysfs_remove_file(struct kobject * kobj, const struct attribute * attr);
/Linux-v5.15/Documentation/translations/zh_TW/filesystems/
Dsysfs.txt98 void sysfs_remove_file(struct kobject * kobj, const struct attribute * attr);

12