/u-boot/fs/btrfs/common/ |
A D | rbtree-utils.c | 22 int rb_insert(struct rb_root *root, struct rb_node *node, in rb_insert() argument 25 struct rb_node **p = &root->rb_node; in rb_insert() 42 rb_insert_color(node, root); in rb_insert() 46 struct rb_node *rb_search(struct rb_root *root, void *key, rb_compare_keys comp, in rb_search() argument 49 struct rb_node *n = root->rb_node; in rb_search() 75 void rb_free_nodes(struct rb_root *root, rb_free_node free_node) in rb_free_nodes() argument 79 while ((node = rb_first(root))) { in rb_free_nodes() 80 rb_erase(node, root); in rb_free_nodes()
|
A D | rbtree-utils.h | 33 int rb_insert(struct rb_root *root, struct rb_node *node, 39 struct rb_node *rb_search(struct rb_root *root, void *key, rb_compare_keys comp, 41 void rb_free_nodes(struct rb_root *root, rb_free_node free_node); 44 static void free_##name##_tree(struct rb_root *root) \ 46 rb_free_nodes(root, free_func); \
|
/u-boot/fs/btrfs/ |
A D | disk-io.c | 585 memset(&root->root_key, 0, sizeof(root->root_key)); in btrfs_setup_root() 586 memset(&root->root_item, 0, sizeof(root->root_item)); in btrfs_setup_root() 599 &root->root_item, &root->root_key); in find_and_setup_root() 616 kfree(root); in btrfs_free_fs_root() 640 root = calloc(1, sizeof(*root)); in btrfs_read_fs_root_no_cache() 641 if (!root) in btrfs_read_fs_root_no_cache() 658 free(root); in btrfs_read_fs_root_no_cache() 683 free(root); in btrfs_read_fs_root_no_cache() 690 free(root); in btrfs_read_fs_root_no_cache() 695 return root; in btrfs_read_fs_root_no_cache() [all …]
|
A D | subvolume.c | 47 ret = btrfs_previous_item(root, &path, cur, in get_path_in_subvol() 85 u64 cur = root->root_key.objectid; in list_one_subvol() 139 if (IS_ERR(root)) { in list_one_subvol() 140 ret = PTR_ERR(root); in list_one_subvol() 161 struct btrfs_root *root; in list_subvolums() local 174 root = fs_info->fs_root; in list_subvolums() 176 root->root_key.objectid, btrfs_root_generation(&root->root_item), in list_subvolums() 198 if (IS_ERR(root)) { in list_subvolums() 199 ret = PTR_ERR(root); in list_subvolums() 203 ret = list_one_subvol(root, result); in list_subvolums() [all …]
|
A D | dir-item.c | 11 static int verify_dir_item(struct btrfs_root *root, in verify_dir_item() argument 30 BTRFS_MAX_XATTR_SIZE(root->fs_info)) { in verify_dir_item() 54 if (verify_dir_item(root, leaf, dir_item)) in btrfs_match_dir_item_name() 80 struct btrfs_root *root, in btrfs_lookup_dir_item() argument 114 return btrfs_match_dir_item_name(root, path, name, name_len); in btrfs_lookup_dir_item() 117 int btrfs_iter_dir(struct btrfs_root *root, u64 ino, in btrfs_iter_dir() argument 129 ret = btrfs_search_slot(NULL, root, &key, &path, 0, 0); in btrfs_iter_dir() 138 ret = btrfs_next_leaf(root, &path); in btrfs_iter_dir() 154 if (verify_dir_item(root, path.nodes[0], di)) { in btrfs_iter_dir() 158 ret = callback(root, path.nodes[0], di); in btrfs_iter_dir() [all …]
|
A D | inode.c | 56 root->fs_info->sectorsize) { in btrfs_readlink() 74 struct btrfs_root *root = fs_info->tree_root; in lookup_root_ref() local 173 *root_ret = root; in get_parent_inode() 260 root = fs_info->fs_root; in btrfs_lookup_path() 261 ino = btrfs_root_dirid(&root->root_item); in btrfs_lookup_path() 283 root = next_root; in btrfs_lookup_path() 301 root = next_root; in btrfs_lookup_path() 327 root = next_root; in btrfs_lookup_path() 343 *root_ret = root; in btrfs_lookup_path() 568 ret = btrfs_next_item(root, path); in lookup_data_extent() [all …]
|
A D | btrfs.c | 21 struct btrfs_fs_info *fs_info = root->fs_info; in show_dir() 85 ret = btrfs_readlink(root, key.objectid, target); in show_dir() 137 struct btrfs_root *root = fs_info->fs_root; in btrfs_ls() local 144 path, &root, &ino, &type, 40); in btrfs_ls() 154 ret = btrfs_iter_dir(root, ino, show_dir); in btrfs_ls() 165 struct btrfs_root *root; in btrfs_exists() local 173 file, &root, &ino, &type, 40); in btrfs_exists() 186 struct btrfs_root *root; in btrfs_size() local 194 file, &root, &ino, &type, 40); in btrfs_size() 230 struct btrfs_root *root; in btrfs_read() local [all …]
|
A D | extent-cache.c | 85 tree->root = RB_ROOT; in cache_tree_init() 118 return rb_insert(&tree->root, &pe->rb_node, cache_tree_comp_nodes); in insert_cache_extent() 123 return rb_insert(&tree->root, &pe->rb_node, cache_tree_comp_nodes2); in insert_cache_extent2() 135 node = rb_search(&tree->root, &range, cache_tree_comp_range, NULL); in lookup_cache_extent() 153 node = rb_search(&tree->root, &range, cache_tree_comp_range2, NULL); in lookup_cache_extent2() 170 node = rb_search(&tree->root, &range, cache_tree_comp_range, &next); in search_cache_extent() 191 node = rb_search(&tree->root, &range, cache_tree_comp_range2, &next); in search_cache_extent2() 203 struct rb_node *node = rb_first(&tree->root); in first_cache_extent() 212 struct rb_node *node = rb_last(&tree->root); in last_cache_extent() 239 rb_erase(&pe->rb_node, &tree->root); in remove_cache_extent()
|
A D | btrfs.h | 21 int btrfs_readlink(struct btrfs_root *root, u64 ino, char *target); 22 int btrfs_file_read(struct btrfs_root *root, u64 ino, u64 file_offset, u64 len,
|
/u-boot/lib/ |
A D | rbtree.c | 54 struct rb_root *root, int color) in __rb_rotate_set_parents() argument 59 __rb_change_child(old, new, parent, root); in __rb_rotate_set_parents() 295 __rb_rotate_set_parents(parent, sibling, root, in ____rb_erase_color() 378 __rb_insert(node, root, dummy_rotate); in rb_insert_color() 401 __rb_insert(node, root, augment_rotate); in __rb_insert_augmented() 412 n = root->rb_node; in rb_first() 425 n = root->rb_node; in rb_last() 496 struct rb_root *root) in rb_replace_node() argument 501 __rb_change_child(victim, new, parent, root); in rb_replace_node() 545 if (!root->rb_node) in rb_first_postorder() [all …]
|
/u-boot/lib/zlib/ |
A D | inftrees.c | 39 unsigned root; /* number of index bits for root table */ in inflate_table() local 109 root = *bits; in inflate_table() 112 if (root > max) root = max; in inflate_table() 124 if (root < min) root = min; in inflate_table() 199 curr = root; /* current table index bits */ in inflate_table() 202 used = 1U << root; /* use root table entries */ in inflate_table() 253 if (len > root && (huff & mask) != low) { in inflate_table() 256 drop = root; in inflate_table() 279 (*table)[low].bits = (unsigned char)root; in inflate_table() 298 len = root; in inflate_table() [all …]
|
/u-boot/include/linux/ |
A D | rbtree_augmented.h | 34 rb_insert_augmented(struct rb_node *node, struct rb_root *root, in rb_insert_augmented() argument 37 __rb_insert_augmented(node, root, augment->rotate); in rb_insert_augmented() 99 struct rb_node *parent, struct rb_root *root) in __rb_change_child() argument 107 root->rb_node = new; in __rb_change_child() 114 __rb_erase_augmented(struct rb_node *node, struct rb_root *root, in __rb_erase_augmented() argument 131 __rb_change_child(node, child, parent, root); in __rb_erase_augmented() 142 __rb_change_child(node, tmp, parent, root); in __rb_erase_augmented() 193 __rb_change_child(node, successor, tmp, root); in __rb_erase_augmented() 211 rb_erase_augmented(struct rb_node *node, struct rb_root *root, in rb_erase_augmented() argument 214 struct rb_node *rebalance = __rb_erase_augmented(node, root, augment); in rb_erase_augmented() [all …]
|
A D | rbtree.h | 41 #define RB_EMPTY_ROOT(root) ((root)->rb_node == NULL) argument 66 struct rb_root *root); 91 #define rbtree_postorder_for_each_entry_safe(pos, n, root, field) \ argument 92 for (pos = rb_entry_safe(rb_first_postorder(root), typeof(*pos), field); \
|
/u-boot/test/py/tests/ |
A D | vboot_forge.py | 236 return root, strblock 279 def compose_structs(root): argument 283 t = compose_structs_r(root) 297 def write_fdt(root, strblock, fp): argument 375 def manipulate(root, strblock): argument 380 kernel_node = root[0][0] 396 fake_conf = root[1][0].clone() 404 return root, strblock 411 pretty_print(root, strblock) 413 root, strblock = manipulate(root, strblock) [all …]
|
/u-boot/drivers/mtd/ubi/ |
A D | wl.h | 4 static int anchor_pebs_avalible(struct rb_root *root); 10 static struct ubi_wl_entry *find_anchor_wl_entry(struct rb_root *root); 23 struct rb_root *root); 30 struct rb_root *root) { in may_reserve_for_fm() argument
|
/u-boot/board/warp7/ |
A D | Kconfig | 10 int "Partition number to use for root filesystem" 13 The partition number to use for root filesystem this is the 14 partition that is typically specified with root=/dev/sdaX or 15 which gets converted into a root=PARTUUID=some_uuid.
|
/u-boot/board/st/stm32mp1/ |
A D | extlinux.conf | 8 APPEND root=/dev/mmcblk0p6 rootwait rw earlyprintk console=ttyS3,115200 12 APPEND root=/dev/mmcblk0p6 rootwait rw earlyprintk console=ttyS3,115200 16 APPEND root=/dev/mmcblk0p6 rootwait rw earlyprintk console=ttyS3,115200 20 APPEND root=/dev/mmcblk0p6 rootwait rw earlyprintk console=ttyS3,115200
|
/u-boot/lib/efi_selftest/ |
A D | dtbdump.c | 292 struct efi_file_handle *root = NULL, *file = NULL; in do_load() local 314 ret = file_system->open_volume(file_system, &root); in do_load() 321 ret = root->open(root, &file, filename, EFI_FILE_MODE_READ, 0); in do_load() 411 if (root) { in do_load() 412 ret2 = root->close(root); in do_load() 429 struct efi_file_handle *root, *file; in do_save() local 451 ret = file_system->open_volume(file_system, &root); in do_save() 457 ret = root->open(root, &file, filename, EFI_FILE_MODE_READ, 0); in do_save() 464 root->close(root); in do_save() 471 ret = root->open(root, &file, filename, in do_save() [all …]
|
A D | initrddump.c | 328 struct efi_file_handle *root, *file; in do_save() local 358 ret = file_system->open_volume(file_system, &root); in do_save() 364 ret = root->open(root, &file, filename, EFI_FILE_MODE_READ, 0); in do_save() 371 root->close(root); in do_save() 378 ret = root->open(root, &file, filename, in do_save() 394 root->close(root); in do_save()
|
A D | efi_selftest_block_device.c | 306 struct efi_file_handle *root, *file; in execute() local 386 ret = file_system->open_volume(file_system, &root); in execute() 392 ret = root->getinfo(root, &guid_file_system_info, &buf_size, in execute() 410 ret = root->open(root, &file, L"hello.txt", EFI_FILE_MODE_READ, in execute() 454 ret = root->open(root, &file, L"u-boot.txt", EFI_FILE_MODE_READ | in execute() 486 ret = root->open(root, &file, L"u-boot.txt", EFI_FILE_MODE_READ, in execute() 517 ret = root->close(root); in execute()
|
/u-boot/cmd/ |
A D | clk.c | 57 struct udevice *root; in soc_clk_dump() local 59 root = dm_root(); in soc_clk_dump() 60 if (root) { in soc_clk_dump() 63 show_clks(root, -1, 0); in soc_clk_dump()
|
/u-boot/fs/cramfs/ |
A D | cramfs.c | 84 if (!S_ISDIR (CRAMFS_16 (super.root.mode))) { in cramfs_read_super() 88 root_offset = CRAMFS_GET_OFFSET (&(super.root)) << 2; in cramfs_read_super() 246 CRAMFS_GET_OFFSET (&(super.root)) << 2, in cramfs_load() 247 CRAMFS_24 (super.root.size), 0, in cramfs_load() 308 offset = CRAMFS_GET_OFFSET (&(super.root)) << 2; in cramfs_ls() 309 size = CRAMFS_24 (super.root.size); in cramfs_ls() 313 CRAMFS_GET_OFFSET (&(super.root)) << in cramfs_ls() 314 2, CRAMFS_24 (super.root.size), 1, in cramfs_ls()
|
/u-boot/arch/arm/dts/ |
A D | ethernut5.dts | 16 bootargs = "console=ttyS0,115200 root=/dev/mtdblock0 rw rootfstype=jffs2"; 69 root@0 { 70 label = "root";
|
/u-boot/arch/arm/mach-imx/mx7/ |
A D | clock_slice.c | 425 reg = __raw_readl(&imx_ccm->root[clock_id].target_root); in clock_set_src() 428 __raw_writel(reg, &imx_ccm->root[clock_id].target_root); in clock_set_src() 443 val = __raw_readl(&imx_ccm->root[clock_id].target_root); in clock_get_src() 481 reg = __raw_readl(&imx_ccm->root[clock_id].target_root); in clock_set_prediv() 484 __raw_writel(reg, &imx_ccm->root[clock_id].target_root); in clock_set_prediv() 511 val = __raw_readl(&imx_ccm->root[clock_id].target_root); in clock_get_prediv() 540 reg = __raw_readl(&imx_ccm->root[clock_id].target_root); in clock_set_postdiv() 543 __raw_writel(reg, &imx_ccm->root[clock_id].target_root); in clock_set_postdiv() 560 val = __raw_readl(&imx_ccm->root[clock_id].target_root); in clock_get_postdiv() 596 val = __raw_readl(&imx_ccm->root[clock_id].target_root); in clock_set_autopostdiv() [all …]
|
/u-boot/drivers/core/ |
A D | dump.c | 50 struct udevice *root; in dm_dump_all() local 52 root = dm_root(); in dm_dump_all() 53 if (root) { in dm_dump_all() 56 show_devices(root, -1, 0); in dm_dump_all()
|