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

<<21222324252627282930>>

/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/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);
H A Dsch_fq.c258 struct rb_root *root,
266 p = &root->rb_node;
292 rb_erase(&f->fq_node, root);
353 struct rb_root *root; local
395 root = &q->fq_root[hash_ptr(sk, q->fq_trees_log)];
397 fq_gc(q, root, sk);
399 p = &root->rb_node;
448 rb_insert_color(&f->fq_node, root);
783 struct rb_root *root; local
797 root
257 fq_gc(struct fq_sched_data *q, struct rb_root *root, struct sock *sk) argument
[all...]
/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/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/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);
/linux-master/fs/overlayfs/
H A Dsuper.c834 /* Verify lower root is upper root origin */
837 pr_err("failed to verify upper root origin\n");
857 * Verify upper root is exclusively associated with index dir.
1031 * Check if lower root conflicts with this overlay layers before
1149 /* Data-only layers are not merged in root directory */
1167 * Check if this layer root is a descendant of:
1183 /* Walk back ancestors to root (inclusive) looking for traps */
1243 struct dentry *root; local
1253 root
[all...]
/linux-master/tools/testing/selftests/bpf/
H A Dbpf_experimental.h103 * Remove 'node' from rbtree with root 'root'
105 * Pointer to the removed node, or NULL if 'root' didn't contain 'node'
107 extern struct bpf_rb_node *bpf_rbtree_remove(struct bpf_rb_root *root,
111 * Add 'node' to rbtree with root 'root' using comparator 'less'
119 extern int bpf_rbtree_add_impl(struct bpf_rb_root *root, struct bpf_rb_node *node,
132 extern struct bpf_rb_node *bpf_rbtree_first(struct bpf_rb_root *root) __ksym;
/linux-master/fs/nfs/
H A Dsuper.c20 * - directory type roots are spliced into the tree when a path from one root reaches the root
563 int nfs_show_options(struct seq_file *m, struct dentry *root) argument
565 struct nfs_server *nfss = NFS_SB(root->d_sb);
632 int nfs_show_devname(struct seq_file *m, struct dentry *root) argument
639 devname = nfs_path(&dummy, root, page, PAGE_SIZE, 0);
659 int nfs_show_stats(struct seq_file *m, struct dentry *root) argument
662 struct nfs_server *nfss = NFS_SB(root->d_sb);
672 seq_puts(m, sb_rdonly(root->d_sb) ? "ro" : "rw");
673 seq_puts(m, root
[all...]

Completed in 433 milliseconds

<<21222324252627282930>>