Lines Matching refs:entry

208  * ibmvfc_trc_start - Log a start trace entry
218 struct ibmvfc_trace_entry *entry;
221 entry = &vhost->trace[index];
222 entry->evt = evt;
223 entry->time = jiffies;
224 entry->fmt = evt->crq.format;
225 entry->type = IBMVFC_TRC_START;
227 switch (entry->fmt) {
229 entry->op_code = iu->cdb[0];
230 entry->scsi_id = be64_to_cpu(vfc_cmd->tgt_scsi_id);
231 entry->lun = scsilun_to_int(&iu->lun);
232 entry->tmf_flags = iu->tmf_flags;
233 entry->u.start.xfer_len = be32_to_cpu(iu->xfer_len);
236 entry->op_code = be32_to_cpu(mad->opcode);
244 * ibmvfc_trc_end - Log an end trace entry
255 struct ibmvfc_trace_entry *entry;
258 entry = &vhost->trace[index];
259 entry->evt = evt;
260 entry->time = jiffies;
261 entry->fmt = evt->crq.format;
262 entry->type = IBMVFC_TRC_END;
264 switch (entry->fmt) {
266 entry->op_code = iu->cdb[0];
267 entry->scsi_id = be64_to_cpu(vfc_cmd->tgt_scsi_id);
268 entry->lun = scsilun_to_int(&iu->lun);
269 entry->tmf_flags = iu->tmf_flags;
270 entry->u.end.status = be16_to_cpu(vfc_cmd->status);
271 entry->u.end.error = be16_to_cpu(vfc_cmd->error);
272 entry->u.end.fcp_rsp_flags = rsp->flags;
273 entry->u.end.rsp_code = rsp->data.info.rsp_code;
274 entry->u.end.scsi_status = rsp->scsi_status;
277 entry->op_code = be32_to_cpu(mad->opcode);
278 entry->u.end.status = be16_to_cpu(mad->status);
3679 * ibmvfc_next_async_crq - Returns the next entry in async queue
3683 * Pointer to next entry in queue / NULL if empty
3702 * ibmvfc_next_crq - Returns the next entry in message queue
3706 * Pointer to next entry in queue / NULL if empty
6222 * ibmvfc_probe - Adapter hot plug add entry point
6333 * ibmvfc_remove - Adapter hot plug remove entry point