/linux/drivers/acpi/ |
A D | pci_root.c | 227 return root; in acpi_pci_find_root() 279 if (!root) in acpi_get_pci_dev() 282 pbus = root->bus; in acpi_get_pci_dev() 349 if (!root) in acpi_pci_osc_control_set() 537 if (!root) in acpi_pci_root_add() 588 root->segment, &root->secondary); in acpi_pci_root_add() 606 root->bus = pci_acpi_scan_root(root); in acpi_pci_root_add() 610 root->segment, (unsigned int)root->secondary.start); in acpi_pci_root_add() 647 kfree(root); in acpi_pci_root_add() 670 kfree(root); in acpi_pci_root_remove() [all …]
|
/linux/lib/ |
A D | radix-tree.c | 283 ret->array = root; in radix_tree_node_alloc() 419 if (!entry && (!is_idr(root) || root_tag_get(root, IDR_FREE))) in radix_tree_extend() 428 if (is_idr(root)) { in radix_tree_extend() 565 if (!is_idr(root)) in delete_node() 567 root->xa_head = NULL; in delete_node() 852 if (is_idr(root)) { in calculate_count() 893 delete_node(root, node); in __radix_tree_replace() 949 root_tag_set(root, tag); in node_tag_set() 987 root_tag_set(root, tag); in radix_tree_tag_set() 1371 if (is_idr(root)) in __radix_tree_delete() [all …]
|
A D | rbtree_test.c | 76 rb_erase_cached(&node->rb, root); in erase_cached() 86 struct rb_root_cached *root) in RB_DECLARE_CALLBACKS_MAX() 144 struct rb_root_cached *root) in erase_augmented_cached() argument 261 insert(nodes + j, &root); in rbtree_test_init() 263 erase(nodes + j, &root); in rbtree_test_init() 290 insert(nodes + i, &root); in rbtree_test_init() 309 node = rb_first(&root.rb_root); in rbtree_test_init() 321 node = rb_first_cached(&root); in rbtree_test_init() 330 erase(nodes + i, &root); in rbtree_test_init() 337 insert(nodes + j, &root); in rbtree_test_init() [all …]
|
/linux/fs/btrfs/ |
A D | tree-defrag.c | 20 struct btrfs_root *root) in btrfs_defrag_leaves() argument 30 if (root->fs_info->extent_root == root) { in btrfs_defrag_leaves() 45 level = btrfs_header_level(root->node); in btrfs_defrag_leaves() 54 root_node = btrfs_lock_root_node(root); in btrfs_defrag_leaves() 56 root->defrag_max.objectid = 0; in btrfs_defrag_leaves() 99 ret = btrfs_realloc_node(trans, root, in btrfs_defrag_leaves() 102 &root->defrag_progress); in btrfs_defrag_leaves() 126 if (root->defrag_max.objectid > root->defrag_progress.objectid) in btrfs_defrag_leaves() 128 if (root->defrag_max.type > root->defrag_progress.type) in btrfs_defrag_leaves() 130 if (root->defrag_max.offset > root->defrag_progress.offset) in btrfs_defrag_leaves() [all …]
|
A D | transaction.c | 170 root->commit_root = btrfs_root_node(root); in switch_commit_roots() 417 WARN_ON(!force && root->commit_root != root->node); in record_root_in_trans() 561 root->reloc_root) in need_reserve_reloc_root() 695 h->root = root; in start_transaction() 1210 btrfs_set_root_node(&root->root_item, root->node); in update_cowonly_root() 1212 &root->root_key, in update_cowonly_root() 1365 if (root->commit_root != root->node) { in commit_fs_roots() 1369 root->node); in commit_fs_roots() 1373 &root->root_key, in commit_fs_roots() 1546 struct btrfs_root *root = pending->root; in create_pending_snapshot() local [all …]
|
A D | disk-io.c | 1220 if (root) in btrfs_alloc_root() 1281 root->commit_root = btrfs_root_node(root); in btrfs_create_tree() 1440 &root->root_item, &root->root_key); in read_tree_root_path() 1460 root->commit_root = btrfs_root_node(root); in read_tree_root_path() 1548 if (root) in btrfs_lookup_fs_root() 1549 root = btrfs_grab_root(root); in btrfs_lookup_fs_root() 1591 root); in btrfs_insert_fs_root() 1680 if (root) in btrfs_get_root_ref() 1804 if (root) in btrfs_get_fs_root_commit_root() 1808 if (root) in btrfs_get_fs_root_commit_root() [all …]
|
A D | delayed-inode.c | 44 delayed_node->root = root; in btrfs_init_delayed_node() 69 struct btrfs_root *root = btrfs_inode->root; in btrfs_get_delayed_node() local 126 struct btrfs_root *root = btrfs_inode->root; in btrfs_get_or_create_delayed_node() local 173 spin_lock(&root->lock); in btrfs_queue_delayed_node() 183 root->nodes++; in btrfs_queue_delayed_node() 193 spin_lock(&root->lock); in btrfs_dequeue_delayed_node() 195 root->nodes--; in btrfs_dequeue_delayed_node() 270 struct btrfs_root *root = delayed_node->root; in __btrfs_release_delayed_node() local 350 node = root->rb_node; in __btrfs_lookup_delayed_item() 1254 root = delayed_node->root; in btrfs_async_run_delayed_root() [all …]
|
A D | relocation.c | 2120 root = next->root; in select_reloc_root() 2159 root = root->reloc_root; in select_reloc_root() 2187 next->root = btrfs_grab_root(root); in select_reloc_root() 2243 root = next->root; in select_one_root() 2687 root = root->reloc_root; in relocate_tree_block() 2690 node->root = btrfs_grab_root(root); in relocate_tree_block() 2695 if (root == root->fs_info->chunk_root) in relocate_tree_block() 2699 if (root == root->fs_info->chunk_root) in relocate_tree_block() 4110 &root->root_key, &root->root_item); in mark_garbage_root() 4410 struct btrfs_root *root = pending->root; in btrfs_reloc_pre_snapshot() local [all …]
|
A D | ctree.c | 169 list_move(&root->dirty_list, in add_root_to_dirty_list() 250 buf != root->node && buf != root->commit_root && in btrfs_block_can_be_shared() 455 if (buf == root->node) { in __btrfs_cow_block() 860 struct btrfs_root *root, in balance_level() argument 1597 b = root->commit_root; in btrfs_search_slot_get_root() 1611 b = btrfs_root_node(root); in btrfs_search_slot_get_root() 2441 c = btrfs_alloc_tree_block(trans, root, 0, root->root_key.objectid, in insert_new_root() 2459 old = root->node; in insert_new_root() 2544 if (c == root->node) { in split_node() 2572 split = btrfs_alloc_tree_block(trans, root, 0, root->root_key.objectid, in split_node() [all …]
|
A D | tree-log.c | 928 struct btrfs_root *root = dir->root; in drop_one_dir_item() local 3873 struct btrfs_root *root = inode->root; in log_dir_items() local 4671 struct btrfs_root *root = inode->root; in btrfs_log_prealloc_extents() local 4950 struct btrfs_root *root = inode->root; in btrfs_log_all_xattrs() local 5027 struct btrfs_root *root = inode->root; in btrfs_log_holes() local 5440 struct btrfs_root *root = inode->root; in copy_inode_items_to_log() local 6059 struct btrfs_root *root = inode->root; in btrfs_log_all_parents() local 6243 struct btrfs_root *root = inode->root; in log_new_ancestors_fast() local 6254 if (root != inode->root) in log_new_ancestors_fast() 6281 struct btrfs_root *root = inode->root; in log_all_new_ancestors() local [all …]
|
A D | btrfs_inode.h | 66 struct btrfs_root *root; member 255 return inode->root->fs_info->sectorsize; in btrfs_inode_sectorsize() 264 const struct btrfs_root *root) in btrfs_inode_hash() argument 303 struct btrfs_root *root = inode->root; in btrfs_is_free_space_inode() local 305 if (root == root->fs_info->tree_root && in btrfs_is_free_space_inode() 405 struct btrfs_root *root = inode->root; in btrfs_print_data_csum_error() local 406 const u32 csum_size = root->fs_info->csum_size; in btrfs_print_data_csum_error() 410 btrfs_warn_rl(root->fs_info, in btrfs_print_data_csum_error() 412 root->root_key.objectid, btrfs_ino(inode), in btrfs_print_data_csum_error() 418 btrfs_warn_rl(root->fs_info, in btrfs_print_data_csum_error() [all …]
|
A D | root-tree.c | 120 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_update_root() 140 root->root_key.objectid); in btrfs_update_root() 165 ret = btrfs_del_item(trans, root, path); in btrfs_update_root() 211 struct btrfs_root *root; in btrfs_find_orphan_roots() local 253 err = PTR_ERR_OR_ZERO(root); in btrfs_find_orphan_roots() 282 btrfs_add_dead_root(root); in btrfs_find_orphan_roots() 284 btrfs_put_root(root); in btrfs_find_orphan_roots() 308 ret = btrfs_del_item(trans, root, path); in btrfs_del_root() 456 struct btrfs_root *root) in btrfs_update_root_times() argument 462 spin_lock(&root->root_item_lock); in btrfs_update_root_times() [all …]
|
/linux/Documentation/admin-guide/acpi/ |
A D | fan_performance_states.rst | 22 -r--r--r-- 1 root root 4096 Dec 13 20:38 state0 23 -r--r--r-- 1 root root 4096 Dec 13 20:38 state1 24 -r--r--r-- 1 root root 4096 Dec 13 20:38 state10 25 -r--r--r-- 1 root root 4096 Dec 13 20:38 state11 26 -r--r--r-- 1 root root 4096 Dec 13 20:38 state2 27 -r--r--r-- 1 root root 4096 Dec 13 20:38 state3 28 -r--r--r-- 1 root root 4096 Dec 13 20:38 state4 29 -r--r--r-- 1 root root 4096 Dec 13 20:38 state5 30 -r--r--r-- 1 root root 4096 Dec 13 20:38 state6 31 -r--r--r-- 1 root root 4096 Dec 13 20:38 state7 [all …]
|
/linux/tools/testing/selftests/cgroup/ |
A D | test_core.c | 184 if (cg_enter_current(root)) in test_cgcore_populated() 318 cg_enter_current(root); in test_cgcore_invalid_domain() 411 cg_enter_current(root); in test_cgcore_no_internal_process_constraint_on_threads() 412 cg_enter_current(root); in test_cgcore_no_internal_process_constraint_on_threads() 588 cg_enter_current(root); in test_cgcore_proc_migration() 667 cg_enter_current(root); in test_cgcore_thread_migration() 733 cg_enter_current(root); in test_cgcore_lesser_euid_open() 826 cg_enter_current(root); in test_cgcore_lesser_ns_open() 842 int (*fn)(const char *root); 862 char root[PATH_MAX]; in main() local [all …]
|
/linux/fs/btrfs/tests/ |
A D | qgroup-tests.c | 143 btrfs_del_item(&trans, root, path); in remove_extent_item() 440 struct btrfs_root *root; in btrfs_test_qgroups() local 451 if (IS_ERR(root)) { in btrfs_test_qgroups() 453 ret = PTR_ERR(root); in btrfs_test_qgroups() 458 root->fs_info->extent_root = root; in btrfs_test_qgroups() 464 root->fs_info->tree_root = root; in btrfs_test_qgroups() 465 root->fs_info->quota_root = root; in btrfs_test_qgroups() 472 root->node = alloc_test_extent_buffer(root->fs_info, nodesize); in btrfs_test_qgroups() 473 if (IS_ERR(root->node)) { in btrfs_test_qgroups() 475 ret = PTR_ERR(root->node); in btrfs_test_qgroups() [all …]
|
/linux/fs/vboxsf/ |
A D | vboxsf_wrappers.c | 98 *root = parms.root.u.value32; in vboxsf_map_folder() 107 parms.root.u.value32 = root; in vboxsf_unmap_folder() 136 parms.root.u.value32 = root; in vboxsf_create() 154 parms.root.u.value32 = root; in vboxsf_close() 167 parms.root.u.value32 = root; in vboxsf_remove() 185 parms.root.u.value32 = root; in vboxsf_rename() 207 parms.root.u.value32 = root; in vboxsf_read() 231 parms.root.u.value32 = root; in vboxsf_write() 258 parms.root.u.value32 = root; in vboxsf_dirinfo() 301 parms.root.u.value32 = root; in vboxsf_fsinfo() [all …]
|
/linux/Documentation/ABI/testing/ |
A D | sysfs-class-rapidio | 48 drwxr-xr-x 3 root root 0 Feb 11 15:10 00:e:0001 49 drwxr-xr-x 3 root root 0 Feb 11 15:10 00:e:0004 50 drwxr-xr-x 3 root root 0 Feb 11 15:10 00:e:0007 51 drwxr-xr-x 3 root root 0 Feb 11 15:10 00:s:0002 52 drwxr-xr-x 3 root root 0 Feb 11 15:10 00:s:0003 53 drwxr-xr-x 3 root root 0 Feb 11 15:10 00:s:0005 54 lrwxrwxrwx 1 root root 0 Feb 11 15:11 device -> ../../../0000:01:00.0 55 -r--r--r-- 1 root root 4096 Feb 11 15:11 port_destid 56 drwxr-xr-x 2 root root 0 Feb 11 15:11 power 58 -r--r--r-- 1 root root 4096 Feb 11 15:11 sys_size [all …]
|
/linux/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 …]
|
/linux/Documentation/target/ |
A D | tcm_mod_builder.rst | 74 drwxr-xr-x 2 root root 4096 2010-10-05 03:23 . 75 drwxr-xr-x 9 root root 4096 2010-10-05 03:22 .. 76 -rw-r--r-- 1 root root 282 2010-10-05 03:22 Kbuild 77 -rw-r--r-- 1 root root 171 2010-10-05 03:22 Kconfig 78 -rw-r--r-- 1 root root 49 2010-10-05 03:23 modules.order 79 -rw-r--r-- 1 root root 738 2010-10-05 03:22 tcm_nab5000_base.h 87 -rw-r--r-- 1 root root 401861 2010-10-05 03:23 tcm_nab5000.ko 89 -rw-r--r-- 1 root root 459 2010-10-05 03:23 tcm_nab5000.mod.c 90 -rw-r--r-- 1 root root 23896 2010-10-05 03:23 tcm_nab5000.mod.o 92 -rw-r--r-- 1 root root 379022 2010-10-05 03:23 tcm_nab5000.o [all …]
|
/linux/tools/testing/radix-tree/ |
A D | regression3.c | 31 RADIX_TREE(root, GFP_KERNEL); in regression3_test() 40 radix_tree_insert(&root, 0, ptr0); in regression3_test() 41 radix_tree_tag_set(&root, 0, 0); in regression3_test() 47 radix_tree_insert(&root, 1, ptr); in regression3_test() 48 radix_tree_tag_set(&root, 1, 0); in regression3_test() 57 radix_tree_delete(&root, 1); in regression3_test() 63 radix_tree_insert(&root, 1, ptr); in regression3_test() 81 radix_tree_tag_set(&root, 0, 0); in regression3_test() 82 radix_tree_tag_set(&root, 1, 0); in regression3_test() 91 radix_tree_delete(&root, 0); in regression3_test() [all …]
|
A D | test.h | 14 int item_insert(struct radix_tree_root *root, unsigned long index); 17 int item_delete(struct radix_tree_root *root, unsigned long index); 19 struct item *item_lookup(struct radix_tree_root *root, unsigned long index); 21 void item_check_present(struct radix_tree_root *root, unsigned long index); 22 void item_check_absent(struct radix_tree_root *root, unsigned long index); 23 void item_gang_check_present(struct radix_tree_root *root, 26 void item_full_scan(struct radix_tree_root *root, unsigned long start, 28 void item_kill_tree(struct radix_tree_root *root); 47 void tree_verify_min_height(struct radix_tree_root *root, int maxindex); 54 void radix_tree_dump(struct radix_tree_root *root); [all …]
|
A D | test.c | 14 return radix_tree_tag_set(root, index, tag); in item_tag_set() 20 return radix_tree_tag_clear(root, index, tag); in item_tag_clear() 25 return radix_tree_tag_get(root, index, tag); in item_tag_get() 40 int err = radix_tree_insert(root, item->index, item); in item_insert() 63 struct item *item = radix_tree_delete(root, index); in item_delete() 95 item = radix_tree_lookup(root, index); in item_check_present() 102 return radix_tree_lookup(root, index); in item_lookup() 109 item = radix_tree_lookup(root, index); in item_check_absent() 249 struct radix_tree_node *node = root->xa_head; in verify_tag_consistency() 252 verify_node(node, tag, !!root_tag_get(root, tag)); in verify_tag_consistency() [all …]
|
/linux/include/trace/events/ |
A D | cgroup.h | 15 TP_ARGS(root), 18 __field( int, root ) 20 __string( name, root->name ) 24 __entry->root = root->hierarchy_id; 37 TP_ARGS(root) 44 TP_ARGS(root) 51 TP_ARGS(root) 61 __field( int, root ) 68 __entry->root = cgrp->root->hierarchy_id; 173 __field( int, root ) [all …]
|
/linux/include/linux/ |
A D | rbtree_latch.h | 79 struct rb_root *root = <r->tree[idx]; in __lt_insert() local 80 struct rb_node **link = &root->rb_node; in __lt_insert() 96 rb_insert_color(node, root); in __lt_insert() 145 struct latch_tree_root *root, in latch_tree_insert() argument 148 raw_write_seqcount_latch(&root->seq); in latch_tree_insert() 150 raw_write_seqcount_latch(&root->seq); in latch_tree_insert() 172 struct latch_tree_root *root, in latch_tree_erase() argument 175 raw_write_seqcount_latch(&root->seq); in latch_tree_erase() 176 __lt_erase(node, root, 0); in latch_tree_erase() 177 raw_write_seqcount_latch(&root->seq); in latch_tree_erase() [all …]
|
/linux/fs/nfs/ |
A D | getroot.c | 72 struct dentry *root; in nfs_get_root() local 110 root = d_obtain_root(inode); in nfs_get_root() 111 if (IS_ERR(root)) { in nfs_get_root() 113 error = PTR_ERR(root); in nfs_get_root() 119 spin_lock(&root->d_lock); in nfs_get_root() 120 if (IS_ROOT(root) && !root->d_fsdata && in nfs_get_root() 122 root->d_fsdata = name; in nfs_get_root() 125 spin_unlock(&root->d_lock); in nfs_get_root() 126 fc->root = root; in nfs_get_root() 161 dput(fc->root); in nfs_get_root() [all …]
|