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