Lines Matching refs:dv_buffer
2589 if (targ->dv_buffer != NULL) {
2590 free(targ->dv_buffer, M_DEVBUF);
2591 targ->dv_buffer = NULL;
2665 if (memcmp(targ->inq_data, targ->dv_buffer,
2731 if (memcmp(targ->inq_data, targ->dv_buffer,
2747 targ->dv_buffer[i]);
2872 echo_size = scsi_3btoul(&targ->dv_buffer[1]);
2969 if (memcmp(targ->dv_buffer, targ->dv_buffer1,
2980 if (targ->dv_buffer != NULL) {
2981 free(targ->dv_buffer, M_DEVBUF);
2982 targ->dv_buffer = NULL;
3107 if (targ->dv_buffer != NULL)
3108 free(targ->dv_buffer, M_DEVBUF);
3109 targ->dv_buffer = malloc(AHC_LINUX_DV_INQ_LEN,
3120 cmd->request_buffer = targ->dv_buffer;
3157 if (targ->dv_buffer != NULL)
3158 free(targ->dv_buffer, M_DEVBUF);
3159 targ->dv_buffer = malloc(AHC_REBD_LEN, M_DEVBUF, M_WAITOK);
3168 cmd->request_buffer = targ->dv_buffer;
3190 cmd->request_buffer = targ->dv_buffer;
3503 if (targ->dv_buffer != NULL)
3504 free(targ->dv_buffer, M_DEVBUF);
3505 targ->dv_buffer = malloc(targ->dv_echo_size, M_DEVBUF, M_WAITOK);
3517 targ->dv_buffer[i++] = j & 0xff;
3522 targ->dv_buffer[i++] = (j & 0x02) ? 0xff : 0x00;
3527 targ->dv_buffer[i++] = (j & 0x02) ? 0xaa : 0x55;
3538 targ->dv_buffer[i++] = ~(b >> 8) & 0xff;
3543 targ->dv_buffer[i++] = (~b & 0xff);
3546 targ->dv_buffer[i++] = 0xff;
3951 if (targ->dv_buffer != NULL)
3952 free(targ->dv_buffer, M_DEVBUF);