Lines Matching refs:new_pkt

203 	response_t *new_pkt;  in __qla_consume_iocb()  local
209 new_pkt = rsp_q->ring_ptr; in __qla_consume_iocb()
210 *pkt = new_pkt; in __qla_consume_iocb()
220 new_pkt->signature = RESPONSE_PROCESSED; in __qla_consume_iocb()
241 sts_cont_entry_t *new_pkt; in __qla_copy_purex_to_buffer() local
280 new_pkt = (sts_cont_entry_t *)rsp_q->ring_ptr; in __qla_copy_purex_to_buffer()
281 *pkt = new_pkt; in __qla_copy_purex_to_buffer()
283 if (new_pkt->entry_type != STATUS_CONT_TYPE) { in __qla_copy_purex_to_buffer()
297 no_bytes = (pending_bytes > sizeof(new_pkt->data)) ? in __qla_copy_purex_to_buffer()
298 sizeof(new_pkt->data) : pending_bytes; in __qla_copy_purex_to_buffer()
300 memcpy((buf + buffer_copy_offset), new_pkt->data, in __qla_copy_purex_to_buffer()
309 memcpy((buf + buffer_copy_offset), new_pkt->data, in __qla_copy_purex_to_buffer()
313 ((response_t *)new_pkt)->signature = RESPONSE_PROCESSED; in __qla_copy_purex_to_buffer()
860 sts_cont_entry_t *new_pkt; in qla27xx_copy_multiple_pkt() local
918 new_pkt = (sts_cont_entry_t *)rsp_q->ring_ptr; in qla27xx_copy_multiple_pkt()
919 *pkt = new_pkt; in qla27xx_copy_multiple_pkt()
921 if (new_pkt->entry_type != STATUS_CONT_TYPE) { in qla27xx_copy_multiple_pkt()
935 no_bytes = (pending_bytes > sizeof(new_pkt->data)) ? in qla27xx_copy_multiple_pkt()
936 sizeof(new_pkt->data) : pending_bytes; in qla27xx_copy_multiple_pkt()
939 new_pkt->data, no_bytes); in qla27xx_copy_multiple_pkt()
948 new_pkt->data, in qla27xx_copy_multiple_pkt()
952 ((response_t *)new_pkt)->signature = RESPONSE_PROCESSED; in qla27xx_copy_multiple_pkt()
1157 sts_cont_entry_t *new_pkt; in qla27xx_copy_fpin_pkt() local
1198 new_pkt = (sts_cont_entry_t *)rsp_q->ring_ptr; in qla27xx_copy_fpin_pkt()
1199 *pkt = new_pkt; in qla27xx_copy_fpin_pkt()
1201 if (new_pkt->entry_type != STATUS_CONT_TYPE) { in qla27xx_copy_fpin_pkt()
1215 no_bytes = (pending_bytes > sizeof(new_pkt->data)) ? in qla27xx_copy_fpin_pkt()
1216 sizeof(new_pkt->data) : pending_bytes; in qla27xx_copy_fpin_pkt()
1219 buffer_copy_offset), new_pkt->data, in qla27xx_copy_fpin_pkt()
1229 buffer_copy_offset), new_pkt->data, in qla27xx_copy_fpin_pkt()
1233 ((response_t *)new_pkt)->signature = RESPONSE_PROCESSED; in qla27xx_copy_fpin_pkt()