Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/hv/
Dhv_debugfs.c113 struct dentry *delay, *dev_root; in hv_debug_add_dev_dir() local
117 dev_root = debugfs_create_dir(device, hv_debug_root); in hv_debug_add_dev_dir()
118 if (IS_ERR(dev_root)) { in hv_debug_add_dev_dir()
121 return PTR_ERR(dev_root); in hv_debug_add_dev_dir()
123 hv_debug_set_test_state(dev, dev_root); in hv_debug_add_dev_dir()
124 hv_debug_set_dir_dentry(dev, dev_root); in hv_debug_add_dev_dir()
125 delay = debugfs_create_dir(delay_name, dev_root); in hv_debug_add_dev_dir()
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
Dpseries_energy.c309 err = device_create_file(cpu_subsys.dev_root, in pseries_energy_init()
312 err = device_create_file(cpu_subsys.dev_root, in pseries_energy_init()
346 device_remove_file(cpu_subsys.dev_root, &attr_cpu_activate_hint_list); in pseries_energy_cleanup()
347 device_remove_file(cpu_subsys.dev_root, &attr_cpu_deactivate_hint_list); in pseries_energy_cleanup()
Dsuspend.c207 if ((rc = device_create_file(suspend_subsys.dev_root, &dev_attr_hibernate))) in pseries_suspend_sysfs_register()
/kernel/linux/linux-5.10/arch/powerpc/sysdev/
Dfsl_mpic_timer_wakeup.c127 ret = device_create_file(mpic_subsys.dev_root, &mpic_attributes); in fsl_wakeup_sys_init()
136 device_remove_file(mpic_subsys.dev_root, &mpic_attributes); in fsl_wakeup_sys_exit()
/kernel/linux/linux-5.10/fs/btrfs/
Ddev-replace.c72 struct btrfs_root *dev_root = fs_info->dev_root; in btrfs_init_dev_replace() local
91 ret = btrfs_search_slot(NULL, dev_root, &key, path, 0, 0); in btrfs_init_dev_replace()
338 struct btrfs_root *dev_root = fs_info->dev_root; in btrfs_run_dev_replace() local
362 ret = btrfs_search_slot(trans, dev_root, &key, path, -1, 1); in btrfs_run_dev_replace()
383 ret = btrfs_del_item(trans, dev_root, path); in btrfs_run_dev_replace()
396 ret = btrfs_insert_empty_item(trans, dev_root, path, in btrfs_run_dev_replace()
454 struct btrfs_root *root = fs_info->dev_root; in btrfs_dev_replace_start()
Dblock-rsv.c431 fs_info->dev_root->block_rsv = &fs_info->global_block_rsv; in btrfs_init_global_block_rsv()
Dvolumes.c1537 struct btrfs_root *root = fs_info->dev_root; in find_free_dev_extent_start()
1686 struct btrfs_root *root = fs_info->dev_root; in btrfs_free_dev_extent()
1747 struct btrfs_root *root = fs_info->dev_root; in btrfs_alloc_dev_extent()
2546 struct btrfs_root *root = fs_info->dev_root; in btrfs_init_new_device()
4628 struct btrfs_root *root = fs_info->dev_root; in btrfs_shrink_device()
7303 ret = btrfs_search_slot(NULL, device->fs_info->dev_root, &key, path, 0, 0); in btrfs_device_init_dev_stats()
7367 struct btrfs_root *dev_root = fs_info->dev_root; in update_dev_stat_item() local
7382 ret = btrfs_search_slot(trans, dev_root, &key, path, -1, 1); in update_dev_stat_item()
7393 ret = btrfs_del_item(trans, dev_root, path); in update_dev_stat_item()
7406 ret = btrfs_insert_empty_item(trans, dev_root, path, in update_dev_stat_item()
[all …]
/kernel/linux/linux-5.10/drivers/acpi/
Dacpi_lpit.c116 sysfs_add_file_to_group(&cpu_subsys.dev_root->kobj, in lpit_update_residency()
124 sysfs_add_file_to_group(&cpu_subsys.dev_root->kobj, in lpit_update_residency()
/kernel/linux/linux-5.10/drivers/sh/intc/
Duserimask.c67 return device_create_file(intc_subsys.dev_root, &dev_attr_userimask); in userimask_sysdev_init()
/kernel/linux/linux-5.10/drivers/platform/x86/
Dibm_rtl.c203 device_create_file(rtl_subsys.dev_root, rtl_attributes[i]); in rtl_setup_sysfs()
211 device_remove_file(rtl_subsys.dev_root, rtl_attributes[i]); in rtl_teardown_sysfs()
Dintel-uncore-frequency.c400 &cpu_subsys.dev_root->kobj); in intel_uncore_init()
/kernel/linux/linux-5.10/arch/mips/txx9/generic/
D7segled.c99 error = device_create_file(tx_7segled_subsys.dev_root, &dev_attr_map_seg7); in tx_7segled_init_sysfs()
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/
Dumwait.c235 dev = cpu_subsys.dev_root; in umwait_init()
/kernel/linux/linux-5.10/include/linux/device/
Dbus.h85 struct device *dev_root; member
/kernel/linux/linux-5.10/arch/sh/drivers/dma/
Ddma-sysfs.c54 return device_create_file(dma_subsys.dev_root, &dev_attr_devices); in dma_subsys_init()
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Dsubcore.c428 return device_create_file(cpu_subsys.dev_root, in subcore_init()
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/microcode/
Dcore.c868 error = sysfs_create_group(&cpu_subsys.dev_root->kobj, in microcode_init()
891 sysfs_remove_group(&cpu_subsys.dev_root->kobj, in microcode_init()
/kernel/linux/linux-5.10/arch/s390/kernel/
Dtime.c955 rc = device_create_file(stp_subsys.dev_root, *attr); in stp_init_sysfs()
962 device_remove_file(stp_subsys.dev_root, *attr); in stp_init_sysfs()
/kernel/linux/linux-5.10/drivers/base/
Dbus.c892 if (bus->dev_root) in bus_unregister()
893 device_unregister(bus->dev_root); in bus_unregister()
1128 subsys->dev_root = dev; in subsys_register()
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-mbigen.c248 parent = platform_bus_type.dev_root; in mbigen_of_create_domain()
/kernel/linux/linux-5.10/drivers/md/
Ddm-thin-metadata.c1063 dm_block_t dev_root; in __create_thin() local
1076 r = dm_btree_empty(&pmd->bl_info, &dev_root); in __create_thin()
1083 value = cpu_to_le64(dev_root); in __create_thin()
1087 dm_btree_del(&pmd->bl_info, dev_root); in __create_thin()
1094 dm_btree_del(&pmd->bl_info, dev_root); in __create_thin()
/kernel/linux/linux-5.10/drivers/char/
Dhpet.c759 static struct ctl_table dev_root[] = { variable
1064 sysctl_header = register_sysctl_table(dev_root); in hpet_init()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dsysfs.c226 device_create_file(cpu_subsys.dev_root, &dev_attr_dscr_default); in sysfs_create_dscr_default()
749 device_create_file(cpu_subsys.dev_root, &dev_attr_svm); in create_svm_file()
/kernel/linux/linux-5.10/drivers/edac/
Dedac_pci_sysfs.c372 &edac_subsys->dev_root->kobj, "pci"); in edac_pci_main_kobj_setup()
/kernel/linux/linux-5.10/drivers/cpuidle/
Dcpuidle.c753 return cpuidle_add_interface(cpu_subsys.dev_root); in cpuidle_init()

12