Searched refs:lident (Results 1 – 1 of 1) sorted by relevance
181 char lident[DISK_IDENT_SIZE]; in g_get_ident() local183 if (g_ioctl_arg(fd, DIOCGIDENT, lident) == -1) in g_get_ident()185 if (lident[0] == '\0') { in g_get_ident()189 if (strlcpy(ident, lident, size) >= size) { in g_get_ident()217 char lident[DISK_IDENT_SIZE]; in g_open_by_ident() local239 if (g_get_ident(fd, lident, in g_open_by_ident()240 sizeof(lident)) == -1) { in g_open_by_ident()244 if (strcmp(ident, lident) != 0) { in g_open_by_ident()