Searched refs:root (Results 501 - 525 of 1078) sorted by relevance

<<21222324252627282930>>

/linux-master/fs/btrfs/
H A Ddev-replace.c49 * existing extents from commit root.
53 * Content: Data/meta from commit root.
458 struct btrfs_root *root = fs_info->dev_root; local
478 trans = btrfs_attach_transaction(root);
513 btrfs_for_each_slot(root, &key, &found_key, path, iter_ret) {
602 struct btrfs_root *root = fs_info->dev_root; local
625 trans = btrfs_attach_transaction(root);
695 trans = btrfs_start_transaction(root, 1);
853 struct btrfs_root *root = fs_info->tree_root; local
891 trans = btrfs_start_transaction(root,
1070 struct btrfs_root *root = fs_info->tree_root; local
[all...]
H A Ddelayed-ref.c359 static struct btrfs_delayed_ref_head *htree_insert(struct rb_root_cached *root, argument
362 struct rb_node **p = &root->rb_root.rb_node;
387 rb_insert_color_cached(node, root, leftmost);
391 static struct btrfs_delayed_ref_node* tree_insert(struct rb_root_cached *root, argument
394 struct rb_node **p = &root->rb_root.rb_node;
418 rb_insert_color_cached(node, root, leftmost);
446 struct rb_root *root = &dr->href_root.rb_root; local
450 n = root->rb_node;
665 struct btrfs_delayed_ref_root *root = &trans->transaction->delayed_refs; local
674 atomic_inc(&root
[all...]
/linux-master/fs/ext2/
H A Dballoc.c189 * @root: root of per-filesystem reservation rb tree
198 static void __rsv_window_dump(struct rb_root *root, int verbose, argument
206 n = rb_first(root);
240 #define rsv_window_dump(root, verbose) \
241 __rsv_window_dump((root), (verbose), __func__)
243 #define rsv_window_dump(root, verbose) do {} while (0)
282 * @root: root of reservation tree
290 search_reserve_window(struct rb_root *root, ext2_fsblk_ argument
331 struct rb_root *root = &EXT2_SB(sb)->s_rsv_window_root; local
[all...]
/linux-master/fs/cramfs/
H A Dinode.c505 sync_filesystem(fc->root->d_sb);
555 /* Check that the root inode is in a sane state */
556 if (!S_ISDIR(super->root.mode)) {
557 errorfc(fc, "root is not a directory");
561 super->root.mode |= 0555;
563 root_offset = super->root.offset << 2;
581 errorfc(fc, "bad root offset %lu", root_offset);
591 struct inode *root; local
598 root = get_cramfs_inode(sb, cramfs_root, 0);
599 if (IS_ERR(root))
[all...]
/linux-master/fs/hfsplus/
H A Dbrec.c74 if (!tree->root)
149 new_node->parent = tree->root;
434 new_node->parent = tree->root;
470 if (tree->root) {
471 node = hfs_bnode_find(tree, tree->root);
481 tree->root = new_node->this;
507 /* insert old root idx into new root */
508 node->parent = tree->root;
/linux-master/fs/hfs/
H A Dbrec.c76 if (!tree->root)
149 new_node->parent = tree->root;
430 new_node->parent = tree->root;
466 if (tree->root) {
467 node = hfs_bnode_find(tree, tree->root);
477 tree->root = new_node->this;
503 /* insert old root idx into new root */
504 node->parent = tree->root;
/linux-master/fs/ocfs2/
H A Dreservations.c302 struct rb_root *root = &resmap->m_reservations; local
304 struct rb_node **p = &root->rb_node;
334 rb_insert_color(&new->r_node, root);
459 struct rb_root *root = &resmap->m_reservations; local
475 goal, wanted, RB_EMPTY_ROOT(root));
479 if (RB_EMPTY_ROOT(root)) {
522 next = rb_first(root);
/linux-master/fs/omfs/
H A Dinode.c293 static int omfs_show_options(struct seq_file *m, struct dentry *root) argument
295 struct omfs_sb_info *sbi = OMFS_SB(root->d_sb);
328 * stored in the root block. For ReplayTV, there is no such free bitmap
458 struct inode *root; local
546 "super and root blocks (%llx, %llx)\n",
573 root = omfs_iget(sb, be64_to_cpu(omfs_rb->r_root_dir));
574 if (IS_ERR(root)) {
575 ret = PTR_ERR(root);
579 sb->s_root = d_make_root(root);
/linux-master/drivers/firmware/
H A Dturris-mox-rwtm.c436 struct dentry *root, *entry; local
438 root = debugfs_create_dir("turris-mox-rwtm", NULL);
440 if (IS_ERR(root))
441 return PTR_ERR(root);
443 entry = debugfs_create_file_unsafe("do_sign", 0600, root, rwtm,
448 rwtm->debugfs_root = root;
452 debugfs_remove_recursive(root);
/linux-master/tools/perf/util/
H A Denv.c155 struct rb_root *root; local
160 root = &env->bpf_progs.infos;
161 next = rb_first(root);
168 rb_erase(&node->rb_node, root);
175 root = &env->bpf_progs.btfs;
176 next = rb_first(root);
183 rb_erase(&node->rb_node, root);
/linux-master/net/sched/
H A Dcls_route.c129 struct route4_head *head = rcu_dereference_bh(tp->root);
219 struct route4_head *head = rtnl_dereference(tp->root);
251 rcu_assign_pointer(tp->root, head);
280 struct route4_head *head = rtnl_dereference(tp->root);
316 struct route4_head *head = rtnl_dereference(tp->root);
481 struct route4_head *head = rtnl_dereference(tp->root);
580 struct route4_head *head = rtnl_dereference(tp->root);
/linux-master/block/
H A Delevator.c220 void elv_rb_add(struct rb_root *root, struct request *rq) argument
222 struct rb_node **p = &root->rb_node;
237 rb_insert_color(&rq->rb_node, root);
241 void elv_rb_del(struct rb_root *root, struct request *rq) argument
244 rb_erase(&rq->rb_node, root);
249 struct request *elv_rb_find(struct rb_root *root, sector_t sector) argument
251 struct rb_node *n = root->rb_node;
/linux-master/fs/f2fs/
H A Dextent_cache.c159 static struct extent_node *__lookup_extent_node(struct rb_root_cached *root, argument
162 struct rb_node *node = root->rb_root.rb_node;
193 static struct extent_node *__lookup_extent_node_ret(struct rb_root_cached *root, argument
202 struct rb_node **pnode = &root->rb_root.rb_node;
211 if (RB_EMPTY_ROOT(&root->rb_root))
284 rb_insert_color_cached(&en->rb_node, &et->root, leftmost);
295 rb_erase_cached(&en->rb_node, &et->root);
340 et->root = RB_ROOT_CACHED;
365 node = rb_first_cached(&et->root);
417 &et->root
[all...]
/linux-master/include/linux/
H A Dmemcontrol.h583 static inline void mem_cgroup_protection(struct mem_cgroup *root, argument
626 if (root == memcg)
633 void mem_cgroup_calculate_protection(struct mem_cgroup *root,
640 * The root memcg doesn't account charges, and doesn't support
889 * Returns the parent memcg, or NULL if this is the root.
897 struct mem_cgroup *root)
899 if (root == memcg)
901 return cgroup_is_descendant(memcg->css.cgroup, root->css.cgroup);
1192 static inline void mem_cgroup_protection(struct mem_cgroup *root, argument
1200 static inline void mem_cgroup_calculate_protection(struct mem_cgroup *root, argument
896 mem_cgroup_is_descendant(struct mem_cgroup *memcg, struct mem_cgroup *root) argument
1359 mem_cgroup_iter(struct mem_cgroup *root, struct mem_cgroup *prev, struct mem_cgroup_reclaim_cookie *reclaim) argument
1366 mem_cgroup_iter_break(struct mem_cgroup *root, struct mem_cgroup *prev) argument
[all...]
/linux-master/drivers/infiniband/hw/hfi1/
H A Ddebugfs.c1186 struct dentry *root; variable in typeref:struct:dentry
1194 root = debugfs_create_dir(name, hfi1_dbg_root);
1195 ibd->hfi1_ibdev_dbg = root;
1200 debugfs_create_file("opcode_stats", 0444, root, ibd,
1202 debugfs_create_file("tx_opcode_stats", 0444, root, ibd,
1204 debugfs_create_file("ctx_stats", 0444, root, ibd, &_ctx_stats_file_ops);
1205 debugfs_create_file("qp_stats", 0444, root, ibd, &_qp_stats_file_ops);
1206 debugfs_create_file("sdes", 0444, root, ibd, &_sdes_file_ops);
1207 debugfs_create_file("rcds", 0444, root, ibd, &_rcds_file_ops);
1208 debugfs_create_file("pios", 0444, root, ib
[all...]
/linux-master/drivers/md/
H A Ddm-cache-metadata.c120 dm_block_t root; member in struct:dm_cache_metadata
138 * Reading the space map root can fail, so we read it into this
372 disk_super->mapping_root = cpu_to_le64(cmd->root);
405 r = dm_array_empty(&cmd->info, &cmd->root);
593 cmd->root = le64_to_cpu(disk_super->mapping_root);
702 disk_super->mapping_root = cpu_to_le64(cmd->root);
901 r = dm_array_get_value(&cmd->info, cmd->root, from_cblock(b), &value);
1078 r = dm_array_resize(&cmd->info, cmd->root, from_cblock(cmd->cache_blocks),
1080 &null_mapping, &cmd->root);
1236 r = dm_array_set_value(&cmd->info, cmd->root, from_cbloc
[all...]
/linux-master/fs/affs/
H A Dsuper.c29 static int affs_show_options(struct seq_file *m, struct dentry *root);
176 {Opt_root, "root=%u"},
189 parse_options(char *options, kuid_t *uid, kgid_t *gid, int *mode, int *reserved, s32 *root, argument
200 *root = -1;
252 if (match_int(&args[0], root))
294 static int affs_show_options(struct seq_file *m, struct dentry *root) argument
296 struct super_block *sb = root->d_sb;
314 seq_printf(m, ",root=%u", sbi->s_root_block);
395 /* Try to find root block. Its location depends on the block size. */
412 /* The root bloc
[all...]
/linux-master/fs/romfs/
H A Dsuper.c429 sync_filesystem(fc->root->d_sb);
463 struct inode *root; local
530 /* find the root directory */
533 root = romfs_iget(sb, pos);
534 if (IS_ERR(root))
535 return PTR_ERR(root);
537 sb->s_root = d_make_root(root);
/linux-master/kernel/bpf/
H A Dlpm_trie.c34 struct lpm_trie_node __rcu *root; member in struct:lpm_trie
59 * As the trie is empty initially, the new node (1) will be places as root
146 * The lookup starts at the root node. If the current node matches and if there
245 /* Start walking the trie from the root node ... */
247 for (node = rcu_dereference_check(trie->root, rcu_read_lock_bh_held());
356 * from the root and match as many bits as possible for each node until
360 slot = &trie->root;
375 /* If the slot is empty (a free child pointer or an empty root),
470 trim = &trie->root;
595 /* Always start at the root an
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/core/
H A Dmm.c26 #define node(root, dir) ((root)->nl_entry.dir == &mm->nodes) ? NULL : \
27 list_entry((root)->nl_entry.dir, struct nvkm_mm_node, nl_entry)
/linux-master/arch/sparc/kernel/
H A Dof_device_32.c381 dev_set_name(&op->dev, "root");
411 struct device_node *root = of_find_node_by_path("/"); local
414 parent = scan_one_device(root, NULL);
418 scan_tree(root->child, &parent->dev);
/linux-master/drivers/virt/coco/
H A Dtsm.c396 struct config_group *root = &tsm_configfs.su_group; local
400 config_group_init(root);
405 tsm = configfs_register_default_group(root, "report",
/linux-master/arch/arm/mach-mxs/
H A Dmach-mxs.c382 struct device_node *root; local
394 root = of_find_node_by_path("/");
395 ret = of_property_read_string(root, "model", &soc_dev_attr->machine);
/linux-master/drivers/pci/controller/dwc/
H A Dpcie-al.c32 * devices/functions on the root bus num, so we do this here.
47 struct acpi_pci_root *root = acpi_driver_data(adev); local
60 ret = acpi_get_rc_resources(dev, "AMZN0001", root->segment, res);
63 root->segment);
/linux-master/drivers/usb/common/
H A Dulpi.c279 struct dentry *root; local
304 root = debugfs_create_dir(dev_name(&ulpi->dev), ulpi_root);
305 debugfs_create_file("regs", 0444, root, ulpi, &ulpi_regs_fops);

Completed in 248 milliseconds

<<21222324252627282930>>