Searched refs:vid (Results 1 – 1 of 1) sorted by relevance
47 struct volume_id *vid; in get_label_uuid() local50 vid = volume_id_open_node(fd); in get_label_uuid()55 if (volume_id_probe_all(vid, /*0,*/ size) != 0) in get_label_uuid()58 if (vid->label[0] != '\0' || vid->uuid[0] != '\0' in get_label_uuid()60 || vid->type != NULL in get_label_uuid()63 *label = xstrndup(vid->label, sizeof(vid->label)); in get_label_uuid()64 *uuid = xstrndup(vid->uuid, sizeof(vid->uuid)); in get_label_uuid()66 *type = vid->type; in get_label_uuid()74 free_volume_id(vid); /* also closes fd */ in get_label_uuid()