Home
last modified time | relevance | path

Searched refs:fc_trace_max_entries (Results 1 – 1 of 1) sorted by relevance

/linux-5.19.10/drivers/scsi/fnic/ !
Dfnic_trace.c39 static int fc_trace_max_entries; variable
562 fc_trace_max_entries = (fnic_fc_trace_max_pages * PAGE_SIZE)/ in fnic_fc_trace_init()
579 vmalloc(array_size(fc_trace_max_entries, in fnic_fc_trace_init()
592 (fc_trace_max_entries * sizeof(unsigned long))); in fnic_fc_trace_init()
601 for (i = 0; i < fc_trace_max_entries; i++) { in fnic_fc_trace_init()
674 if (fc_trace_entries.wr_idx >= fc_trace_max_entries) in fnic_fc_trace_set_data()
679 if (fc_trace_entries.rd_idx >= fc_trace_max_entries) in fnic_fc_trace_set_data()
774 if (rd_idx > (fc_trace_max_entries - 1)) in fnic_fc_trace_get_data()