Lines Matching defs:root
23 * \brief Starting at a given root, return the vnode with entry equal to #entry
25 struct vnode *pmap_find_vnode(struct vnode *root, uint16_t entry)
27 assert(root != NULL);
28 assert(root->v.is_vnode);
31 if (root->v.u.vnode.children) {
32 return root->v.u.vnode.children[entry];
38 bool pmap_inside_region(struct vnode *root, uint16_t entry, uint16_t npages)
40 assert(root != NULL);
41 assert(root->v.is_vnode);
43 struct vnode *n = root->v.u.vnode.children[entry];
58 void pmap_remove_vnode(struct vnode *root, struct vnode *item)
60 assert(root->v.is_vnode);
65 root->v.u.vnode.children[item->v.entry+i] = NULL;
109 void pmap_vnode_insert_child(struct vnode *root, struct vnode *newvnode)
115 root->v.u.vnode.children[newvnode->v.entry+i] = newvnode;