Lines Matching refs:version_buffer
403 struct ifp_fm_version *version_buffer = NULL; in q_findversion() local
417 if ((version_buffer = (struct ifp_fm_version *)malloc( in q_findversion()
425 version_buffer->fcode_ver = (char *)version; in q_findversion()
426 version_buffer->mcode_ver = mcode_ver; in q_findversion()
427 version_buffer->prom_ver = prom_ver; in q_findversion()
428 version_buffer->fcode_ver_len = MAXNAMELEN - 1; in q_findversion()
429 version_buffer->mcode_ver_len = 100; in q_findversion()
430 version_buffer->prom_ver_len = 100; in q_findversion()
432 if (ioctl(fd, FCIO_FCODE_MCODE_VERSION, version_buffer) < 0) { in q_findversion()
435 free(version_buffer); in q_findversion()
439 version[version_buffer->fcode_ver_len] = '\0'; in q_findversion()
448 free(version_buffer); in q_findversion()