Lines Matching refs:vid
33 struct volume_id *vid;
35 /* fd is owned by vid now */
36 vid = volume_id_open_node(fd);
38 if (ioctl(/*vid->*/fd, BLKGETSIZE64, &size) != 0)
41 if (volume_id_probe_all(vid, /*0,*/ size) != 0)
44 if (vid->label[0] != '\0' || vid->uuid[0] != '\0') {
45 *label = xstrndup(vid->label, sizeof(vid->label));
46 *uuid = xstrndup(vid->uuid, sizeof(vid->uuid));
51 free_volume_id(vid); /* also closes fd */