Searched refs:root (Results 151 - 175 of 1075) sorted by relevance

1234567891011>>

/linux-master/fs/btrfs/
H A Ddefrag.c36 u64 root; member in struct:inode_defrag
51 if (defrag1->root > defrag2->root)
53 else if (defrag1->root < defrag2->root)
75 struct btrfs_fs_info *fs_info = inode->root->fs_info;
127 struct btrfs_root *root = inode->root; local
128 struct btrfs_fs_info *fs_info = root->fs_info;
142 transid = inode->root
174 btrfs_pick_defrag_inode( struct btrfs_fs_info *fs_info, u64 root, u64 ino) argument
355 btrfs_realloc_node(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct extent_buffer *parent, int start_slot, u64 *last_ret, struct btrfs_key *progress) argument
450 btrfs_defrag_leaves(struct btrfs_trans_handle *trans, struct btrfs_root *root) argument
570 btrfs_defrag_root(struct btrfs_root *root) argument
628 struct btrfs_root *root = inode->root; local
[all...]
H A Dinode-item.c83 struct btrfs_root *root,
96 ret = btrfs_search_slot(trans, root, &key, path, ins_len, cow);
107 struct btrfs_root *root,
130 ret = btrfs_search_slot(trans, root, &key, path, -1, 1);
144 btrfs_handle_fs_error(root->fs_info, -ENOENT, NULL);
159 ret = btrfs_del_item(trans, root, path);
178 struct btrfs_root *root, const struct fscrypt_str *name,
201 ret = btrfs_search_slot(trans, root, &key, path, -1, 1);
223 ret = btrfs_del_item(trans, root, path);
241 return btrfs_del_inode_extref(trans, root, nam
82 btrfs_lookup_inode_extref(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, const struct fscrypt_str *name, u64 inode_objectid, u64 ref_objectid, int ins_len, int cow) argument
106 btrfs_del_inode_extref(struct btrfs_trans_handle *trans, struct btrfs_root *root, const struct fscrypt_str *name, u64 inode_objectid, u64 ref_objectid, u64 *index) argument
177 btrfs_del_inode_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root, const struct fscrypt_str *name, u64 inode_objectid, u64 ref_objectid, u64 *index) argument
253 btrfs_insert_inode_extref(struct btrfs_trans_handle *trans, struct btrfs_root *root, const struct fscrypt_str *name, u64 inode_objectid, u64 ref_objectid, u64 index) argument
309 btrfs_insert_inode_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root, const struct fscrypt_str *name, u64 inode_objectid, u64 ref_objectid, u64 index) argument
385 btrfs_insert_empty_inode(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, u64 objectid) argument
400 btrfs_lookup_inode(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_path *path, struct btrfs_key *location, int mod) argument
458 btrfs_truncate_inode_items(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct btrfs_truncate_control *control) argument
[all...]
H A Dinode.c59 #include "root-tree.h"
76 struct btrfs_root *root; member in struct:btrfs_iget_args
147 u64 root, void *warn_ctx)
160 local_root = btrfs_get_fs_root(fs_info, root, true);
195 "checksum error at logical %llu mirror %u root %llu, inode %llu offset %llu",
196 warn->logical, warn->mirror_num, root, inum, offset);
209 "checksum error at logical %llu mirror %u root %llu inode %llu offset %llu length %u links %u (path: %s)",
210 warn->logical, warn->mirror_num, root, inum, offset,
221 "checksum error at logical %llu mirror %u root %llu inode %llu offset %llu, path resolving failed with ret=%d",
222 warn->logical, warn->mirror_num, root, inu
146 data_reloc_print_warning_inode(u64 inum, u64 offset, u64 num_bytes, u64 root, void *warn_ctx) argument
330 struct btrfs_root *root = inode->root; local
518 struct btrfs_root *root = inode->root; local
627 struct btrfs_root *root = inode->root; local
1111 struct btrfs_root *root = inode->root; local
1288 struct btrfs_root *root = inode->root; local
1871 struct btrfs_root *root = inode->root; local
1980 struct btrfs_root *root = inode->root; local
2396 struct btrfs_root *root = inode->root; local
2414 struct btrfs_root *root = inode->root; local
2521 struct btrfs_root *root = inode->root; local
2895 struct btrfs_root *root = inode->root; local
3046 struct btrfs_root *root = inode->root; local
3495 btrfs_orphan_cleanup(struct btrfs_root *root) argument
3770 struct btrfs_root *root = BTRFS_I(inode)->root; local
4049 struct btrfs_root *root = inode->root; local
4096 struct btrfs_root *root = dir->root; local
4216 struct btrfs_root *root = dir->root; local
4266 struct btrfs_root *root = dir->root; local
4373 may_destroy_subvol(struct btrfs_root *root) argument
4433 btrfs_prune_dentries(struct btrfs_root *root) argument
4498 struct btrfs_root *root = dir->root; local
4872 struct btrfs_root *root = inode->root; local
4926 struct btrfs_root *root = inode->root; local
5016 struct btrfs_root *root = BTRFS_I(inode)->root; local
5112 struct btrfs_root *root = BTRFS_I(inode)->root; local
5218 evict_refill_and_join(struct btrfs_root *root, struct btrfs_block_rsv *rsv) argument
5270 struct btrfs_root *root = BTRFS_I(inode)->root; local
5397 struct btrfs_root *root = dir->root; local
5514 struct btrfs_root *root = inode->root; local
5550 struct btrfs_root *root = inode->root; local
5596 btrfs_iget_locked(struct super_block *s, u64 ino, struct btrfs_root *root) argument
5618 btrfs_iget_path(struct super_block *s, u64 ino, struct btrfs_root *root, struct btrfs_path *path) argument
5650 btrfs_iget(struct super_block *s, u64 ino, struct btrfs_root *root) argument
5655 new_simple_dir(struct inode *dir, struct btrfs_key *key, struct btrfs_root *root) argument
5709 struct btrfs_root *root = BTRFS_I(dir)->root; local
5768 struct btrfs_root *root; local
5801 struct btrfs_root *root = inode->root; local
5940 struct btrfs_root *root = BTRFS_I(inode)->root; local
6070 struct btrfs_root *root = inode->root; local
6105 struct btrfs_root *root = BTRFS_I(inode)->root; local
6247 struct btrfs_root *root; local
6490 struct btrfs_root *root = parent_inode->root; local
6569 struct btrfs_root *root = BTRFS_I(dir)->root; local
6636 struct btrfs_root *root = BTRFS_I(dir)->root; local
6824 struct btrfs_root *root = inode->root; local
7053 struct btrfs_root *root = inode->root; local
7126 struct btrfs_root *root = BTRFS_I(inode)->root; local
8352 struct btrfs_root *root = inode->root; local
8654 struct btrfs_root *root = inode->root; local
8709 struct btrfs_root *root = BTRFS_I(inode)->root; local
8809 struct btrfs_root *root = BTRFS_I(old_dir)->root; local
9065 struct btrfs_root *root = BTRFS_I(old_dir)->root; local
9354 start_delalloc_inodes(struct btrfs_root *root, struct writeback_control *wbc, bool snapshot, bool in_reclaim_context) argument
9427 btrfs_start_delalloc_snapshot(struct btrfs_root *root, bool in_reclaim_context) argument
9452 struct btrfs_root *root; local
9502 struct btrfs_root *root = BTRFS_I(dir)->root; local
9683 struct btrfs_root *root = BTRFS_I(inode)->root; local
9817 struct btrfs_root *root = BTRFS_I(inode)->root; local
9835 struct btrfs_root *root = BTRFS_I(dir)->root; local
9947 struct btrfs_root *root = inode->root; local
10309 struct btrfs_root *root = inode->root; local
10688 struct btrfs_root *root = BTRFS_I(inode)->root; local
10988 struct btrfs_root *root = inode->root; local
[all...]
/linux-master/drivers/md/persistent-data/
H A Ddm-array.c251 static int lookup_ablock(struct dm_array_info *info, dm_block_t root, argument
259 r = dm_btree_lookup(&info->btree_info, root, &key, &block_le);
270 struct dm_block *block, dm_block_t *root)
275 return dm_btree_insert(&info->btree_info, *root, &index, &block_le, root);
302 dm_block_t *root)
314 r = insert_ablock(info, index, block, root);
322 * btree to point to this new shadow. 'root' is an input/output parameter
323 * for both the current root block, and the new one.
325 static int shadow_ablock(struct dm_array_info *info, dm_block_t *root, argument
269 insert_ablock(struct dm_array_info *info, uint64_t index, struct dm_block *block, dm_block_t *root) argument
300 __reinsert_ablock(struct dm_array_info *info, unsigned int index, struct dm_block *block, dm_block_t b, dm_block_t *root) argument
349 insert_new_ablock(struct dm_array_info *info, size_t size_of_block, uint32_t max_entries, unsigned int block_index, uint32_t nr, const void *value, dm_block_t *root) argument
369 insert_full_ablocks(struct dm_array_info *info, size_t size_of_block, unsigned int begin_block, unsigned int end_block, unsigned int max_entries, const void *value, dm_block_t *root) argument
396 dm_block_t root; member in struct:resize
657 dm_array_empty(struct dm_array_info *info, dm_block_t *root) argument
663 array_resize(struct dm_array_info *info, dm_block_t root, uint32_t old_size, uint32_t new_size, const void *value, dm_block_t *new_root) argument
731 dm_array_new(struct dm_array_info *info, dm_block_t *root, uint32_t size, value_fn fn, void *context) argument
772 dm_array_del(struct dm_array_info *info, dm_block_t root) argument
778 dm_array_get_value(struct dm_array_info *info, dm_block_t root, uint32_t index, void *value_le) argument
806 array_set_value(struct dm_array_info *info, dm_block_t root, uint32_t index, const void *value, dm_block_t *new_root) argument
895 dm_array_walk(struct dm_array_info *info, dm_block_t root, int (*fn)(void *, uint64_t key, void *leaf), void *context) argument
940 dm_array_cursor_begin(struct dm_array_info *info, dm_block_t root, struct dm_array_cursor *c) argument
[all...]
/linux-master/tools/perf/util/
H A Dcomm.c61 struct comm_str *__comm_str__findnew(const char *str, struct rb_root *root) argument
63 struct rb_node **p = &root->rb_node;
92 rb_insert_color(&new->rb_node, root);
97 static struct comm_str *comm_str__findnew(const char *str, struct rb_root *root) argument
102 cs = __comm_str__findnew(str, root);
H A Dblock-range.c8 struct rb_root root; member in struct:__anon302
18 for (rb = rb_first(&block_ranges.root); rb; rb = rb_next(rb)) {
31 struct rb_node **p = &block_ranges.root.rb_node;
79 struct rb_node **p = &block_ranges.root.rb_node;
128 rb_insert_color(&head->node, &block_ranges.root);
151 rb_insert_color(&entry->node, &block_ranges.root);
182 rb_insert_color(&head->node, &block_ranges.root);
222 rb_insert_color(&tail->node, &block_ranges.root);
260 rb_insert_color(&tail->node, &block_ranges.root);
283 rb_insert_color(&hole->node, &block_ranges.root);
[all...]
/linux-master/arch/sh/boards/
H A Dof-generic.c118 struct device_node *root; local
121 root = of_find_node_by_path("/");
122 if (root) {
123 of_property_read_string(root, "model", &sh_mv.mv_name);
124 of_node_put(root);
155 .mv_name = "devicetree", /* replaced by DT root's model */
/linux-master/drivers/soc/tegra/
H A Dcommon.c31 struct device_node *root; local
33 root = of_find_node_by_path("/");
34 if (!root)
37 match = of_match_node(tegra_machine_match, root);
38 of_node_put(root);
/linux-master/arch/powerpc/platforms/chrp/
H A Dsetup.c102 struct device_node *root; local
105 root = of_find_node_by_path("/");
106 if (root)
107 model = of_get_property(root, "model", NULL);
155 of_node_put(root);
198 struct device_node *root; local
201 root = of_find_node_by_path("/");
202 if (!root)
205 model = of_get_property(root, "model", NULL);
213 of_node_put(root);
299 struct device_node *root = of_find_node_by_path("/"); local
367 struct device_node *np, *root; local
[all...]
/linux-master/drivers/gpu/drm/xe/
H A Dxe_range_fence.c35 xe_range_fence_tree_remove(rfence, &tree->root);
78 xe_range_fence_tree_insert(rfence, &tree->root);
94 rfence = xe_range_fence_tree_iter_first(&tree->root, 0, U64_MAX);
122 XE_WARN_ON(!RB_EMPTY_ROOT(&tree->root.rb_root));
137 return xe_range_fence_tree_iter_first(&tree->root, start, last);
H A Dxe_debugfs.c111 struct dentry *root = minor->debugfs_root; local
119 root, minor);
121 debugfs_create_file("forcewake_all", 0400, root, xe,
131 ttm_resource_manager_create_debugfs(man, root, name);
136 ttm_resource_manager_create_debugfs(man, root, "gtt_mm");
140 ttm_resource_manager_create_debugfs(man, root, "stolen_mm");
146 fault_create_debugfs_attr("fail_gt_reset", root, &gt_reset_failure);
/linux-master/drivers/infiniband/hw/usnic/
H A Dusnic_uiom_interval_tree.c104 find_intervals_intersection_sorted(struct rb_root_cached *root, argument
112 for (node = usnic_uiom_interval_tree_iter_first(root, start, last);
122 struct rb_root_cached *root,
132 find_intervals_intersection_sorted(root, start, last,
144 * Invariant: Set [start, pivot] is either in diff_set or root,
179 int usnic_uiom_insert_interval(struct rb_root_cached *root, unsigned long start, argument
190 find_intervals_intersection_sorted(root, start, last,
234 usnic_uiom_interval_tree_remove(interval, root);
239 usnic_uiom_interval_tree_insert(interval, root);
250 void usnic_uiom_remove_interval(struct rb_root_cached *root, argument
120 usnic_uiom_get_intervals_diff(unsigned long start, unsigned long last, int flags, int flag_mask, struct rb_root_cached *root, struct list_head *diff_set) argument
[all...]
/linux-master/tools/testing/selftests/cgroup/
H A Dtest_kill.c56 static int test_cgkill_simple(const char *root) argument
63 cgroup = cg_name(root, "cg_test_simple");
113 static int test_cgkill_tree(const char *root) argument
120 cgroup[0] = cg_name(root, "cg_test_tree_A");
222 static int test_cgkill_forkbomb(const char *root) argument
228 cgroup = cg_name(root, "cg_forkbomb_test");
265 int (*fn)(const char *root);
276 char root[PATH_MAX]; local
279 if (cg_find_unified_root(root, sizeof(root)))
[all...]
H A Dtest_cpu.c38 static int test_cpucg_subtree_control(const char *root) argument
44 parent = cg_name(root, "cpucg_test_0");
65 parent2 = cg_name(root, "cpucg_test_1");
183 static int test_cpucg_stats(const char *root) argument
191 cpucg = cg_name(root, "cpucg_test");
234 const char *root,
242 parent = cg_name(root, "cpucg_test_0");
355 static int test_cpucg_weight_overprovisioned(const char *root) argument
357 return run_cpucg_weight_test(root, weight_hog_all_cpus,
395 static int test_cpucg_weight_underprovisioned(const char *root) argument
233 run_cpucg_weight_test( const char *root, pid_t (*spawn_child)(const struct cpu_hogger *child), int (*validate)(const struct cpu_hogger *children, int num_children)) argument
407 run_cpucg_nested_weight_test(const char *root, bool overprovisioned) argument
542 test_cpucg_nested_weight_overprovisioned(const char *root) argument
562 test_cpucg_nested_weight_underprovisioned(const char *root) argument
571 test_cpucg_max(const char *root) argument
624 test_cpucg_max_nested(const char *root) argument
700 char root[PATH_MAX]; local
[all...]
H A Dtest_memcontrol.c31 static int test_memcg_subtree_control(const char *root) argument
38 parent = cg_name(root, "memcg_test_0");
39 child = cg_name(root, "memcg_test_0/memcg_test_1");
56 parent2 = cg_name(root, "memcg_test_1");
57 child2 = cg_name(root, "memcg_test_1/memcg_test_1");
166 static int test_memcg_current(const char *root) argument
172 memcg = cg_name(root, "memcg_test");
288 static int test_memcg_protection(const char *root, bool min) argument
303 parent[0] = cg_name(root, "memcg_test_0");
454 static int test_memcg_min(const char *root) argument
459 test_memcg_low(const char *root) argument
500 test_memcg_high(const char *root) argument
563 test_memcg_high_sync(const char *root) argument
625 test_memcg_max(const char *root) argument
717 test_memcg_reclaim(const char *root) argument
820 test_memcg_swap_max(const char *root) argument
884 test_memcg_oom_events(const char *root) argument
1044 test_memcg_sock(const char *root) argument
1115 test_memcg_oom_group_leaf_events(const char *root) argument
1187 test_memcg_oom_group_parent_events(const char *root) argument
1243 test_memcg_oom_group_score_events(const char *root) argument
1314 char root[PATH_MAX]; local
[all...]
/linux-master/include/linux/
H A Dradix-tree.h76 /* The top bits of xa_flags are used to store the root tags */
84 #define INIT_RADIX_TREE(root, mask) xa_init_flags(root, mask)
86 static inline bool radix_tree_empty(const struct radix_tree_root *root) argument
88 return root->xa_head == NULL;
263 void __rcu **idr_get_free(struct radix_tree_root *root,
299 * @root: radix tree root
314 * @root: radix tree root
323 radix_tree_iter_lookup(const struct radix_tree_root *root, struct radix_tree_iter *iter, unsigned long index) argument
[all...]
/linux-master/drivers/soc/qcom/
H A Dqcom_stats.c124 static void qcom_create_soc_sleep_stat_files(struct dentry *root, void __iomem *reg, argument
161 debugfs_create_file(stat_type, 0400, root, &d[i],
170 static void qcom_create_subsystem_stat_files(struct dentry *root, argument
179 debugfs_create_file(subsystems[i].name, 0400, root, (void *)&subsystems[i],
186 struct dentry *root; local
207 root = debugfs_create_dir("qcom_stats", NULL);
209 qcom_create_subsystem_stat_files(root, config);
210 qcom_create_soc_sleep_stat_files(root, reg, d, config);
212 platform_set_drvdata(pdev, root);
221 struct dentry *root local
[all...]
/linux-master/lib/
H A Dinterval_tree_test.c23 static struct rb_root_cached root = RB_ROOT_CACHED; variable in typeref:struct:rb_root_cached
30 search(struct rb_root_cached *root, unsigned long start, unsigned long last) argument
35 for (node = interval_tree_iter_first(root, start, last); node;
88 interval_tree_insert(nodes + j, &root);
90 interval_tree_remove(nodes + j, &root);
102 interval_tree_insert(nodes + j, &root);
112 results += search(&root, start, last);
/linux-master/drivers/video/fbdev/omap2/omapfb/dss/
H A Domapdss-boot-init.c29 bool root; member in struct:dss_conv_node
111 static void __init omapdss_add_to_list(struct device_node *node, bool root) argument
117 n->root = root;
134 static void __init omapdss_walk_device(struct device_node *node, bool root) argument
138 omapdss_add_to_list(node, root);
207 if (!n->root)
/linux-master/fs/
H A Dfs_struct.c12 * Replace the fs->{rootmnt,root} with {mnt,dentry}. Put the old values.
22 old_root = fs->root;
23 fs->root = *path;
72 hits += replace_path(&fs->root, old_root, new_root);
90 path_put(&fs->root);
124 fs->root = old->root;
125 path_get(&fs->root);
/linux-master/fs/autofs/
H A Dexpire.c92 * Calculate and dget next entry in the subdirs list under root.
95 struct dentry *root)
97 struct autofs_sb_info *sbi = autofs_sbi(root->d_sb);
101 spin_lock(&root->d_lock);
102 q = positive_after(root, prev);
103 spin_unlock(&root->d_lock);
113 struct dentry *root)
115 struct autofs_sb_info *sbi = autofs_sbi(root->d_sb);
119 return dget(root);
127 if (ret || p == root)
94 get_next_positive_subdir(struct dentry *prev, struct dentry *root) argument
112 get_next_positive_dentry(struct dentry *prev, struct dentry *root) argument
276 struct dentry *root = dget(sb->s_root); local
423 struct dentry *root = sb->s_root; local
[all...]
/linux-master/fs/pstore/
H A Dinode.c265 static int pstore_show_options(struct seq_file *m, struct dentry *root) argument
290 struct dentry *root; local
300 root = pstore_sb->s_root;
301 inode_lock(d_inode(root));
303 return root;
309 struct dentry *root; local
311 root = psinfo_lock_root();
312 if (!root)
320 simple_unlink(d_inode(root), pos->dentry);
326 inode_unlock(d_inode(root));
336 pstore_mkfile(struct dentry *root, struct pstore_record *record) argument
399 struct dentry *root; local
[all...]
/linux-master/sound/firewire/bebob/
H A Dbebob_proc.c159 add_node(struct snd_bebob *bebob, struct snd_info_entry *root, const char *name, argument
164 entry = snd_info_create_card_entry(bebob->card, name, root);
171 struct snd_info_entry *root; local
177 root = snd_info_create_card_entry(bebob->card, "firewire",
179 if (root == NULL)
181 root->mode = S_IFDIR | 0555;
183 add_node(bebob, root, "clock", proc_read_clock);
184 add_node(bebob, root, "firmware", proc_read_hw_info);
185 add_node(bebob, root, "formation", proc_read_formation);
188 add_node(bebob, root, "mete
[all...]
/linux-master/sound/firewire/fireworks/
H A Dfireworks_proc.c195 add_node(struct snd_efw *efw, struct snd_info_entry *root, const char *name, argument
200 entry = snd_info_create_card_entry(efw->card, name, root);
207 struct snd_info_entry *root; local
213 root = snd_info_create_card_entry(efw->card, "firewire",
215 if (root == NULL)
217 root->mode = S_IFDIR | 0555;
219 add_node(efw, root, "clock", proc_read_clock);
220 add_node(efw, root, "firmware", proc_read_hwinfo);
221 add_node(efw, root, "meters", proc_read_phys_meters);
222 add_node(efw, root, "queue
[all...]
/linux-master/arch/arm64/kernel/
H A Dpci.c76 struct acpi_pci_root *root = acpi_driver_data(adev); local
78 return root->segment;
93 * On Hyper-V there is no corresponding ACPI device for a root bridge,
128 pci_acpi_setup_ecam_mapping(struct acpi_pci_root *root) argument
130 struct device *dev = &root->device->dev;
131 struct resource *bus_res = &root->secondary;
132 u16 seg = root->segment;
139 ret = pci_mcfg_lookup(root, &cfgres, &ecam_ops);
175 struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root) argument
192 ri->cfg = pci_acpi_setup_ecam_mapping(root);
[all...]

Completed in 393 milliseconds

1234567891011>>