veb
static struct veb *veb;
list_insert_tail(&veb->veb_ents, vebe);
if (veb == NULL) {
if (!veb->veb_scanned) {
veb->veb_scanned = B_TRUE;
for (struct veb_ent *vebe = list_head(&veb->veb_ents); vebe != NULL;
vebe = list_next(&veb->veb_ents, vebe)) {
if (veb != NULL) {
force_path = veb->veb_force_path;
VERIFY3P(veb, ==, NULL);
veb = kmem_zalloc(sizeof (*veb), KM_SLEEP);
list_create(&veb->veb_ents, sizeof (struct veb_ent),
veb->veb_scanned = B_FALSE;
veb->veb_force_path = spa_strdup(force_path);
if (veb != NULL) {
while (!list_is_empty(&veb->veb_ents)) {
struct veb_ent *vebe = list_remove_head(&veb->veb_ents);
if (veb->veb_force_path != NULL) {
spa_strfree(veb->veb_force_path);
kmem_free(veb, sizeof (*veb));
veb = NULL;