| /drivers/acpi/ |
| A D | pci_root.c | 209 if (is_cxl(root)) in to_uuid() 216 if (is_cxl(root)) in cap_length() 292 return root; in acpi_pci_find_root() 363 if (!root) in acpi_pci_osc_control_set() 652 if (!root) in acpi_pci_root_add() 703 root->segment, &root->secondary); in acpi_pci_root_add() 728 root->bus = pci_acpi_scan_root(root); in acpi_pci_root_add() 732 root->segment, (unsigned int)root->secondary.start); in acpi_pci_root_add() 769 kfree(root); in acpi_pci_root_add() 792 kfree(root); in acpi_pci_root_remove() [all …]
|
| /drivers/eisa/ |
| A D | eisa-bus.c | 43 struct eisa_root_device *root, in is_forced_dev() argument 203 edev->dev.parent = root->dev; in eisa_init_device() 315 dev_info(root->dev, "Probing EISA bus %d\n", root->bus_nr); in eisa_probe() 325 dev_warn(root->dev, in eisa_probe() 328 if (!root->force_probe) in eisa_probe() 336 if (!root->force_probe) in eisa_probe() 361 dev_warn(root->dev, in eisa_probe() 419 root->eisa_root_res.start = root->res->start; in eisa_root_register() 420 root->eisa_root_res.end = root->res->end; in eisa_root_register() 427 root->bus_nr = eisa_bus_count++; in eisa_root_register() [all …]
|
| /drivers/crypto/nx/ |
| A D | nx_debugfs.c | 35 struct dentry *root; in nx_debugfs_init() local 37 root = debugfs_create_dir(NX_NAME, NULL); in nx_debugfs_init() 38 drv->dfs_root = root; in nx_debugfs_init() 41 root, &drv->stats.aes_ops.counter); in nx_debugfs_init() 43 root, &drv->stats.sha256_ops.counter); in nx_debugfs_init() 45 root, &drv->stats.sha512_ops.counter); in nx_debugfs_init() 47 root, &drv->stats.aes_bytes.counter); in nx_debugfs_init() 49 root, &drv->stats.sha256_bytes.counter); in nx_debugfs_init() 51 root, &drv->stats.sha512_bytes.counter); in nx_debugfs_init() 53 root, &drv->stats.errors.counter); in nx_debugfs_init() [all …]
|
| /drivers/md/persistent-data/ |
| A D | dm-bitset.c | 37 int dm_bitset_empty(struct dm_disk_bitset *info, dm_block_t *root) in dm_bitset_empty() argument 39 return dm_array_empty(&info->array_info, root); in dm_bitset_empty() 73 int dm_bitset_new(struct dm_disk_bitset *info, dm_block_t *root, in dm_bitset_new() argument 100 int dm_bitset_del(struct dm_disk_bitset *info, dm_block_t root) in dm_bitset_del() argument 102 return dm_array_del(&info->array_info, root); in dm_bitset_del() 158 r = dm_bitset_flush(info, root, new_root); in get_array_entry() 163 return read_bits(info, root, array_index); in get_array_entry() 172 r = get_array_entry(info, root, index, new_root); in dm_bitset_set_bit() 189 r = get_array_entry(info, root, index, new_root); in dm_bitset_clear_bit() 206 r = get_array_entry(info, root, index, new_root); in dm_bitset_test_bit() [all …]
|
| A D | dm-btree.h | 95 int dm_btree_empty(struct dm_btree_info *info, dm_block_t *root); 101 int dm_btree_del(struct dm_btree_info *info, dm_block_t root); 110 int dm_btree_lookup(struct dm_btree_info *info, dm_block_t root, 117 int dm_btree_lookup_next(struct dm_btree_info *info, dm_block_t root, 123 int dm_btree_insert(struct dm_btree_info *info, dm_block_t root, 132 int dm_btree_insert_notify(struct dm_btree_info *info, dm_block_t root, 142 int dm_btree_remove(struct dm_btree_info *info, dm_block_t root, 151 int dm_btree_remove_leaves(struct dm_btree_info *info, dm_block_t root, 176 int dm_btree_walk(struct dm_btree_info *info, dm_block_t root, 197 dm_block_t root; member [all …]
|
| A D | dm-array.c | 275 return dm_btree_insert(&info->btree_info, *root, &index, &block_le, root); in insert_ablock() 302 dm_block_t *root) in __reinsert_ablock() argument 372 dm_block_t *root) in insert_full_ablocks() argument 396 dm_block_t root; member 444 &key, &resize->root); in drop_blocks() 547 &resize->root); in grow_needs_more_blocks() 671 *new_root = root; in array_resize() 676 resize.root = root; in array_resize() 691 *new_root = resize.root; in array_resize() 739 r = dm_array_empty(info, root); in dm_array_new() [all …]
|
| A D | dm-array.h | 93 int dm_array_empty(struct dm_array_info *info, dm_block_t *root); 110 int dm_array_resize(struct dm_array_info *info, dm_block_t root, 131 int dm_array_new(struct dm_array_info *info, dm_block_t *root, 138 int dm_array_del(struct dm_array_info *info, dm_block_t root); 150 int dm_array_get_value(struct dm_array_info *info, dm_block_t root, 168 int dm_array_set_value(struct dm_array_info *info, dm_block_t root, 180 int dm_array_walk(struct dm_array_info *info, dm_block_t root, 206 dm_block_t root, struct dm_array_cursor *c);
|
| A D | dm-bitset.h | 109 int dm_bitset_new(struct dm_disk_bitset *info, dm_block_t *root, 129 int dm_bitset_del(struct dm_disk_bitset *info, dm_block_t root); 141 int dm_bitset_set_bit(struct dm_disk_bitset *info, dm_block_t root, 154 int dm_bitset_clear_bit(struct dm_disk_bitset *info, dm_block_t root, 168 int dm_bitset_test_bit(struct dm_disk_bitset *info, dm_block_t root, 178 int dm_bitset_flush(struct dm_disk_bitset *info, dm_block_t root, 196 dm_block_t root, uint32_t nr_entries,
|
| /drivers/gpu/drm/i915/gt/ |
| A D | intel_gt_debugfs.c | 80 intel_gt_debugfs_register_files(root, files, ARRAY_SIZE(files), gt); in gt_debugfs_register() 85 struct dentry *root; in intel_gt_debugfs_register() local 92 root = debugfs_create_dir(gtname, gt->i915->drm.primary->debugfs_root); in intel_gt_debugfs_register() 93 if (IS_ERR(root)) in intel_gt_debugfs_register() 96 gt_debugfs_register(gt, root); in intel_gt_debugfs_register() 98 intel_gt_engines_debugfs_register(gt, root); in intel_gt_debugfs_register() 99 intel_gt_pm_debugfs_register(gt, root); in intel_gt_debugfs_register() 100 intel_sseu_debugfs_register(gt, root); in intel_gt_debugfs_register() 102 intel_uc_debugfs_register(>->uc, root); in intel_gt_debugfs_register() 105 void intel_gt_debugfs_register_files(struct dentry *root, in intel_gt_debugfs_register_files() argument [all …]
|
| /drivers/misc/genwqe/ |
| A D | card_debugfs.c | 321 struct dentry *root; in genwqe_init_debugfs() local 334 debugfs_create_u32("ddcb_software_timeout", 0666, root, in genwqe_init_debugfs() 340 cd->debugfs_root = root; in genwqe_init_debugfs() 345 debugfs_create_file("curr_dbg_uid0", S_IRUGO, root, cd, in genwqe_init_debugfs() 347 debugfs_create_file("curr_dbg_uid1", S_IRUGO, root, cd, in genwqe_init_debugfs() 349 debugfs_create_file("curr_dbg_uid2", S_IRUGO, root, cd, in genwqe_init_debugfs() 352 debugfs_create_file("prev_dbg_uid0", S_IRUGO, root, cd, in genwqe_init_debugfs() 354 debugfs_create_file("prev_dbg_uid1", S_IRUGO, root, cd, in genwqe_init_debugfs() 356 debugfs_create_file("prev_dbg_uid2", S_IRUGO, root, cd, in genwqe_init_debugfs() 361 debugfs_create_u32(name, 0666, root, in genwqe_init_debugfs() [all …]
|
| /drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | fs_core.c | 400 node->root = parent->root; in tree_add_node() 527 root = node->root; in find_root() 741 err = root->cmds->update_fte(root, ft, fg, in del_hw_fte() 1403 ft->node.root = fs_prio->node.root; in __mlx5_create_flow_table() 1411 root->cmds->destroy_flow_table(root, ft); in __mlx5_create_flow_table() 2247 (root->cmds->get_capabilities(root, root->table_type) & in try_add_to_existing_fg() 2591 err = root->cmds->update_root_ft(root, in update_root_ft_destroy() 3705 return root->cmds->get_capabilities(root, root->table_type); in mlx5_fs_get_capabilities() 3996 err = root->cmds->update_root_ft(root, root->root_ft, underlay_qpn, in mlx5_fs_add_rx_underlay_qpn() 4040 err = root->cmds->update_root_ft(root, root->root_ft, underlay_qpn, in mlx5_fs_remove_rx_underlay_qpn() [all …]
|
| A D | pagealloc.c | 107 if (root) in page_root_per_function() 108 return root; in page_root_per_function() 110 root = kzalloc(sizeof(*root), GFP_KERNEL); in page_root_per_function() 111 if (!root) in page_root_per_function() 116 kfree(root); in page_root_per_function() 120 *root = RB_ROOT; in page_root_per_function() 122 return root; in page_root_per_function() 135 if (IS_ERR(root)) in insert_page() 181 tmp = root->rb_node; in find_fw_page() 739 root = entry; in mlx5_reclaim_startup_pages() [all …]
|
| /drivers/gpu/drm/i915/ |
| A D | i915_syncmap.c | 88 void i915_syncmap_init(struct i915_syncmap **root) in i915_syncmap_init() argument 93 *root = NULL; in i915_syncmap_init() 156 p = *root; in i915_syncmap_is_later() 186 *root = p; in i915_syncmap_is_later() 229 struct i915_syncmap *p = *root; in __sync_set() 333 *root = p; in __sync_set() 352 struct i915_syncmap *p = *root; in i915_syncmap_set() 363 return __sync_set(root, id, seqno); in i915_syncmap_set() 392 void i915_syncmap_free(struct i915_syncmap **root) in i915_syncmap_free() argument 396 p = *root; in i915_syncmap_free() [all …]
|
| /drivers/mmc/core/ |
| A D | debugfs.c | 349 struct dentry *root; in mmc_add_host_debugfs() local 351 root = debugfs_create_dir(mmc_hostname(host), NULL); in mmc_add_host_debugfs() 352 host->debugfs_root = root; in mmc_add_host_debugfs() 356 debugfs_create_file("caps2", 0600, root, &host->caps2, in mmc_add_host_debugfs() 358 debugfs_create_file_unsafe("clock", 0600, root, host, in mmc_add_host_debugfs() 363 debugfs_create_file("err_stats", 0600, root, host, in mmc_add_host_debugfs() 370 fault_create_debugfs_attr("fail_mmc_request", root, in mmc_add_host_debugfs() 383 struct dentry *root; in mmc_add_card_debugfs() local 389 card->debugfs_root = root; in mmc_add_card_debugfs() 391 debugfs_create_x32("state", 0400, root, &card->state); in mmc_add_card_debugfs() [all …]
|
| /drivers/gpu/drm/i915/gt/uc/ |
| A D | intel_uc_debugfs.c | 45 struct dentry *root; in intel_uc_debugfs_register() local 54 root = debugfs_create_dir("uc", gt_root); in intel_uc_debugfs_register() 55 if (IS_ERR(root)) in intel_uc_debugfs_register() 58 uc->guc.dbgfs_node = root; in intel_uc_debugfs_register() 60 intel_gt_debugfs_register_files(root, files, ARRAY_SIZE(files), uc); in intel_uc_debugfs_register() 62 intel_gsc_uc_debugfs_register(&uc->gsc, root); in intel_uc_debugfs_register() 63 intel_guc_debugfs_register(&uc->guc, root); in intel_uc_debugfs_register() 64 intel_huc_debugfs_register(&uc->huc, root); in intel_uc_debugfs_register()
|
| /drivers/soc/qcom/ |
| A D | rpm_master_stats.c | 73 struct dentry *dent, *root; in master_stats_probe() local 85 root = debugfs_create_dir("qcom_rpm_master_stats", NULL); in master_stats_probe() 86 platform_set_drvdata(pdev, root); in master_stats_probe() 91 debugfs_remove_recursive(root); in master_stats_probe() 103 debugfs_remove_recursive(root); in master_stats_probe() 109 debugfs_remove_recursive(root); in master_stats_probe() 117 debugfs_remove_recursive(root); in master_stats_probe() 126 dent = debugfs_create_file(data[i].label, 0444, root, in master_stats_probe() 129 debugfs_remove_recursive(root); in master_stats_probe() 142 struct dentry *root = platform_get_drvdata(pdev); in master_stats_remove() local [all …]
|
| A D | qcom_stats.c | 239 debugfs_create_file("ddr_stats", 0400, root, in qcom_create_ddr_stat_files() 281 debugfs_create_file(stat_type, 0400, root, &d[i], in qcom_create_soc_sleep_stat_files() 290 static void qcom_create_subsystem_stat_files(struct dentry *root, in qcom_create_subsystem_stat_files() argument 306 struct dentry *root; in qcom_stats_probe() local 342 root = debugfs_create_dir("qcom_stats", NULL); in qcom_stats_probe() 344 qcom_create_subsystem_stat_files(root, config); in qcom_stats_probe() 345 qcom_create_soc_sleep_stat_files(root, reg, d, config); in qcom_stats_probe() 346 qcom_create_ddr_stat_files(root, reg, config); in qcom_stats_probe() 348 platform_set_drvdata(pdev, root); in qcom_stats_probe() 357 struct dentry *root = platform_get_drvdata(pdev); in qcom_stats_remove() local [all …]
|
| /drivers/mtd/parsers/ |
| A D | ofpart_bcm4908.c | 19 struct device_node *root; in bcm4908_partitions_fw_offset() local 23 root = of_find_node_by_path("/"); in bcm4908_partitions_fw_offset() 24 if (!root) in bcm4908_partitions_fw_offset() 27 of_property_for_each_string(root, "brcm_blparms", prop, s) { in bcm4908_partitions_fw_offset() 38 of_node_put(root); in bcm4908_partitions_fw_offset() 42 of_node_put(root); in bcm4908_partitions_fw_offset() 46 of_node_put(root); in bcm4908_partitions_fw_offset()
|
| /drivers/of/ |
| A D | platform.c | 400 root = root ? of_node_get(root) : of_find_node_by_path("/"); in of_platform_bus_probe() 401 if (!root) in of_platform_bus_probe() 405 pr_debug(" starting at: %pOF\n", root); in of_platform_bus_probe() 408 if (of_match_node(matches, root)) { in of_platform_bus_probe() 410 } else for_each_child_of_node(root, child) { in of_platform_bus_probe() 420 of_node_put(root); in of_platform_bus_probe() 451 root = root ? of_node_get(root) : of_find_node_by_path("/"); in of_platform_populate() 452 if (!root) in of_platform_populate() 456 pr_debug(" starting at: %pOF\n", root); in of_platform_populate() 466 of_node_set_flag(root, OF_POPULATED_BUS); in of_platform_populate() [all …]
|
| /drivers/gpu/drm/xe/ |
| A D | xe_uc_debugfs.c | 19 struct dentry *root; in xe_uc_debugfs_register() local 21 root = debugfs_create_dir("uc", parent); in xe_uc_debugfs_register() 22 if (IS_ERR(root)) { in xe_uc_debugfs_register() 27 xe_gsc_debugfs_register(&uc->gsc, root); in xe_uc_debugfs_register() 28 xe_guc_debugfs_register(&uc->guc, root); in xe_uc_debugfs_register() 29 xe_huc_debugfs_register(&uc->huc, root); in xe_uc_debugfs_register()
|
| /drivers/ptp/ |
| A D | ptp_qoriq_debugfs.c | 72 struct dentry *root; in ptp_qoriq_create_debugfs() local 74 root = debugfs_create_dir(dev_name(ptp_qoriq->dev), NULL); in ptp_qoriq_create_debugfs() 75 if (IS_ERR(root)) in ptp_qoriq_create_debugfs() 77 if (!root) in ptp_qoriq_create_debugfs() 80 ptp_qoriq->debugfs_root = root; in ptp_qoriq_create_debugfs() 82 if (!debugfs_create_file_unsafe("fiper1-loopback", 0600, root, in ptp_qoriq_create_debugfs() 85 if (!debugfs_create_file_unsafe("fiper2-loopback", 0600, root, in ptp_qoriq_create_debugfs() 91 debugfs_remove_recursive(root); in ptp_qoriq_create_debugfs()
|
| /drivers/block/drbd/ |
| A D | drbd_interval.c | 25 drbd_insert_interval(struct rb_root *root, struct drbd_interval *this) in drbd_insert_interval() argument 27 struct rb_node **new = &root->rb_node, *parent = NULL; in drbd_insert_interval() 53 rb_insert_augmented(&this->rb, root, &augment_callbacks); in drbd_insert_interval() 69 drbd_contains_interval(struct rb_root *root, sector_t sector, in drbd_contains_interval() argument 72 struct rb_node *node = root->rb_node; in drbd_contains_interval() 96 drbd_remove_interval(struct rb_root *root, struct drbd_interval *this) in drbd_remove_interval() argument 102 rb_erase_augmented(&this->rb, root, &augment_callbacks); in drbd_remove_interval() 118 drbd_find_overlap(struct rb_root *root, sector_t sector, unsigned int size) in drbd_find_overlap() argument 120 struct rb_node *node = root->rb_node; in drbd_find_overlap()
|
| /drivers/infiniband/hw/usnic/ |
| A D | usnic_uiom_interval_tree.h | 51 struct rb_root_cached *root); 54 struct rb_root_cached *root); 56 usnic_uiom_interval_tree_iter_first(struct rb_root_cached *root, 66 int usnic_uiom_insert_interval(struct rb_root_cached *root, 74 void usnic_uiom_remove_interval(struct rb_root_cached *root, 84 struct rb_root_cached *root,
|
| A D | usnic_uiom_interval_tree.c | 104 find_intervals_intersection_sorted(struct rb_root_cached *root, in find_intervals_intersection_sorted() argument 112 for (node = usnic_uiom_interval_tree_iter_first(root, start, last); in find_intervals_intersection_sorted() 122 struct rb_root_cached *root, in usnic_uiom_get_intervals_diff() argument 132 find_intervals_intersection_sorted(root, start, last, in usnic_uiom_get_intervals_diff() 179 int usnic_uiom_insert_interval(struct rb_root_cached *root, unsigned long start, in usnic_uiom_insert_interval() argument 190 find_intervals_intersection_sorted(root, start, last, in usnic_uiom_insert_interval() 234 usnic_uiom_interval_tree_remove(interval, root); in usnic_uiom_insert_interval() 239 usnic_uiom_interval_tree_insert(interval, root); in usnic_uiom_insert_interval() 250 void usnic_uiom_remove_interval(struct rb_root_cached *root, in usnic_uiom_remove_interval() argument 256 for (interval = usnic_uiom_interval_tree_iter_first(root, start, last); in usnic_uiom_remove_interval() [all …]
|
| /drivers/mtd/ |
| A D | mtdswap.c | 85 struct rb_root root; member 194 if (eb->root) { in mtdswap_eb_detach() 195 tp = container_of(eb->root, struct mtdswap_tree, root); in mtdswap_eb_detach() 208 p = &root->rb_node; in __mtdswap_rb_add() 226 if (eb->root == &d->trees[idx].root) in mtdswap_rb_add() 230 root = &d->trees[idx].root; in mtdswap_rb_add() 232 eb->root = root; in mtdswap_rb_add() 259 eb->root = NULL; in mtdswap_handle_badblock() 808 root = &d->trees[i].root; in mtdswap_choose_wl_tree() 863 eb->root = NULL; in mtdswap_pick_gc_eblk() [all …]
|