Home
last modified time | relevance | path

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

/linux-4.4.14/arch/powerpc/platforms/pseries/
Dpseries_energy.c237 err = device_create_file(cpu_subsys.dev_root, in pseries_energy_init()
240 err = device_create_file(cpu_subsys.dev_root, in pseries_energy_init()
274 device_remove_file(cpu_subsys.dev_root, &attr_cpu_activate_hint_list); in pseries_energy_cleanup()
275 device_remove_file(cpu_subsys.dev_root, &attr_cpu_deactivate_hint_list); in pseries_energy_cleanup()
Dsuspend.c248 if ((rc = device_create_file(suspend_subsys.dev_root, &dev_attr_hibernate))) in pseries_suspend_sysfs_register()
/linux-4.4.14/fs/btrfs/
Ddev-replace.c58 struct btrfs_root *dev_root = fs_info->dev_root; in btrfs_init_dev_replace() local
77 ret = btrfs_search_slot(NULL, dev_root, &key, path, 0, 0); in btrfs_init_dev_replace()
148 !btrfs_test_opt(dev_root, DEGRADED)) { in btrfs_init_dev_replace()
157 !btrfs_test_opt(dev_root, DEGRADED)) { in btrfs_init_dev_replace()
198 struct btrfs_root *dev_root = fs_info->dev_root; in btrfs_run_dev_replace() local
222 ret = btrfs_search_slot(trans, dev_root, &key, path, -1, 1); in btrfs_run_dev_replace()
242 ret = btrfs_del_item(trans, dev_root, path); in btrfs_run_dev_replace()
254 ret = btrfs_insert_empty_item(trans, dev_root, path, in btrfs_run_dev_replace()
Dscrub.c174 struct btrfs_root *dev_root; member
359 struct btrfs_fs_info *fs_info = sctx->dev_root->fs_info; in scrub_pending_trans_workers_inc()
391 struct btrfs_fs_info *fs_info = sctx->dev_root->fs_info; in scrub_pending_trans_workers_dec()
461 struct btrfs_fs_info *fs_info = dev->dev_root->fs_info; in scrub_setup_ctx()
471 sctx->dev_root = dev->dev_root; in scrub_setup_ctx()
492 sctx->nodesize = dev->dev_root->nodesize; in scrub_setup_ctx()
493 sctx->sectorsize = dev->dev_root->sectorsize; in scrub_setup_ctx()
527 struct btrfs_fs_info *fs_info = swarn->dev->dev_root->fs_info; in scrub_print_warning_inode()
619 fs_info = sblock->sctx->dev_root->fs_info; in scrub_print_warning()
846 &sctx->dev_root->fs_info->dev_replace. in scrub_fixup_nodatasum()
[all …]
Dvolumes.c355 fs_info = device->dev_root->fs_info; in run_scheduled_bios()
1090 struct btrfs_root *root = device->dev_root; in btrfs_account_dev_extents_size()
1173 struct btrfs_fs_info *fs_info = device->dev_root->fs_info; in contains_pending_extent()
1250 struct btrfs_root *root = device->dev_root; in find_free_dev_extent_start()
1421 struct btrfs_root *root = device->dev_root; in btrfs_free_dev_extent()
1480 struct btrfs_root *root = device->dev_root; in btrfs_alloc_dev_extent()
2317 device->dev_root = root->fs_info->dev_root; in btrfs_init_new_device()
2526 device->dev_root = fs_info->dev_root; in btrfs_init_dev_replace_tgtdev()
2551 tgtdev->io_width = fs_info->dev_root->sectorsize; in btrfs_init_dev_replace_tgtdev_for_resume()
2552 tgtdev->io_align = fs_info->dev_root->sectorsize; in btrfs_init_dev_replace_tgtdev_for_resume()
[all …]
Ddisk-io.c1659 return fs_info->dev_root; in btrfs_get_fs_root()
2043 btrfs_set_backup_dev_root(root_backup, info->dev_root->node->start); in backup_super_roots()
2045 btrfs_header_generation(info->dev_root->node)); in backup_super_roots()
2047 btrfs_header_level(info->dev_root->node)); in backup_super_roots()
2161 free_root_extent_buffers(info->dev_root); in free_root_pointers()
2438 fs_info->dev_root = root; in btrfs_read_roots()
3215 btrfs_warn_rl_in_rcu(device->dev_root->fs_info, in btrfs_end_buffer_write_sync()
3360 btrfs_err(device->dev_root->fs_info, in write_dev_supers()
Dvolumes.h55 struct btrfs_root *dev_root; member
Dctree.h427 __le64 dev_root; member
1427 struct btrfs_root *dev_root; member
2992 dev_root, 64);
3736 kfree(fs_info->dev_root); in free_fs_info()
Dcheck-integrity.c848 btrfs_info_in_rcu(device->dev_root->fs_info, in btrfsic_process_superblock_dev_mirror()
Dextent-tree.c5367 fs_info->dev_root->block_rsv = &fs_info->global_block_rsv; in init_global_block_rsv()
10587 struct btrfs_fs_info *fs_info = device->dev_root->fs_info; in btrfs_trim_free_extents()
/linux-4.4.14/arch/powerpc/sysdev/
Dfsl_mpic_timer_wakeup.c133 ret = device_create_file(mpic_subsys.dev_root, &mpic_attributes); in fsl_wakeup_sys_init()
142 device_remove_file(mpic_subsys.dev_root, &mpic_attributes); in fsl_wakeup_sys_exit()
/linux-4.4.14/drivers/sh/intc/
Duserimask.c67 return device_create_file(intc_subsys.dev_root, &dev_attr_userimask); in userimask_sysdev_init()
/linux-4.4.14/drivers/platform/x86/
Dibm_rtl.c217 device_create_file(rtl_subsys.dev_root, rtl_attributes[i]); in rtl_setup_sysfs()
225 device_remove_file(rtl_subsys.dev_root, rtl_attributes[i]); in rtl_teardown_sysfs()
/linux-4.4.14/arch/mips/txx9/generic/
D7segled.c99 error = device_create_file(tx_7segled_subsys.dev_root, &dev_attr_map_seg7); in tx_7segled_init_sysfs()
/linux-4.4.14/arch/s390/kernel/
Dtime.c1405 rc = device_create_file(etr_subsys.dev_root, &dev_attr_stepping_port); in etr_init_sysfs()
1408 rc = device_create_file(etr_subsys.dev_root, &dev_attr_stepping_mode); in etr_init_sysfs()
1422 device_remove_file(etr_subsys.dev_root, &dev_attr_stepping_mode); in etr_init_sysfs()
1424 device_remove_file(etr_subsys.dev_root, &dev_attr_stepping_port); in etr_init_sysfs()
1804 rc = device_create_file(stp_subsys.dev_root, *attr); in stp_init_sysfs()
1811 device_remove_file(stp_subsys.dev_root, *attr); in stp_init_sysfs()
Dtopology.c504 return device_create_file(cpu_subsys.dev_root, &dev_attr_dispatching); in topology_init()
Dsmp.c1161 rc = device_create_file(cpu_subsys.dev_root, &dev_attr_rescan); in s390_smp_init()
/linux-4.4.14/arch/x86/kernel/cpu/microcode/
Dcore.c663 error = sysfs_create_group(&cpu_subsys.dev_root->kobj, in microcode_init()
684 sysfs_remove_group(&cpu_subsys.dev_root->kobj, in microcode_init()
/linux-4.4.14/arch/sh/drivers/dma/
Ddma-sysfs.c57 return device_create_file(dma_subsys.dev_root, &dev_attr_devices); in dma_subsys_init()
/linux-4.4.14/arch/powerpc/platforms/powernv/
Didle.c283 device_create_file(cpu_subsys.dev_root, in pnv_init_idle_states()
Dsubcore.c424 return device_create_file(cpu_subsys.dev_root, in subcore_init()
/linux-4.4.14/arch/tile/kernel/
Dsysfs.c224 err = device_create_file(cpu_subsys.dev_root, &dev_attr_##name); in create_sysfs_entries()
/linux-4.4.14/drivers/md/
Ddm-thin-metadata.c976 dm_block_t dev_root; in __create_thin() local
990 r = dm_btree_empty(&pmd->bl_info, &dev_root); in __create_thin()
997 value = cpu_to_le64(dev_root); in __create_thin()
1001 dm_btree_del(&pmd->bl_info, dev_root); in __create_thin()
1008 dm_btree_del(&pmd->bl_info, dev_root); in __create_thin()
/linux-4.4.14/drivers/base/
Dbus.c976 if (bus->dev_root) in bus_unregister()
977 device_unregister(bus->dev_root); in bus_unregister()
1216 subsys->dev_root = dev; in subsys_register()
Dcore.c831 if (!parent && dev->bus && dev->bus->dev_root) in get_device_parent()
832 return &dev->bus->dev_root->kobj; in get_device_parent()
/linux-4.4.14/drivers/cpuidle/
Dcpuidle.c654 ret = cpuidle_add_interface(cpu_subsys.dev_root); in cpuidle_init()
/linux-4.4.14/drivers/char/
Drtc.c303 static struct ctl_table dev_root[] = { variable
316 sysctl_header = register_sysctl_table(dev_root); in init_sysctl()
Dhpet.c764 static struct ctl_table dev_root[] = { variable
1068 sysctl_header = register_sysctl_table(dev_root); in hpet_init()
/linux-4.4.14/drivers/edac/
Dedac_pci_sysfs.c380 &edac_subsys->dev_root->kobj, "pci"); in edac_pci_main_kobj_setup()
Dedac_device_sysfs.c264 &edac_subsys->dev_root->kobj, in edac_device_register_sysfs_main_kobj()
/linux-4.4.14/arch/powerpc/kernel/
Dsysfs.c591 err = device_create_file(cpu_subsys.dev_root, &dev_attr_dscr_default); in sysfs_create_dscr_default()
/linux-4.4.14/drivers/iommu/
Dexynos-iommu.c1244 pdev = of_platform_device_create(np, NULL, platform_bus_type.dev_root); in exynos_iommu_of_setup()
/linux-4.4.14/include/linux/
Ddevice.h108 struct device *dev_root; member
/linux-4.4.14/drivers/cpufreq/
Dintel_pstate.c519 &cpu_subsys.dev_root->kobj); in intel_pstate_sysfs_expose_params()
Dcpufreq.c2523 cpufreq_global_kobject = kobject_create_and_add("cpufreq", &cpu_subsys.dev_root->kobj); in cpufreq_core_init()
/linux-4.4.14/kernel/
Dworkqueue.c5121 return device_create_file(wq_subsys.dev_root, &wq_sysfs_cpumask_attr); in wq_sysfs_init()