Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/fs/btrfs/
A Ddev-replace.c77 struct btrfs_root *dev_root = fs_info->dev_root; in btrfs_init_dev_replace() local
87 if (!dev_root) in btrfs_init_dev_replace()
99 ret = btrfs_search_slot(NULL, dev_root, &key, path, 0, 0); in btrfs_init_dev_replace()
349 struct btrfs_root *dev_root = fs_info->dev_root; in btrfs_run_dev_replace() local
373 ret = btrfs_search_slot(trans, dev_root, &key, path, -1, 1); in btrfs_run_dev_replace()
394 ret = btrfs_del_item(trans, dev_root, path); in btrfs_run_dev_replace()
407 ret = btrfs_insert_empty_item(trans, dev_root, path, in btrfs_run_dev_replace()
459 struct btrfs_root *root = fs_info->dev_root; in mark_block_group_to_copy()
605 struct btrfs_root *root = fs_info->dev_root; in btrfs_dev_replace_start()
A Dvolumes.c1573 struct btrfs_root *root = fs_info->dev_root; in find_free_dev_extent_start()
1724 struct btrfs_root *root = fs_info->dev_root; in btrfs_free_dev_extent()
2606 struct btrfs_root *root = fs_info->dev_root; in btrfs_init_new_device()
4816 struct btrfs_root *root = fs_info->dev_root; in btrfs_shrink_device()
7529 if (!device->fs_info->dev_root) in btrfs_device_init_dev_stats()
7535 ret = btrfs_search_slot(NULL, device->fs_info->dev_root, &key, path, 0, 0); in btrfs_device_init_dev_stats()
7599 struct btrfs_root *dev_root = fs_info->dev_root; in update_dev_stat_item() local
7614 ret = btrfs_search_slot(trans, dev_root, &key, path, -1, 1); in update_dev_stat_item()
7625 ret = btrfs_del_item(trans, dev_root, path); in update_dev_stat_item()
7638 ret = btrfs_insert_empty_item(trans, dev_root, path, in update_dev_stat_item()
[all …]
A Ddisk-io.c1424 return btrfs_grab_root(fs_info->dev_root); in btrfs_get_global_root()
1513 btrfs_put_root(fs_info->dev_root); in btrfs_free_fs_info()
1926 btrfs_set_backup_dev_root(root_backup, info->dev_root->node->start); in backup_super_roots()
1928 btrfs_header_generation(info->dev_root->node)); in backup_super_roots()
1930 btrfs_header_level(info->dev_root->node)); in backup_super_roots()
2048 free_root_extent_buffers(info->dev_root); in free_root_pointers()
2462 fs_info->dev_root = root; in btrfs_read_roots()
A Dfs.h364 struct btrfs_root *dev_root; member
/linux-6.3-rc2/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-6.3-rc2/drivers/acpi/
A Dacpi_lpit.c114 sysfs_add_file_to_group(&cpu_subsys.dev_root->kobj, in lpit_update_residency()
119 sysfs_add_file_to_group(&cpu_subsys.dev_root->kobj, in lpit_update_residency()
/linux-6.3-rc2/drivers/sh/intc/
A Duserimask.c67 return device_create_file(intc_subsys.dev_root, &dev_attr_userimask); in userimask_sysdev_init()
/linux-6.3-rc2/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-6.3-rc2/arch/x86/kernel/cpu/
A Dumwait.c235 dev = cpu_subsys.dev_root; in umwait_init()
/linux-6.3-rc2/arch/sh/drivers/dma/
A Ddma-sysfs.c54 return device_create_file(dma_subsys.dev_root, &dev_attr_devices); in dma_subsys_init()
/linux-6.3-rc2/include/linux/device/
A Dbus.h85 struct device *dev_root; member
/linux-6.3-rc2/drivers/base/
A Dbus.c938 if (bus->dev_root) in bus_unregister()
939 device_unregister(bus->dev_root); in bus_unregister()
1226 subsys->dev_root = dev; in subsys_register()
1353 return get_device(bus->dev_root); in bus_get_dev_root()
/linux-6.3-rc2/arch/powerpc/platforms/powernv/
A Dsubcore.c438 return device_create_file(cpu_subsys.dev_root, in subcore_init()
/linux-6.3-rc2/drivers/md/
A Ddm-thin-metadata.c1092 dm_block_t dev_root; in __create_thin() local
1105 r = dm_btree_empty(&pmd->bl_info, &dev_root); in __create_thin()
1112 value = cpu_to_le64(dev_root); in __create_thin()
1116 dm_btree_del(&pmd->bl_info, dev_root); in __create_thin()
1123 dm_btree_del(&pmd->bl_info, dev_root); in __create_thin()
/linux-6.3-rc2/drivers/platform/x86/intel/uncore-frequency/
A Duncore-frequency-common.c229 &cpu_subsys.dev_root->kobj); in uncore_freq_common_init()
/linux-6.3-rc2/drivers/irqchip/
A Dirq-mbigen.c248 parent = platform_bus_type.dev_root; in mbigen_of_create_domain()
/linux-6.3-rc2/arch/x86/kernel/cpu/microcode/
A Dcore.c655 error = sysfs_create_group(&cpu_subsys.dev_root->kobj, &cpu_root_microcode_group); in microcode_init()
/linux-6.3-rc2/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-6.3-rc2/drivers/edac/
A Dedac_pci_sysfs.c374 &edac_subsys->dev_root->kobj, "pci"); in edac_pci_main_kobj_setup()
/linux-6.3-rc2/drivers/cpuidle/
A Dcpuidle.c811 return cpuidle_add_interface(cpu_subsys.dev_root); in cpuidle_init()
/linux-6.3-rc2/include/uapi/linux/
A Dbtrfs_tree.h497 __le64 dev_root; member
/linux-6.3-rc2/arch/s390/kernel/
A Dtopology.c658 return device_create_file(cpu_subsys.dev_root, &dev_attr_dispatching); in topology_init()

Completed in 91 milliseconds

12