Lines Matching refs:fc_trc_flag
28 static struct fc_trace_flag_type *fc_trc_flag; variable
47 fc_trc_flag = vmalloc(sizeof(struct fc_trace_flag_type)); in fnic_debugfs_init()
49 if (fc_trc_flag) { in fnic_debugfs_init()
50 fc_trc_flag->fc_row_file = 0; in fnic_debugfs_init()
51 fc_trc_flag->fc_normal_file = 1; in fnic_debugfs_init()
52 fc_trc_flag->fnic_trace = 2; in fnic_debugfs_init()
53 fc_trc_flag->fc_trace = 3; in fnic_debugfs_init()
54 fc_trc_flag->fc_clear = 4; in fnic_debugfs_init()
76 vfree(fc_trc_flag); in fnic_debugfs_terminate()
107 if (*trace_type == fc_trc_flag->fnic_trace) in fnic_trace_ctrl_read()
109 else if (*trace_type == fc_trc_flag->fc_trace) in fnic_trace_ctrl_read()
111 else if (*trace_type == fc_trc_flag->fc_clear) in fnic_trace_ctrl_read()
158 if (*trace_type == fc_trc_flag->fnic_trace) in fnic_trace_ctrl_write()
160 else if (*trace_type == fc_trc_flag->fc_trace) in fnic_trace_ctrl_write()
162 else if (*trace_type == fc_trc_flag->fc_clear) in fnic_trace_ctrl_write()
204 if (*rdata_ptr == fc_trc_flag->fnic_trace) { in fnic_trace_debugfs_open()
329 &(fc_trc_flag->fnic_trace), in fnic_trace_debugfs_init()
335 &(fc_trc_flag->fnic_trace), in fnic_trace_debugfs_init()
372 &(fc_trc_flag->fc_trace), in fnic_fc_trace_debugfs_init()
378 &(fc_trc_flag->fc_clear), in fnic_fc_trace_debugfs_init()
385 &(fc_trc_flag->fc_normal_file), in fnic_fc_trace_debugfs_init()
392 &(fc_trc_flag->fc_row_file), in fnic_fc_trace_debugfs_init()