Lines Matching refs:node
454 struct rb_node node; member
460 static struct hyp_shared_pfn *find_shared_pfn(u64 pfn, struct rb_node ***node, in find_shared_pfn() argument
465 *node = &hyp_shared_pfns.rb_node; in find_shared_pfn()
467 while (**node) { in find_shared_pfn()
468 this = container_of(**node, struct hyp_shared_pfn, node); in find_shared_pfn()
469 *parent = **node; in find_shared_pfn()
471 *node = &((**node)->rb_left); in find_shared_pfn()
473 *node = &((**node)->rb_right); in find_shared_pfn()
483 struct rb_node **node, *parent; in share_pfn_hyp() local
488 this = find_shared_pfn(pfn, &node, &parent); in share_pfn_hyp()
502 rb_link_node(&this->node, parent, node); in share_pfn_hyp()
503 rb_insert_color(&this->node, &hyp_shared_pfns); in share_pfn_hyp()
513 struct rb_node **node, *parent; in unshare_pfn_hyp() local
518 this = find_shared_pfn(pfn, &node, &parent); in unshare_pfn_hyp()
528 rb_erase(&this->node, &hyp_shared_pfns); in unshare_pfn_hyp()