Searched defs:tree (Results 1 - 1 of 1) sorted by relevance

/lxc/src/lxc/bdev/
H A Dlxcbtrfs.c451 static int get_btrfs_tree_idx(struct my_btrfs_tree *tree, u64 id) argument
454 if (!tree)
456 for (i = 0; i < tree->num; i++) {
457 if (tree->nodes[i].objid == id)
466 struct my_btrfs_tree *tree; local
468 tree = malloc(sizeof(struct my_btrfs_tree));
469 if (!tree)
471 tree->nodes = malloc(sizeof(struct mytree_node));
472 if (!tree->nodes) {
473 free(tree);
514 add_btrfs_tree_node(struct my_btrfs_tree *tree, u64 id, u64 parent, char *name, int name_len, char *dirname) argument
536 free_btrfs_tree(struct my_btrfs_tree *tree) argument
553 do_remove_btrfs_children(struct my_btrfs_tree *tree, u64 root_id, const char *path) argument
597 struct my_btrfs_tree *tree; local
[all...]

Completed in 14 milliseconds