fc_trace_entries 41 drivers/scsi/fnic/fnic_trace.c static fnic_trace_dbg_t fc_trace_entries; fc_trace_entries 578 drivers/scsi/fnic/fnic_trace.c fc_trace_entries.page_offset = fc_trace_entries 581 drivers/scsi/fnic/fnic_trace.c if (!fc_trace_entries.page_offset) { fc_trace_entries 591 drivers/scsi/fnic/fnic_trace.c memset((void *)fc_trace_entries.page_offset, 0, fc_trace_entries 594 drivers/scsi/fnic/fnic_trace.c fc_trace_entries.rd_idx = fc_trace_entries.wr_idx = 0; fc_trace_entries 602 drivers/scsi/fnic/fnic_trace.c fc_trace_entries.page_offset[i] = fc_trace_buf_head; fc_trace_entries 620 drivers/scsi/fnic/fnic_trace.c if (fc_trace_entries.page_offset) { fc_trace_entries 621 drivers/scsi/fnic/fnic_trace.c vfree((void *)fc_trace_entries.page_offset); fc_trace_entries 622 drivers/scsi/fnic/fnic_trace.c fc_trace_entries.page_offset = NULL; fc_trace_entries 662 drivers/scsi/fnic/fnic_trace.c fc_trace_entries.rd_idx = fc_trace_entries.wr_idx = 0; fc_trace_entries 670 drivers/scsi/fnic/fnic_trace.c fc_trace_entries.page_offset[fc_trace_entries.wr_idx]; fc_trace_entries 672 drivers/scsi/fnic/fnic_trace.c fc_trace_entries.wr_idx++; fc_trace_entries 674 drivers/scsi/fnic/fnic_trace.c if (fc_trace_entries.wr_idx >= fc_trace_max_entries) fc_trace_entries 675 drivers/scsi/fnic/fnic_trace.c fc_trace_entries.wr_idx = 0; fc_trace_entries 677 drivers/scsi/fnic/fnic_trace.c if (fc_trace_entries.wr_idx == fc_trace_entries.rd_idx) { fc_trace_entries 678 drivers/scsi/fnic/fnic_trace.c fc_trace_entries.rd_idx++; fc_trace_entries 679 drivers/scsi/fnic/fnic_trace.c if (fc_trace_entries.rd_idx >= fc_trace_max_entries) fc_trace_entries 680 drivers/scsi/fnic/fnic_trace.c fc_trace_entries.rd_idx = 0; fc_trace_entries 737 drivers/scsi/fnic/fnic_trace.c if (fc_trace_entries.wr_idx == fc_trace_entries.rd_idx) { fc_trace_entries 742 drivers/scsi/fnic/fnic_trace.c rd_idx = fc_trace_entries.rd_idx; fc_trace_entries 743 drivers/scsi/fnic/fnic_trace.c wr_idx = fc_trace_entries.wr_idx; fc_trace_entries 753 drivers/scsi/fnic/fnic_trace.c fc_trace_entries.page_offset[rd_idx];