Home
last modified time | relevance | path

Searched refs:root (Results 1 – 25 of 1557) sorted by relevance

12345678910>>...63

/Linux-v5.4/fs/btrfs/
Dinode-map.c16 static void fail_caching_thread(struct btrfs_root *root) in fail_caching_thread() argument
18 struct btrfs_fs_info *fs_info = root->fs_info; in fail_caching_thread()
23 spin_lock(&root->ino_cache_lock); in fail_caching_thread()
24 root->ino_cache_state = BTRFS_CACHE_ERROR; in fail_caching_thread()
25 spin_unlock(&root->ino_cache_lock); in fail_caching_thread()
26 wake_up(&root->ino_cache_wait); in fail_caching_thread()
31 struct btrfs_root *root = data; in caching_kthread() local
32 struct btrfs_fs_info *fs_info = root->fs_info; in caching_kthread()
33 struct btrfs_free_space_ctl *ctl = root->free_ino_ctl; in caching_kthread()
46 fail_caching_thread(root); in caching_kthread()
[all …]
Dtree-defrag.c20 struct btrfs_root *root) in btrfs_defrag_leaves() argument
30 if (root->fs_info->extent_root == root) { in btrfs_defrag_leaves()
38 if (!test_bit(BTRFS_ROOT_REF_COWS, &root->state)) in btrfs_defrag_leaves()
45 level = btrfs_header_level(root->node); in btrfs_defrag_leaves()
50 if (root->defrag_progress.objectid == 0) { in btrfs_defrag_leaves()
54 root_node = btrfs_lock_root_node(root); in btrfs_defrag_leaves()
57 root->defrag_max.objectid = 0; in btrfs_defrag_leaves()
59 btrfs_node_key_to_cpu(root_node, &root->defrag_max, in btrfs_defrag_leaves()
65 memcpy(&key, &root->defrag_progress, sizeof(key)); in btrfs_defrag_leaves()
70 ret = btrfs_search_forward(root, &key, path, BTRFS_OLDEST_GENERATION); in btrfs_defrag_leaves()
[all …]
Ddisk-io.c54 static void btrfs_destroy_ordered_extents(struct btrfs_root *root);
57 static void btrfs_destroy_delalloc_inodes(struct btrfs_root *root);
208 struct btrfs_fs_info *fs_info = inode->root->fs_info; in btree_get_extent()
596 struct btrfs_root *root = BTRFS_I(page->mapping->host)->root; in btree_readpage_end_io_hook() local
597 struct btrfs_fs_info *fs_info = root->fs_info; in btree_readpage_end_io_hook()
855 struct btrfs_root *root; in btree_csum_one_bio() local
861 root = BTRFS_I(bvec->bv_page->mapping->host)->root; in btree_csum_one_bio()
862 ret = csum_dirty_buffer(root->fs_info, bvec->bv_page); in btree_csum_one_bio()
966 fs_info = BTRFS_I(mapping->host)->root->fs_info; in btree_writepages()
1000 btrfs_warn(BTRFS_I(page->mapping->host)->root->fs_info, in btree_invalidatepage()
[all …]
Droot-tree.c66 int btrfs_find_root(struct btrfs_root *root, const struct btrfs_key *search_key, in btrfs_find_root() argument
75 ret = btrfs_search_slot(NULL, root, search_key, path, 0, 0); in btrfs_find_root()
121 *root, struct btrfs_key *key, struct btrfs_root_item in btrfs_update_root()
124 struct btrfs_fs_info *fs_info = root->fs_info; in btrfs_update_root()
136 ret = btrfs_search_slot(trans, root, key, path, 0, 1); in btrfs_update_root()
144 root->root_key.objectid); in btrfs_update_root()
162 ret = btrfs_search_slot(trans, root, key, path, in btrfs_update_root()
169 ret = btrfs_del_item(trans, root, path); in btrfs_update_root()
175 ret = btrfs_insert_empty_item(trans, root, path, in btrfs_update_root()
199 int btrfs_insert_root(struct btrfs_trans_handle *trans, struct btrfs_root *root, in btrfs_insert_root() argument
[all …]
Dtransaction.c83 struct btrfs_root *root, *tmp; in switch_commit_roots() local
86 list_for_each_entry_safe(root, tmp, &trans->switch_commits, in switch_commit_roots()
88 list_del_init(&root->dirty_list); in switch_commit_roots()
89 free_extent_buffer(root->commit_root); in switch_commit_roots()
90 root->commit_root = btrfs_root_node(root); in switch_commit_roots()
91 if (is_fstree(root->root_key.objectid)) in switch_commit_roots()
92 btrfs_unpin_free_ino(root); in switch_commit_roots()
93 extent_io_tree_release(&root->dirty_log_pages); in switch_commit_roots()
94 btrfs_qgroup_clean_swapped_blocks(root); in switch_commit_roots()
100 root = list_first_entry(&trans->dropped_roots, in switch_commit_roots()
[all …]
Ddelayed-inode.c41 struct btrfs_root *root, u64 inode_id) in btrfs_init_delayed_node() argument
43 delayed_node->root = root; in btrfs_init_delayed_node()
68 struct btrfs_root *root = btrfs_inode->root; in btrfs_get_delayed_node() local
78 spin_lock(&root->inode_lock); in btrfs_get_delayed_node()
79 node = radix_tree_lookup(&root->delayed_nodes_tree, ino); in btrfs_get_delayed_node()
85 spin_unlock(&root->inode_lock); in btrfs_get_delayed_node()
112 spin_unlock(&root->inode_lock); in btrfs_get_delayed_node()
115 spin_unlock(&root->inode_lock); in btrfs_get_delayed_node()
125 struct btrfs_root *root = btrfs_inode->root; in btrfs_get_or_create_delayed_node() local
137 btrfs_init_delayed_node(node, root, ino); in btrfs_get_or_create_delayed_node()
[all …]
Dtransaction.h125 struct btrfs_root *root; member
133 struct btrfs_root *root; member
151 BTRFS_I(inode)->last_sub_trans = BTRFS_I(inode)->root->log_transid; in btrfs_set_inode_last_trans()
152 BTRFS_I(inode)->last_log_commit = BTRFS_I(inode)->root->last_log_commit; in btrfs_set_inode_last_trans()
180 struct btrfs_trans_handle *btrfs_start_transaction(struct btrfs_root *root,
183 struct btrfs_root *root,
186 struct btrfs_trans_handle *btrfs_join_transaction(struct btrfs_root *root);
187 struct btrfs_trans_handle *btrfs_join_transaction_nolock(struct btrfs_root *root);
188 struct btrfs_trans_handle *btrfs_join_transaction_nostart(struct btrfs_root *root);
189 struct btrfs_trans_handle *btrfs_attach_transaction(struct btrfs_root *root);
[all …]
Dbtrfs_inode.h38 struct btrfs_root *root; member
206 const struct btrfs_root *root) in btrfs_inode_hash() argument
208 u64 h = objectid ^ (root->root_key.objectid * GOLDEN_RATIO_PRIME); in btrfs_inode_hash()
219 unsigned long h = btrfs_inode_hash(inode->i_ino, BTRFS_I(inode)->root); in btrfs_insert_inode_hash()
245 struct btrfs_root *root = inode->root; in btrfs_is_free_space_inode() local
247 if (root == root->fs_info->tree_root && in btrfs_is_free_space_inode()
267 trace_btrfs_inode_mod_outstanding_extents(inode->root, btrfs_ino(inode), in btrfs_mod_outstanding_extents()
278 inode->last_sub_trans <= inode->root->last_log_commit) { in btrfs_inode_in_log()
347 struct btrfs_root *root = inode->root; in btrfs_print_data_csum_error() local
348 struct btrfs_super_block *sb = root->fs_info->super_copy; in btrfs_print_data_csum_error()
[all …]
/Linux-v5.4/drivers/acpi/
Dpci_root.c146 static void decode_osc_bits(struct acpi_pci_root *root, char *msg, u32 word, in decode_osc_bits() argument
159 dev_info(&root->device->dev, "_OSC: %s [%s]\n", msg, buf); in decode_osc_bits()
162 static void decode_osc_support(struct acpi_pci_root *root, char *msg, u32 word) in decode_osc_support() argument
164 decode_osc_bits(root, msg, word, pci_osc_support_bit, in decode_osc_support()
168 static void decode_osc_control(struct acpi_pci_root *root, char *msg, u32 word) in decode_osc_control() argument
170 decode_osc_bits(root, msg, word, pci_osc_control_bit, in decode_osc_control()
195 static acpi_status acpi_pci_query_osc(struct acpi_pci_root *root, in acpi_pci_query_osc() argument
203 support |= root->osc_support_set; in acpi_pci_query_osc()
209 capbuf[OSC_CONTROL_DWORD] = *control | root->osc_control_set; in acpi_pci_query_osc()
212 capbuf[OSC_CONTROL_DWORD] = root->osc_control_set; in acpi_pci_query_osc()
[all …]
/Linux-v5.4/lib/
Dradix-tree.c104 static inline gfp_t root_gfp_mask(const struct radix_tree_root *root) in root_gfp_mask() argument
106 return root->xa_flags & (__GFP_BITS_MASK & ~GFP_ZONEMASK); in root_gfp_mask()
127 static inline void root_tag_set(struct radix_tree_root *root, unsigned tag) in root_tag_set() argument
129 root->xa_flags |= (__force gfp_t)(1 << (tag + ROOT_TAG_SHIFT)); in root_tag_set()
132 static inline void root_tag_clear(struct radix_tree_root *root, unsigned tag) in root_tag_clear() argument
134 root->xa_flags &= (__force gfp_t)~(1 << (tag + ROOT_TAG_SHIFT)); in root_tag_clear()
137 static inline void root_tag_clear_all(struct radix_tree_root *root) in root_tag_clear_all() argument
139 root->xa_flags &= (__force gfp_t)((1 << ROOT_TAG_SHIFT) - 1); in root_tag_clear_all()
142 static inline int root_tag_get(const struct radix_tree_root *root, unsigned tag) in root_tag_get() argument
144 return (__force int)root->xa_flags & (1 << (tag + ROOT_TAG_SHIFT)); in root_tag_get()
[all …]
Drbtree_test.c27 static struct rb_root_cached root = RB_ROOT_CACHED; variable
32 static void insert(struct test_node *node, struct rb_root_cached *root) in insert() argument
34 struct rb_node **new = &root->rb_root.rb_node, *parent = NULL; in insert()
46 rb_insert_color(&node->rb, &root->rb_root); in insert()
49 static void insert_cached(struct test_node *node, struct rb_root_cached *root) in insert_cached() argument
51 struct rb_node **new = &root->rb_root.rb_node, *parent = NULL; in insert_cached()
66 rb_insert_color_cached(&node->rb, root, leftmost); in insert_cached()
69 static inline void erase(struct test_node *node, struct rb_root_cached *root) in erase() argument
71 rb_erase(&node->rb, &root->rb_root); in erase()
74 static inline void erase_cached(struct test_node *node, struct rb_root_cached *root) in erase_cached() argument
[all …]
/Linux-v5.4/tools/testing/selftests/cgroup/
Dtest_core.c22 static int test_cgcore_populated(const char *root) in test_cgcore_populated() argument
28 cg_test_a = cg_name(root, "cg_test_a"); in test_cgcore_populated()
29 cg_test_b = cg_name(root, "cg_test_a/cg_test_b"); in test_cgcore_populated()
30 cg_test_c = cg_name(root, "cg_test_a/cg_test_b/cg_test_c"); in test_cgcore_populated()
31 cg_test_d = cg_name(root, "cg_test_a/cg_test_b/cg_test_d"); in test_cgcore_populated()
63 if (cg_enter_current(root)) in test_cgcore_populated()
104 static int test_cgcore_invalid_domain(const char *root) in test_cgcore_invalid_domain() argument
109 grandparent = cg_name(root, "cg_test_grandparent"); in test_cgcore_invalid_domain()
110 parent = cg_name(root, "cg_test_grandparent/cg_test_parent"); in test_cgcore_invalid_domain()
111 child = cg_name(root, "cg_test_grandparent/cg_test_parent/cg_test_child"); in test_cgcore_invalid_domain()
[all …]
/Linux-v5.4/tools/include/linux/
Drbtree.h39 #define RB_EMPTY_ROOT(root) (READ_ONCE((root)->rb_node) == NULL) argument
64 struct rb_root *root);
97 #define rbtree_postorder_for_each_entry_safe(pos, n, root, field) \ argument
98 for (pos = rb_entry_safe(rb_first_postorder(root), typeof(*pos), field); \
103 static inline void rb_erase_init(struct rb_node *n, struct rb_root *root) in rb_erase_init() argument
105 rb_erase(n, root); in rb_erase_init()
127 #define rb_first_cached(root) (root)->rb_leftmost argument
130 struct rb_root_cached *root, in rb_insert_color_cached() argument
134 root->rb_leftmost = node; in rb_insert_color_cached()
135 rb_insert_color(node, &root->rb_root); in rb_insert_color_cached()
[all …]
/Linux-v5.4/tools/testing/radix-tree/
Dregression3.c31 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()
44 radix_tree_for_each_tagged(slot, &root, &iter, 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()
60 radix_tree_for_each_slot(slot, &root, &iter, 0) { in regression3_test()
63 radix_tree_insert(&root, 1, ptr); in regression3_test()
73 radix_tree_for_each_slot(slot, &root, &iter, 0) { in regression3_test()
[all …]
Dtest.h14 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);
42 item_tag_set(struct radix_tree_root *root, unsigned long index, int tag);
44 item_tag_clear(struct radix_tree_root *root, unsigned long index, int tag);
[all …]
Dtest.c12 item_tag_set(struct radix_tree_root *root, unsigned long index, int tag) in item_tag_set() argument
14 return radix_tree_tag_set(root, index, tag); in item_tag_set()
18 item_tag_clear(struct radix_tree_root *root, unsigned long index, int tag) in item_tag_clear() argument
20 return radix_tree_tag_clear(root, index, tag); in item_tag_clear()
23 int item_tag_get(struct radix_tree_root *root, unsigned long index, int tag) in item_tag_get() argument
25 return radix_tree_tag_get(root, index, tag); in item_tag_get()
37 int item_insert(struct radix_tree_root *root, unsigned long index) in item_insert() argument
40 int err = radix_tree_insert(root, item->index, item); in item_insert()
61 int item_delete(struct radix_tree_root *root, unsigned long index) in item_delete() argument
63 struct item *item = radix_tree_delete(root, index); in item_delete()
[all …]
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-class-rapidio44 drwxr-xr-x 3 root root 0 Feb 11 15:10 00:e:0001
45 drwxr-xr-x 3 root root 0 Feb 11 15:10 00:e:0004
46 drwxr-xr-x 3 root root 0 Feb 11 15:10 00:e:0007
47 drwxr-xr-x 3 root root 0 Feb 11 15:10 00:s:0002
48 drwxr-xr-x 3 root root 0 Feb 11 15:10 00:s:0003
49 drwxr-xr-x 3 root root 0 Feb 11 15:10 00:s:0005
50 lrwxrwxrwx 1 root root 0 Feb 11 15:11 device -> ../../../0000:01:00.0
51 -r--r--r-- 1 root root 4096 Feb 11 15:11 port_destid
52 drwxr-xr-x 2 root root 0 Feb 11 15:11 power
53 lrwxrwxrwx 1 root root 0 Feb 11 15:04 subsystem -> ../../../../../../class/rapidio_port
[all …]
/Linux-v5.4/include/linux/
Drbtree.h40 #define RB_EMPTY_ROOT(root) (READ_ONCE((root)->rb_node) == NULL) argument
65 struct rb_root *root);
67 struct rb_root *root);
109 #define rbtree_postorder_for_each_entry_safe(pos, n, root, field) \ argument
110 for (pos = rb_entry_safe(rb_first_postorder(root), typeof(*pos), field); \
133 #define rb_first_cached(root) (root)->rb_leftmost argument
136 struct rb_root_cached *root, in rb_insert_color_cached() argument
140 root->rb_leftmost = node; in rb_insert_color_cached()
141 rb_insert_color(node, &root->rb_root); in rb_insert_color_cached()
145 struct rb_root_cached *root) in rb_erase_cached() argument
[all …]
Drbtree_latch.h79 struct rb_root *root = &ltr->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()
149 __lt_insert(node, root, 0, ops->less); in latch_tree_insert()
150 raw_write_seqcount_latch(&root->seq); in latch_tree_insert()
151 __lt_insert(node, root, 1, ops->less); 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()
[all …]
/Linux-v5.4/include/trace/events/
Dcgroup.h13 TP_PROTO(struct cgroup_root *root),
15 TP_ARGS(root),
18 __field( int, root )
20 __string( name, root->name )
24 __entry->root = root->hierarchy_id;
25 __entry->ss_mask = root->subsys_mask;
26 __assign_str(name, root->name);
30 __entry->root, __entry->ss_mask, __get_str(name))
35 TP_PROTO(struct cgroup_root *root),
37 TP_ARGS(root)
[all …]
/Linux-v5.4/fs/btrfs/tests/
Dqgroup-tests.c14 static int insert_normal_tree_ref(struct btrfs_root *root, u64 bytenr, in insert_normal_tree_ref() argument
40 ret = btrfs_insert_empty_item(&trans, root, path, &ins, size); in insert_normal_tree_ref()
67 static int add_tree_ref(struct btrfs_root *root, u64 bytenr, u64 num_bytes, in add_tree_ref() argument
90 ret = btrfs_search_slot(&trans, root, &key, path, 0, 1); in add_tree_ref()
112 ret = btrfs_insert_empty_item(&trans, root, path, &key, 0); in add_tree_ref()
119 static int remove_extent_item(struct btrfs_root *root, u64 bytenr, in remove_extent_item() argument
140 ret = btrfs_search_slot(&trans, root, &key, path, -1, 1); in remove_extent_item()
146 btrfs_del_item(&trans, root, path); in remove_extent_item()
151 static int remove_extent_ref(struct btrfs_root *root, u64 bytenr, in remove_extent_ref() argument
174 ret = btrfs_search_slot(&trans, root, &key, path, 0, 1); in remove_extent_ref()
[all …]
/Linux-v5.4/Documentation/target/
Dtcm_mod_builder.rst74 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
80 -rw-r--r-- 1 root root 9096 2010-10-05 03:22 tcm_nab5000_configfs.c
81 -rw-r--r-- 1 root root 191200 2010-10-05 03:23 tcm_nab5000_configfs.o
82 -rw-r--r-- 1 root root 40504 2010-10-05 03:23 .tcm_nab5000_configfs.o.cmd
83 -rw-r--r-- 1 root root 5414 2010-10-05 03:22 tcm_nab5000_fabric.c
[all …]
/Linux-v5.4/drivers/eisa/
Deisa-bus.c43 struct eisa_root_device *root, in is_forced_dev() argument
49 x = (root->bus_nr << 8) | edev->slot; in is_forced_dev()
187 static int __init eisa_init_device(struct eisa_root_device *root, in eisa_init_device() argument
195 sig_addr = SLOT_ADDRESS(root, slot) + EISA_VENDOR_ID_OFFSET; in eisa_init_device()
203 edev->state = inb(SLOT_ADDRESS(root, slot) + EISA_CONFIG_OFFSET) in eisa_init_device()
205 edev->base_addr = SLOT_ADDRESS(root, slot); in eisa_init_device()
206 edev->dma_mask = root->dma_mask; /* Default DMA mask */ in eisa_init_device()
208 edev->dev.parent = root->dev; in eisa_init_device()
212 dev_set_name(&edev->dev, "%02X:%02X", root->bus_nr, slot); in eisa_init_device()
222 if (is_forced_dev(enable_dev, enable_dev_count, root, edev)) in eisa_init_device()
[all …]
/Linux-v5.4/drivers/crypto/nx/
Dnx_debugfs.c35 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, (u32 *)&drv->stats.aes_ops); in nx_debugfs_init()
43 root, (u32 *)&drv->stats.sha256_ops); in nx_debugfs_init()
45 root, (u32 *)&drv->stats.sha512_ops); in nx_debugfs_init()
47 root, (u64 *)&drv->stats.aes_bytes); in nx_debugfs_init()
49 root, (u64 *)&drv->stats.sha256_bytes); in nx_debugfs_init()
51 root, (u64 *)&drv->stats.sha512_bytes); in nx_debugfs_init()
53 root, (u32 *)&drv->stats.errors); in nx_debugfs_init()
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/arm/bcm/
Dbrcm,bcm2835.txt5 Required root node properties:
9 Required root node properties:
13 Required root node properties:
18 Required root node properties:
22 Required root node properties:
26 Required root node properties:
30 Required root node properties:
34 Required root node properties:
38 Required root node properties:
42 Required root node properties:
[all …]

12345678910>>...63