Home
last modified time | relevance | path

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

12

/linux/drivers/hv/
A 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()
/linux/arch/powerpc/platforms/pseries/
A 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()
A Dsuspend.c154 if ((rc = device_create_file(suspend_subsys.dev_root, &dev_attr_hibernate))) in pseries_suspend_sysfs_register()
/linux/fs/btrfs/
A Ddev-replace.c75 struct btrfs_root *dev_root = fs_info->dev_root; in btrfs_init_dev_replace() local
85 if (!dev_root) in btrfs_init_dev_replace()
97 ret = btrfs_search_slot(NULL, dev_root, &key, path, 0, 0); in btrfs_init_dev_replace()
351 struct btrfs_root *dev_root = fs_info->dev_root; in btrfs_run_dev_replace() local
375 ret = btrfs_search_slot(trans, dev_root, &key, path, -1, 1); in btrfs_run_dev_replace()
396 ret = btrfs_del_item(trans, dev_root, path); in btrfs_run_dev_replace()
409 ret = btrfs_insert_empty_item(trans, dev_root, path, in btrfs_run_dev_replace()
469 struct btrfs_root *root = fs_info->dev_root; in mark_block_group_to_copy()
646 struct btrfs_root *root = fs_info->dev_root; in btrfs_dev_replace_start()
A Dblock-rsv.c434 !fs_info->dev_root || !fs_info->chunk_root || !fs_info->tree_root) in btrfs_init_global_block_rsv()
439 fs_info->dev_root->block_rsv = &fs_info->global_block_rsv; in btrfs_init_global_block_rsv()
A Dvolumes.c1575 struct btrfs_root *root = fs_info->dev_root; in find_free_dev_extent_start()
1722 struct btrfs_root *root = fs_info->dev_root; in btrfs_free_dev_extent()
2583 struct btrfs_root *root = fs_info->dev_root; in btrfs_init_new_device()
4786 struct btrfs_root *root = fs_info->dev_root; in btrfs_shrink_device()
7717 if (!device->fs_info->dev_root) in btrfs_device_init_dev_stats()
7723 ret = btrfs_search_slot(NULL, device->fs_info->dev_root, &key, path, 0, 0); in btrfs_device_init_dev_stats()
7787 struct btrfs_root *dev_root = fs_info->dev_root; in update_dev_stat_item() local
7802 ret = btrfs_search_slot(trans, dev_root, &key, path, -1, 1); in update_dev_stat_item()
7813 ret = btrfs_del_item(trans, dev_root, path); in update_dev_stat_item()
7826 ret = btrfs_insert_empty_item(trans, dev_root, path, in update_dev_stat_item()
[all …]
A Ddisk-io.c1564 return btrfs_grab_root(fs_info->dev_root); in btrfs_get_global_root()
1636 btrfs_put_root(fs_info->dev_root); in btrfs_free_fs_info()
2053 btrfs_set_backup_dev_root(root_backup, info->dev_root->node->start); in backup_super_roots()
2055 btrfs_header_generation(info->dev_root->node)); in backup_super_roots()
2057 btrfs_header_level(info->dev_root->node)); in backup_super_roots()
2167 free_root_extent_buffers(info->dev_root); in free_root_pointers()
2471 fs_info->dev_root = root; in btrfs_read_roots()
/linux/arch/powerpc/sysdev/
A 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()
/linux/drivers/acpi/
A 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()
/linux/drivers/platform/x86/
A 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()
/linux/drivers/sh/intc/
A Duserimask.c67 return device_create_file(intc_subsys.dev_root, &dev_attr_userimask); in userimask_sysdev_init()
/linux/arch/mips/txx9/generic/
A D7segled.c99 error = device_create_file(tx_7segled_subsys.dev_root, &dev_attr_map_seg7); in tx_7segled_init_sysfs()
/linux/arch/x86/kernel/cpu/
A Dumwait.c235 dev = cpu_subsys.dev_root; in umwait_init()
/linux/arch/sh/drivers/dma/
A Ddma-sysfs.c54 return device_create_file(dma_subsys.dev_root, &dev_attr_devices); in dma_subsys_init()
/linux/arch/x86/kernel/cpu/microcode/
A Dcore.c851 error = sysfs_create_group(&cpu_subsys.dev_root->kobj, in microcode_init()
874 sysfs_remove_group(&cpu_subsys.dev_root->kobj, in microcode_init()
/linux/include/linux/device/
A Dbus.h85 struct device *dev_root; member
/linux/arch/powerpc/platforms/powernv/
A Dsubcore.c438 return device_create_file(cpu_subsys.dev_root, in subcore_init()
/linux/drivers/base/
A Dbus.c869 if (bus->dev_root) in bus_unregister()
870 device_unregister(bus->dev_root); in bus_unregister()
1105 subsys->dev_root = dev; in subsys_register()
/linux/drivers/md/
A Ddm-thin-metadata.c1075 dm_block_t dev_root; in __create_thin() local
1088 r = dm_btree_empty(&pmd->bl_info, &dev_root); in __create_thin()
1095 value = cpu_to_le64(dev_root); in __create_thin()
1099 dm_btree_del(&pmd->bl_info, dev_root); in __create_thin()
1106 dm_btree_del(&pmd->bl_info, dev_root); in __create_thin()
/linux/drivers/irqchip/
A Dirq-mbigen.c248 parent = platform_bus_type.dev_root; in mbigen_of_create_domain()
/linux/drivers/platform/x86/intel/
A Duncore-frequency.c401 &cpu_subsys.dev_root->kobj); in intel_uncore_init()
/linux/drivers/char/
A Dhpet.c759 static struct ctl_table dev_root[] = { variable
1064 sysctl_header = register_sysctl_table(dev_root); in hpet_init()
/linux/arch/powerpc/kernel/
A 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()
/linux/drivers/cpuidle/
A Dcpuidle.c774 return cpuidle_add_interface(cpu_subsys.dev_root); in cpuidle_init()
/linux/drivers/edac/
A Dedac_pci_sysfs.c372 &edac_subsys->dev_root->kobj, "pci"); in edac_pci_main_kobj_setup()

Completed in 58 milliseconds

12