Lines Matching refs:search
566 static spa_t search; /* spa_t is large; don't allocate on stack */ in spa_lookup() local
573 (void) strlcpy(search.spa_name, name, sizeof (search.spa_name)); in spa_lookup()
579 cp = strpbrk(search.spa_name, "/@#"); in spa_lookup()
583 spa = avl_find(&spa_namespace_avl, &search, &where); in spa_lookup()
970 spa_aux_t search; in spa_aux_add() local
973 search.aux_guid = vd->vdev_guid; in spa_aux_add()
974 if ((aux = avl_find(avl, &search, &where)) != NULL) { in spa_aux_add()
987 spa_aux_t search; in spa_aux_remove() local
991 search.aux_guid = vd->vdev_guid; in spa_aux_remove()
992 aux = avl_find(avl, &search, &where); in spa_aux_remove()
1007 spa_aux_t search, *found; in spa_aux_exists() local
1009 search.aux_guid = guid; in spa_aux_exists()
1010 found = avl_find(avl, &search, NULL); in spa_aux_exists()
1032 spa_aux_t search, *found; in spa_aux_activate() local
1035 search.aux_guid = vd->vdev_guid; in spa_aux_activate()
1036 found = avl_find(avl, &search, &where); in spa_aux_activate()
1077 spa_aux_t search, *found; in spa_spare_poll() local
1080 search.aux_guid = vd->vdev_guid; in spa_spare_poll()
1083 found = avl_find(&spa_spare_avl, &search, NULL); in spa_spare_poll()