Home
last modified time | relevance | path

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

/freebsd/sys/dev/ocs_fc/
H A Docs_utils.c963 if (q_hist->q_hist != NULL) { in ocs_queue_history_init()
971 if (q_hist->q_hist == NULL) { in ocs_queue_history_init()
993 if (q_hist->q_hist != NULL) { in ocs_queue_history_free()
994 ocs_free(ocs, q_hist->q_hist, sizeof(*q_hist->q_hist)*OCS_Q_HIST_SIZE); in ocs_queue_history_free()
996 q_hist->q_hist = NULL; in ocs_queue_history_free()
1056 q_hist->q_hist[q_hist->q_hist_index] = entryw[i]; in ocs_queue_history_wq()
1068 q_hist->q_hist[q_hist->q_hist_index] = ftr.word; in ocs_queue_history_wq()
1103 q_hist->q_hist[q_hist->q_hist_index] = entryw[i]; in ocs_queue_history_misc()
1114 q_hist->q_hist[q_hist->q_hist_index] = ftr.word; in ocs_queue_history_misc()
1164 q_hist->q_hist[q_hist->q_hist_index] = entryw[i]; in ocs_queue_history_cqe()
[all …]
H A Docs_ddump.c313 if (q_hist->q_hist == NULL) { in ocs_ddump_queue_history()
325 ocs_lock(&q_hist->q_hist_lock); in ocs_ddump_queue_history()
333 ftr.word = q_hist->q_hist[x]; in ocs_ddump_queue_history()
349 tsc_value = ((q_hist->q_hist[x]) & 0x00000000FFFFFFFFull); in ocs_ddump_queue_history()
351 tsc_value |= (((uint64_t)q_hist->q_hist[x] << 32) & 0xFFFFFFFF00000000ull); in ocs_ddump_queue_history()
361 ((q_hist->q_hist[x] >> 16) & 0xFFFF), in ocs_ddump_queue_history()
362 ((q_hist->q_hist[x] >> 0) & 0xFFFF)); in ocs_ddump_queue_history()
367 if ((mask & 1) && (x != q_hist->q_hist_index)){ in ocs_ddump_queue_history()
371 i, q_hist->q_hist[x]); in ocs_ddump_queue_history()
380 ocs_unlock(&q_hist->q_hist_lock); in ocs_ddump_queue_history()
[all …]
H A Docs_utils.h215 uint32_t *q_hist; member
H A Docs_hw.h1055 ocs_hw_q_hist_t q_hist; member
H A Docs_hw.c910 ocs_queue_history_init(hw->os, &hw->q_hist); in ocs_hw_init()
1293 ocs_queue_history_free(&hw->q_hist); in ocs_hw_teardown()
3615 ocs_queue_history_wq(&wq->hw->q_hist, (void *) wqe->wqebuf, wq->queue->id, queue_rc); in _hw_wq_write()
8543 …ocs_queue_history_cqe(&hw->q_hist, SLI_QENTRY_WQ, (void *)cqe, ((sli4_fc_wcqe_t *)cqe)->status, cq… in ocs_hw_wq_process()
8923 ocs_queue_history_cqe(&hw->q_hist, SLI_QENTRY_XABT, (void *)cqe, 0, cq->queue->id, in ocs_hw_xabt_process()