Lines Matching refs:tail
291 g_qdf_trace_data.tail = INVALID_QDF_TRACE_ADDR; in qdf_trace_init()
309 g_qdf_trace_data.tail = INVALID_QDF_TRACE_ADDR; in qdf_trace_deinit()
343 g_qdf_trace_data.tail = 0; in qdf_trace()
346 uint32_t tail = g_qdf_trace_data.tail + 1; in qdf_trace() local
348 if (MAX_QDF_TRACE_RECORDS == tail) in qdf_trace()
349 tail = 0; in qdf_trace()
351 if (g_qdf_trace_data.head == tail) { in qdf_trace()
356 g_qdf_trace_data.tail = tail; in qdf_trace()
359 rec = &g_qdf_trace_tbl[g_qdf_trace_data.tail]; in qdf_trace()
417 int32_t i, tail; in qdf_trace_dump_all() local
428 g_qdf_trace_data.tail); in qdf_trace_dump_all()
437 tail = g_qdf_trace_data.tail; in qdf_trace_dump_all()
442 if (tail >= (count - 1)) in qdf_trace_dump_all()
443 i = tail - count + 1; in qdf_trace_dump_all()
446 tail); in qdf_trace_dump_all()
477 if (i == tail) in qdf_trace_dump_all()
1263 g_qdf_dp_trace_data.tail = 0; in qdf_dp_add_record()
1266 g_qdf_dp_trace_data.tail++; in qdf_dp_add_record()
1268 if (MAX_QDF_DP_TRACE_RECORDS == g_qdf_dp_trace_data.tail) in qdf_dp_add_record()
1269 g_qdf_dp_trace_data.tail = 0; in qdf_dp_add_record()
1271 if (g_qdf_dp_trace_data.head == g_qdf_dp_trace_data.tail) { in qdf_dp_add_record()
1279 rec = &g_qdf_dp_trace_tbl[g_qdf_dp_trace_data.tail]; in qdf_dp_add_record()
1280 index = g_qdf_dp_trace_data.tail; in qdf_dp_add_record()
2667 g_qdf_dp_trace_data.tail = INVALID_QDF_DP_TRACE_ADDR; in qdf_dp_trace_clear_buffer()
2882 uint32_t tail; in qdf_dpt_get_curr_pos_debugfs() local
2937 g_qdf_dp_trace_data.tail); in qdf_dpt_get_curr_pos_debugfs()
2942 tail = g_qdf_dp_trace_data.tail; in qdf_dpt_get_curr_pos_debugfs()
2947 if (tail >= (count - 1)) in qdf_dpt_get_curr_pos_debugfs()
2948 i = tail - count + 1; in qdf_dpt_get_curr_pos_debugfs()
2951 tail); in qdf_dpt_get_curr_pos_debugfs()
2953 g_qdf_dp_trace_data.saved_tail = tail; in qdf_dpt_get_curr_pos_debugfs()
3107 int32_t i, tail; in qdf_dp_trace_dump_all() local
3127 g_qdf_dp_trace_data.tail); in qdf_dp_trace_dump_all()
3136 tail = g_qdf_dp_trace_data.tail; in qdf_dp_trace_dump_all()
3141 if (tail >= (count - 1)) in qdf_dp_trace_dump_all()
3142 i = tail - count + 1; in qdf_dp_trace_dump_all()
3145 tail); in qdf_dp_trace_dump_all()
3153 if (i == tail) in qdf_dp_trace_dump_all()