Home
last modified time | relevance | path

Searched refs:vid (Results 1 – 1 of 1) sorted by relevance

/busybox-1.35.0/util-linux/volume_id/
Dget_devname.c47 struct volume_id *vid; in get_label_uuid() local
50 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()